Hi everyone,
In my dataset there is a categorical variable "nationality" that takes on 36 values, depending on the Country of origin of my observations. I therefore created 35 dummy variables that take value 1 for each country and 0 otherwise.
How do I carry out a Probit regression in STATA without having listed the coefficients of all these dummies? Should I cluster the (n-1) dummy variables and, if so, how can I do that?
Thanks for any advice you might have on this!
Related Posts with Cluster multiple dummy variables
Adoupdate not working in new installationDear users, I recently installed Stata 15 in a new machine with Windows 10. I first download -ftools…
How to execute a Matlab script from StataHi all, I'd like to run a Matlab script from within my Stata Do-File. Haven't done this before, but…
Combine multiple columns into oneHi all, If there is a loop like following: Code: forv y = 2009/2012 { forv p = 1/20 { egen `…
Combine cases, but keep values from each.I'd like to combine cases, but in an unusual way -- by keeping values from each. For example, start …
Minutes off in datetime formattingHello, I am working on a load profile with 30-minute invervals of electricity demand that I wish to…
Subscribe to:
Post Comments (Atom)
0 Response to Cluster multiple dummy variables
Post a Comment