hello
i have variable for time like this :
Day (variable name)
2011/12/01
2011/12/02
2011/12/03
.
.
2019/01/29
i want to convert this string variable to time for xtset
so, i did typing
gen Day2 = date(Day,"ymd")
but, i can't get any values
only get " . " in all cellArray
what is problem?
Related Posts with why i can't convert from yyyy/mm/dd to time
Graph: Large gap between xlabel and legendHi I am trying to make a graph similar to this one: Code: sysuse auto, clear gen xvar = _n keep if…
Problem with two merged datasets: time series and panel data relatedHi all, I am new to statalist, and relatively new to stata, so please bear that in mind when replyin…
net reclassification index (NRI) and integrated discrimination index (IDI)*computing confidence intervalsHi All, I am having difficulties obtaining 95% CI's from the NRI and IDI command in stata. I have p…
Gen new variableHi! I want to make a measure for institutional trust. x1 = trust in judicial system x2 = trust in …
Error in expressionHello, I am created a local variable `tif' which loops over around 45 terms (string). local tif "0…
Subscribe to:
Post Comments (Atom)
0 Response to why i can't convert from yyyy/mm/dd to time
Post a Comment