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"
creating loopHi, I am new in stata, so I am doing long commands for a simple variable generating. I want to short…
Replace observations with another group in Panel dataHi, I have panel data and I want to replace observations of one group with the same variable's obser…
Interpreting significance - HLM using REML and Kenward-Roger-corr.Dear Statalisters, I struggle with interpreting my results from multilevel linear regressions, usin…
Using loops to create local from other localsI tell Stata that: Code: local 1 "a b c" local 2 "d e f" local 3 "g h i" and I want it to create t…
Problem in reporting Arellano-Bond test for auto-correlation after xtabond2Hello dear Stata Users, I am estimating a dynamical panel (370 firms; T=10) where my dependent var i…
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment