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
For loopHi guys, I would like to make a loop that includes several different variables for different databa…
Looping through different databasesHi guys, I would like to make a loop that includes several different variables for different databa…
how to calculate the formula ,like Euclidean distancehello, everyone! Is that anybody know how to calculate the formula,data as follow, many thanks!the f…
import file excel only date to stringHello please how can i import only date variables as character from an excel file Thanks …
Panel data : assigning random treatment to same no of observation yearwiseHi, Stata people. I have got a 20 years panel data 1990- 2010. For the falsification test. I drop a…
Subscribe to:
Post Comments (Atom)
0 Response to Beginner question
Post a Comment