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"
Coding my continous variable to natural logarithmDear All, I am working on research to identify the influential factors of growth ambitions. I have …
Panel DataHello all, I want to do panel data analysis with stata. after i run this code: xtreg y(dependent var…
abnormal stock returnsHi! I'm new to using stata and this website and i am trying to compute abnormal stock returns based …
Creating categories of string variables from a continuous variableHello Stata users, I have a panel data set from survey data in long format that has to be kept conf…
Creating a loop to generate summary dataDear StataList I am new to programming in Stata. I want to write a programme to count the frequency…
Subscribe to:
Post Comments (Atom)
0 Response to A question in "encode"
Post a Comment