Professional Documents
Culture Documents
Gen Some - Highsch 0: Worksheet - 2 Name-Sarah Nuzhat Khan ID-20175008 Creating Dummy Variables
Gen Some - Highsch 0: Worksheet - 2 Name-Sarah Nuzhat Khan ID-20175008 Creating Dummy Variables
Gen Some - Highsch 0: Worksheet - 2 Name-Sarah Nuzhat Khan ID-20175008 Creating Dummy Variables
Worksheet -2
Name-Sarah Nuzhat Khan
ID-20175008
Using CPS data (in Ch.8), we tabulated the years of education variable.
. gen some_highsch=0
. gen college=0
. gen post_college=0
d) Compare the intercept with the mean of the some_highsch education. What do you
observe?
Ans: The value of mean of ahe for some_highsch equals to intercept. We observe that
the intercept of the regression and mean of the omitted category is same. In the
regression, the intercept in a sense represents the mean of the omitted group.
e) What can you say about the intercept of a regression with only the dummy variables of
a category such as educational levels (i.e. no other independent variables)?
Ans: the intercept in a sense represents the mean of the omitted group.
f) What does the coefficient of high_sch/some_college/college/post_college mean? Note:
ahe is average hourly earnings in 2004 dollars.
g). What is the estimated average wage rate of a High School grads? College graduate?
Post_college grads?
h) Which of these categorical variables are statistically significant? How can you tell?
Ans: All the categorical values here are statistically significant because their
corresponding p-values.
i) Can we infer from these estimated results that average earnings of more-educated
workers exceed those of less educated workers? Explain.
Ans: It is evident that wage rate is increasing with the increased level of education.This
implies that average earnings of more-educated workers exceed those of less educated
workers.