Hello, I have a question about "encode". Why the "encode" don't present "English dummy" by defined.
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"
Labels (Abc) from variable names (Abc_defghi)Hi all, I've seen a few posts asking questions about labelling variables by their respective names,…
Multilevel modelling using “svy:melogit” with the ‘subpop’ option giving weird resultsI did my modelling using “svy:melogit” with the ‘subpop’ option in Stata 15.1 as follows after readi…
how to count the number of variables after split?Dear All, How to generate a new variable that equals the number of variables generated after split?…
PPMLHDFE Gravity model for remittancesDear Tom Zylkin and Joao Santos Silva I hope you are doing well, I am using a gravity model in the …
error in running mi impute chainedThank you very much in advance for reading this post, and for any help that you can extend. I am tr…
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment