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
gsoundexI would like to use the old handwritten soundex command that allows to specify the length. To copied…
Fixed-effect vs. random-effect meta-analysisHello, I wonder to know what meta-analysis model must be used to compute a combined effect across su…
Wolbers's c-statistic after competing risk regressionHello Is it possible to calculate the Wolbers's c-statistic in Stata ? Thanks …
combined graphDear Stata users, Array Array I am wondering how can I combine the above 2 graphs and draw g…
Coefficients of divided sample both smaller than coefficients in full sampleI'm running a simple regression and comparing results with certain exclusion criteria. For example, …
Subscribe to:
Post Comments (Atom)
0 Response to Beginner question
Post a Comment