Hi
I am trying to change the variable "doa" to numeric which is understandle to Sata, the below command did not work. Please advice.
gen edate = date(doa, "md20y")
type mismatch
input int doa
.
.
20970
.
.
.
20610
.
.
.
.
.
21174
.
.
21165
18860
.
.
.
.
.
.
17195
.
.
.
.
.
.
17552
.
.
.
.
.
.
.
20810
.
.
.
.
.
.
.
.
.
.
.
20450
.
.
.
.
20218
.
.
.
.
.
.
.
.
.
17585
20426
.
.
.
.
.
.
.
.
.
.
20531
.
.
.
.
.
20598
.
.
.
.
.
.
.
.
.
21182
21209
.
.
.
19979
.
end
format %dM_d,_CY doa
[/CODE]
Related Posts with date
Downloading data from internetHello, I need to download data from this website. Technically, to download data one is supposed to c…
Mixed effect survival modelsHi, Is there a way to run mixed effects cox models in Stata? The only way I found to run a mixed ef…
Finding the maximum value for a subset of observationsHi everyone, I have a panel dataset with 148 countries and 70 years and I am trying to identify epi…
Arellano Bond with Factor VariablesHi, I have a large panel dataset with many controls. I am using xtabond commnad to address endogene…
Import Jason "too many veriables"Hei, i have a big json file which i try to import to Stata. Using insheet using "C:\Users\stinavn/…
Subscribe to:
Post Comments (Atom)
0 Response to date
Post a Comment