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
Test for comparing means of populationsDear Stata experts, I would like to test the following hypothesis for the data below: H0: μ1 = μ2 …
Counting the number of total active and inactive medication by patient and general advice on Cox regressionDear Statalisters, I just started using Stata. I would like to create a panel data for each patient…
Drop collinear variables with factor variables and interactionsDear all, I want to drop collinear variables from my list of independent variables in the case of f…
How to create second y-axis with lgraph?Hi, I'm a beginner with Stata and drawing a graph with lgraph. I have mean height on y-axis and age…
Putting output from svy: logit into matricesHi, I've a question about writing output from the svy: logit function to matrices. So that later I …
Subscribe to:
Post Comments (Atom)
0 Response to Estimate a part of a data set
Post a Comment