Hi
This may sound silly but I am having problems labeling the Stata output from 0 to YES and 1 to NO. I don't know what I am doing wrong. See below commands and table output. Thank you.
. la define own_home 0 "yes" 1 "no"
. fre own_home
own_home -- do you own a home, recoded ea_1
-----------------------------------------------------------
| Freq. Percent Valid Cum.
--------------+--------------------------------------------
Valid 0 | 3949 78.28 78.68 78.68
1 | 1070 21.21 21.32 100.00
Total | 5019 99.48 100.00
Missing . | 26 0.52
Total | 5045 100.00
-----------------------------------------------------------
Related Posts with Labeling Dummy Variables
there is somthing wrong when use tuples commandthe conditions are set: tuples ,cond(!(1&2) !(3&4) !(5&6) !(7&8) (!(9&10)&!(…
Bookmark in Stata 17The combobox is not refreshed on deleting a bookmark? Is there any way to collapse/expand bookmark (…
GMM with binary outputDear, I am doing gmm for a system including 3 equations. In which, dependent variable of one equati…
Two-step system GMM estimationsHi all, I am trying to do a simulation of Canh, Binh, Thanh, &Schinckus (2020): https://www…
Trouble replacing missing values using bysort:replaceHello, I'm having trouble trying to fill in values for each person id (pid) in a long dataset. As y…
Subscribe to:
Post Comments (Atom)
0 Response to Labeling Dummy Variables
Post a Comment