For example for age I used the code:
Code:
label define Age 1 "Under 30" 2 "30 to 59" 3 "Over 60" label variable agediff "Age" label values agediff Age
The first problem is that it displays only the label of the categories and not of the variable itself (i.e agediff instead of Age)
The secon problem is when computing outreg2
Code:
outreg2 using myfile, word dec(3) replace label ctitle(Model 1)
I would like that it gets diplayed as in Stata with the variable name and then the values without the numbers so:
Age
30 to 59
Over 60
Thanks in advance
0 Response to Regression and Outreg2 variable label display
Post a Comment