Hello!
In the data set I have the variable: "college" = 1 if student went to college, 0 otherwise; and "period" =2 for 2nd period, and =1 for the 1st period; and "degree" =1 for getting high school degree, =0 otherwise; and some other variables relating the characteristic of the student.
So, I want to estimate utility from going to college but conditional on student having obtained the high school degree, and in period 2 only.
I can do it by simply drop out observations of 1st period and students who did not obtained a high school degree. But I do not want to do so, since I still need the whole data set for other regression.
Is there any way to proceed without dropping out observations?
Thank you,
Related Posts with Estimate a part of a data set
Two loop of foreach: How to outreg2?Could you kindly help me? I try to produce regression using three different variables (physical con…
CollapseI hope all is well with you. I have a question about "collapse". I want to create tables with the '…
Choosing the 7-day-value per countryHi everyone, I'm working with a dataset that shows me the number of infected people with Covid-19 p…
Dynamic ordered probit modelHi everyone, Currently, I am working on the estimation of health depreciation rate following Yogo (…
if command with 3 conditionsI am trying to generate a new variable using the "if" command based on 3 other variables ex: gen com…
Subscribe to:
Post Comments (Atom)
0 Response to Estimate a part of a data set
Post a Comment