Hello Community,
I am trying to run the Probit command with many DVs for different years, I keep receiving the error (2000) message. None of my variables is string.
My command is:
probit emp_stat urbdum3 age yrseduc if year == 2017
How can I create a variable where all the 3 different dummy variables for different years are contained?
Thank you.
My data looks like this:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double uqnr int year byte emp_stat float (urbdum1 urbdum2 urbdum3) 101000101 1995 0 1 0 0 101000102 1995 1 1 0 0 101000103 1995 1 1 0 0 101000103 1995 1 1 0 0 101000104 1995 1 1 0 0 101000104 1995 1 1 0 0 101000105 1995 1 1 0 0 101000106 1995 0 1 0 0 101000106 1995 1 1 0 0 101000107 1995 1 1 0 0 101000107 1995 1 1 0 0 101000109 1995 1 1 0 0 101000109 1995 1 1 0 0 101000113 1995 1 1 0 0 101000201 1995 1 1 0 0 101000202 1995 0 1 0 0 101000203 1995 1 1 0 0 101000203 1995 1 1 0 0 101000204 1995 1 1 0 0 101000204 1995 1 1 0 0 101000205 1995 1 1 0 0 101000205 1995 1 1 0 0 101000206 1995 1 1 0 0 101000206 1995 1 1 0 0 101000207 1995 0 1 0 0 101000207 1995 1 1 0 0 101000210 1995 1 1 0 0 101000210 1995 1 1 0 0 101000211 1995 1 1 0 0 101000211 1995 1 1 0 0 101000211 1995 1 1 0 0 101000301 1995 1 1 0 0 101000301 1995 1 1 0 0 101000302 1995 1 1 0 0 101000302 1995 1 1 0 0 101000306 1995 1 1 0 0 101000306 1995 1 1 0 0 101000307 1995 1 1 0 0 101000307 1995 1 1 0 0 101000308 1995 1 1 0 0 101000308 1995 1 1 0 0 101000310 1995 1 1 0 0 101000311 1995 0 1 0 0 101000311 1995 1 1 0 0 101000311 1995 1 1 0 0 101000312 1995 1 1 0 0 101000402 1995 1 1 0 0 101000403 1995 1 1 0 0 101000405 1995 1 1 0 0 101000405 1995 1 1 0 0 101000501 1995 1 1 0 0 101000502 1995 1 1 0 0 101000502 1995 1 1 0 0 101000503 1995 1 1 0 0 101000503 1995 1 1 0 0 101000504 1995 1 1 0 0 101000504 1995 1 1 0 0 101000505 1995 1 1 0 0 101000507 1995 1 1 0 0 101000507 1995 1 1 0 0 101000508 1995 1 1 0 0 101000508 1995 1 1 0 0 101000509 1995 1 1 0 0 101000511 1995 1 1 0 0 101000511 1995 1 1 0 0 101000512 1995 1 1 0 0 101000512 1995 1 1 0 0 101000601 1995 1 1 0 0 101000602 1995 1 1 0 0 101000602 1995 1 1 0 0 101000603 1995 1 1 0 0 101000603 1995 1 1 0 0 101000603 1995 1 1 0 0 101000605 1995 1 1 0 0 101000605 1995 1 1 0 0 101000605 1995 1 1 0 0 101000607 1995 1 1 0 0 101000608 1995 1 1 0 0 101000608 1995 1 1 0 0 101000610 1995 1 1 0 0 101000610 1995 1 1 0 0 101000611 1995 0 1 0 0 101000701 1995 1 1 0 0 101000702 1995 1 1 0 0 101000703 1995 0 1 0 0 101000703 1995 1 1 0 0 101000704 1995 1 1 0 0 101000704 1995 0 1 0 0 101000704 1995 1 1 0 0 101000705 1995 1 1 0 0 101000706 1995 1 1 0 0 101000706 1995 1 1 0 0 101000706 1995 0 1 0 0 101000707 1995 1 1 0 0 101000707 1995 1 1 0 0 101000709 1995 1 1 0 0 101000709 1995 1 1 0 0 101000710 1995 0 1 0 0 101000710 1995 1 1 0 0 101000711 1995 1 1 0 0 end
0 Response to Error r(2000), No Observation
Post a Comment