Hello, I have a question about "encode". Why the "encode" don't present "English dummy" by defined.
Moreover, the dummy number is wrong!!!
I use STATA 14
///
webuse hbp2, clear
tostring city, gen(ncity)
label define stata 1 "USA" 2 "JAPEN" 3 "UT" 5 "pp"
encode ncity, gen(stata)
Related Posts with A question in "encode"
Nested between-subject design (non-binary independent variable) analysis in StataHello everyone, I am new here so feel free to ask if I incorrectly formatted anything! First let m…
Detecting endogeneity or self selection bias using propensity score matchingHi all, I've got a question about propensity score matching. It's a bit complicated but I tried to …
GLM regression skewed dependent variableDear all, I have two dependent variables (one is a percentage of a total and one is measured in cm)…
Why do estimation commands sometimes omit variables?Hi guys I am stucked: STATA omitted my variable due to collinearity, but I have no idea why. I ran a…
Admetan - can it be combined?Dear Statalist, I am conducting a meta-analysis using admetan. I am comparing odds ratios for sever…
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment