Skip to content

unclosed paren in adfvalues #4451

Closed

Description

@jbrockmendel

https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/adfvalues.py#L103

# the left tail approximation is
# p = norm.cdf(d_0 + d_1*log(abs(z)) + d_2*log(abs(z))**2 + d_3*log(abs(z))**3
# there is no Z-min, ie., it is well-behaved in the left tail

please advise.

Activity

  1. jbrockmendel commented on Apr 9, 2018

    @jbrockmendel
    ContributorAuthor

    There's also a commented-out line of code that should be either documented or deleted:
    https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/adfvalues.py#L213

        if teststat <= starstat[N-1]:
            tau_coef = eval("tau_" + regression + "_smallp["+str(N-1)+"]")
    #        teststat = np.log(np.abs(teststat))
    #above is only for z stats
        else:
    
  2. added 3 commits that reference this issue on May 14, 2019
    eba61bb
    e840567
    5aeb04f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions