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
line plots -- average, minimum & maximum sales for each quarterI want to plot three line plots in one graph. On the x-axis I want to have the quarters i.e. Q1, Q2,…
Graph with mean coefficients plut 95% credible intervals under - bayes - commandDear Forum Members, I'm doing some Bayesian analysis under a hierarchical model. I wish to get a gr…
generating variable for specific responses in multiple observationsHello I have a dataset which which lists various crops grown(var - crop_a) on different plots by va…
Matching male and female patients with same/similar lab valuesHi! I'm looking into a sex-related sub question of my bachelor's thesis about heart failure and onco…
xttobit with no observationI am investigating how certain factors affect hedging. For this I used xttobit. Now my exogenous var…
Subscribe to:
Post Comments (Atom)
0 Response to Labeling Dummy Variables
Post a Comment