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"
Parameter constraints in MLE estimation for SFAHello, I'm using the following commands after which I would like to set up constraints for the param…
Getting RR and CI ; when one of the cells is 0 (similar to Exlogistic command)Dear Statalisters, Any advise Getting RR and CI using generalised linear models ; when one of the ce…
Commands to estimate models with variables at different levels?Hi folks, imagine I have a panel data set in which the dependent variable is continuous and is measu…
Multinomnial logit latent class model in panel dataHi all: I want to apply multinominal logit latent class model in my panel data. I know gsem, lc() o…
syntax for calculating mean eGFR loss using joint model (-stjm-)Dear Stata users, I am trying to calculate mean eGFR loss/year using joint model which uses both th…
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment