Dear all,
I have my date variable in the following string format 201501, 201502, 201503, etc..
I would like to generate a date variable. I have been using the following command gen month=monthly(date,"YM"). However, I am just getting a sequence of missing values.
Do you know where the problem lies?
Many thanks in advance!
Francisco
Related Posts with Generate date variable from string monthly data
Number of parameters in exploratory factor analysisHi everyone. Below is the output of an exploratory factor analysis using the command factor and the …
if [varname] = [values]?Hello, I have a variable, date that is empty. and a series of other date variables that contain dat…
Internal validation of risk prediction model - Bootstrapped method.Dear expert. I am testing accuracy of a risk score (Continious) on predicting mortality (binary 0:1)…
Help with a detailed specification using multiple imputationHello, I am attempting to estimate a model: Code: logit y x1 x2 x3 where x1 is a dummy variable…
retrospective power analysis on panel dataHi statalisters ... I need some help to carry out a power test over data I obtained from one experim…
Subscribe to:
Post Comments (Atom)
0 Response to Generate date variable from string monthly data
Post a Comment