Dear all,
I'am using STATA 12 for mac. Currently, I am running an ordered legit regression to find out relationship between certain employment status and poverty. I have 6 levels employment status as my regressor (1=self employed, 2=self-employed with temporary workers, 3=self-employed with permanent worker, 4=employee, 5=casual worker, 6=family worker) and I want to choose one status as reference category. In this case, I want to choose "employee" as my reference category. How to create dummy variable for this?
gen self_employ=1 if employ_status=1
replace self_employ=0 if employ_status=4
Is that command right?. However, how to treat those missing values from other status of employment in that variable?. Will this create a problem in regression?
Any feedbacks or help from you is really appreciated!
Thanks
I'am using STATA 12 for mac. Currently, I am running an ordered legit regression to find out relationship between certain employment status and poverty. I have 6 levels employment status as my regressor (1=self employed, 2=self-employed with temporary workers, 3=self-employed with permanent worker, 4=employee, 5=casual worker, 6=family worker) and I want to choose one status as reference category. In this case, I want to choose "employee" as my reference category. How to create dummy variable for this?
gen self_employ=1 if employ_status=1
replace self_employ=0 if employ_status=4
Is that command right?. However, how to treat those missing values from other status of employment in that variable?. Will this create a problem in regression?
Any feedbacks or help from you is really appreciated!
Thanks

Comment