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"
Two variables combined fixed effect with clustered standard errors of another variableHi Stata community, I have an unbalanced panel data set for the years 1992-2018 across different ye…
Data Envelopment Analysis to generate TFP with macro level panel dataHi, I'm relatively new to stata and struggling with the dea (data envelopment analysis) command. My …
How to test for multiple instruments in in etregress or eregressDear all: I am using Stata 15 to run a linear regression with endogenous treatment aiming to do inst…
asclogit or clogit with treatment and control?Dear all, I have conducted a labelled choice experiment with labels=engine type (gasoline, EV, HEV)…
why i am not getting Hansen statistics?. xtabond2 fg_ta l.fg_ta size age ia_w debt_ratio_w TobinQ fac roa cashratio i.sector_1, gmm(fg_ta) …
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment