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
Correct for optimism in prediction modelling using bootstrapping (bsample command), is this the correct approach?Dear statalist users, I have a question about the bsample command in STATA. I want to use this comm…
How to set that I have cross-sectional database from different yearHello Guys, I have cross-sectional observations from 10 different years. As the respondents vary ye…
Standard Error Correction Time Series AnalysisHello, I am currently working on a time series analysis project. I have autocorrelation in the erro…
Standardized variablesHi, I have panel data and defined my variables accordingly: xtset id q_date,q if i want to standard…
Defining a variable fitting to the size of a matrixHey everyone, im still new to stata so this is probably still a trivial question . for further compu…
Subscribe to:
Post Comments (Atom)
0 Response to Estimate a part of a data set
Post a Comment