Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • r(2000) with all numeric observations

    Hi i am trying to run a time series analysis in Stata 12.0 but the r(2000) is the only thing get!!

    i searched in many forums and nothing is helping.

    my variable is not a string and has no missing values here it is


    . describe(p1)

    storage display value
    variable name type format label variable label
    -----------------------------------------------------------------------------------------
    p1 double %10.0g p1

    . sum(p1)

    Variable | Obs Mean Std. Dev. Min Max
    -------------+--------------------------------------------------------
    p1 | 145 5.165996 .4178336 4.531062 6.009164

    . count if missing(p1)
    0

    . count if !missing(p1)
    145


    . destring p1, replace
    p1 already numeric; no replace

    . tsset data1, daily
    time variable: data1, Dec-94 to Dec-06, but with gaps
    delta: 1 day

    . dfuller p1, lags(1)
    no observations
    r(2000);

    I guess the problem is the original data from excel, all the Stata examples work fine, only my data does not.
    and i do not know the difference between count missing and !missing.

    Thanks to anyone who help.


  • #2
    Answered within http://www.statalist.org/forums/foru...c-observations

    Comment

    Working...
    X