Hi people,
I'm a total noobs to Stata and have spent two hours trying ot figure this dumb thing out. I'll i'm trying to do is relabel some data points in my column. Here is the command I am using:
label define postnatal_steroids_chronic_lung_label 0 "none" 7 "n/a" 11 "UCSF" 12 "OSH" 13 "UCSF/OSH"
label val postnatal_steroids_chronic_lung postnatal_steroids_chronic_lung_label
I keep getting the error message:
. label define postnatal_steroids_chronic_lung_label 0 "none" 7 "n/a" 11 "UCSF" 12 "OSH" 13 "UCSF/O
> SH"
postnatal_steroids_chronic_lung_label invalid name
r(198);
I am copying the variable directly from stata. Not sure what to do. HELP!
Thanks!
Related Posts with Beginner question
pwcompare and effect sizeHello, Stata world. I'm using -pwcompare, effects- after regression. The command produces point esti…
Merging dataset with non-unique variables in the master dataDear all, I am currently trying to merge two datasets. One contains household data and the other pe…
within-group covariance by yearHi there, I would like to compute the within-firm covariance(wage_t, wage_{t-1}) for each year. I li…
How do 'control units' that never receive treatment affect estimates when using time and individual fixed effects?I'm looking at the effect of fires on visits to national parks and national forests. My dataset cons…
error asdoc tabdisphttps://drive.google.com/file/d/1iof...ew?usp=sharing Code: clear input var1 str5 var2 var3 var4 …
Subscribe to:
Post Comments (Atom)
0 Response to Beginner question
Post a Comment