Monday, September 12, 2022

A question in "encode"

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)

No comments:

Post a Comment