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
Delete TestTitle …
testing inequality between coefficientsHello everyone, I have a question that is related to hypoteses testing in stata I run the following…
Difference in difference in survey dataDear Statalists, Is there away to do a difference in difference using survey data? Regards, Christ…
Understanding and interpretation of second step results of the first stage 2SRI in the two step estimation.Dear Statalisters, I am implementing a 2SRI IV estimation following Terza (2017) (see here https://…
Replace not replacingDear Folks, Using Stata 15.1. When replacing, Stata is declaring that 134 real changes are made, h…
Subscribe to:
Post Comments (Atom)
0 Response to Beginner question
Post a Comment