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
confused about restructuring data: reshaping? stacking? something else?Hi, I am using Stata 16.1 on Windows 10. I have attached two datasets: (1) a simple example of the s…
Dataset FormatHey everyone! I was wondering if anyone could shed light on the the ".data" file format? I'm trying…
Generate Event WindowHello, I would like to perform an event study in Stata. Unfortunately, I cannot apply this https://…
Explaining frailty modelsHi all, I am currently researching on waiting time of passengers (the time passengers stay at the st…
Initial condition y_i,0 in a dynamic model with individual specific effects (following Chamberlain's approach)Dear all, I was wondering how the initial observation y_i,0 should look like in the following AR(1)…
Subscribe to:
Post Comments (Atom)
0 Response to Labeling Dummy Variables
Post a Comment