Docsity

Sociology 362 Mock Exam: Regression Analysis and Interpretation, Exercises of Sociology

Toggle sidebar
bg1
Sociology 362
Mock Exam 3
1. Consider the following data on the market value Y ($1000s) of homes in different locations (L: South,
West, Central):
Y = (50, 70, 100, 150, 145, 105)
L = (S, S, C, C, W, W)
a. Develop a coding scheme for location L and then write and estimate a model for the regression of Y on
L.
b. List, in the same order as the observed Ys, all the fitted ˆ
Yi.
c. Find the mean square residual.
d. Carry out the F-test for the null hypothesis µS=µC=µW.
2. Klinke’s Dry Cleaner is thinking of opening yet another outlet. They have come to you for advice on
reading the results of the following regression run on data from 20 of there current stores:
Y= 2400 −8000C+ 8P+ 3000D
where Y is sales, C is the number of competing outlets within 1 mile, P is size of the population within 1
mile, and D is a dummy coded 1 if an outlet has a drive-up window. Based only on sales, Klinke’s wants
to know whether they should open either a) an outlet with a drive-up window in an area with 2
competitors and a population of 4000; or b) an outlet with no drive-up window in an area with 1
competitor and a population of 8000?
3. A researcher is interested in the relationship of depression Y to sex (S=1 for male; 0 female) and social
class (C=1 middle class; 0 working class). Suppose the observed table of depression means for each
sex/class group (all groups of are of equal sample size)is:
male female
middle class 38 54
working class 40 60
Estimate the intercept and coefficients of the following model:
Y=α+βS +λC +γ(S×C) (1)
4. A regression of earnings on years of experience (X), dummies for industrial sector (three sectors are
s-service, g-government, and m-manufacturing), and terms for interaction yields for n=36:
Y= 42 + 3X−3Im+ 2Is−2(X×Im) + 1(X×Is)
1
docsity.com
pf3

Partial preview of the text

Download Sociology 362 Mock Exam: Regression Analysis and Interpretation and more Exercises Sociology in PDF only on Docsity!

Sociology 362 Mock Exam 3

  1. Consider the following data on the market value Y ($1000s) of homes in different locations (L: South, West, Central): Y = (50, 70, 100, 150, 145, 105) L = (S, S, C, C, W, W) a. Develop a coding scheme for location L and then write and estimate a model for the regression of Y on L.

b. List, in the same order as the observed Ys, all the fitted Yˆi. c. Find the mean square residual. d. Carry out the F-test for the null hypothesis μS = μC = μW.

  1. Klinke’s Dry Cleaner is thinking of opening yet another outlet. They have come to you for advice on reading the results of the following regression run on data from 20 of there current stores:

Y = 2400 − 8000 C + 8P + 3000D where Y is sales, C is the number of competing outlets within 1 mile, P is size of the population within 1 mile, and D is a dummy coded 1 if an outlet has a drive-up window. Based only on sales, Klinke’s wants to know whether they should open either a) an outlet with a drive-up window in an area with 2 competitors and a population of 4000; or b) an outlet with no drive-up window in an area with 1competitor and a population of 8000?

  1. A researcher is interested in the relationship of depression Y to sex (S=1 for male; 0 female) and social class (C=1 middle class; 0 working class). Suppose the observed table of depression means for each sex/class group (all groups of are of equal sample size)is: male female middle class 38 54 working class 40 60

Estimate the intercept and coefficients of the following model:

Y = α + βS + λC + γ(S × C) (1)

  1. A regression of earnings on years of experience (X), dummies for industrial sector (three sectors are s-service, g-government, and m-manufacturing), and terms for interaction yields for n=36: Y = 42 + 3X − 3 Im + 2Is − 2(X × Im) + 1(X × Is)

with SSReg = 160 and SSres = 280. a. What is the estimated mean earnings of a government worker with 9 years of experience? b. For each industrial sector, give the estimated equation for the regression of earnings on experience. c. To the same data the researcher fits the following models (where it’s assumed that in multiple regression equations all the coefficients are partial regression coefficients) with the stated results: Y = α + βxX SSReg = 100 SSresid = 340 Y = α + βxX + λ 1 (P × Im) + λ 2 (P × Is) SSReg = 120 SSresid = 320 c.1 Test the hypothesis of overall homogeneity/equality (i.e., Chow) of the separate regressions of earnings on experience for each of the three industrial sectors. c.2 Assuming there are sector differences in intercepts, test the hypothesis that the coefficient of experience is the same across all three sectors.

  1. Separate regressions of job satisfaction (Y) on earnings (X) for craft and manufacturing workers yield the following results: Craf t : Y = 14 + 8X M f g : Y = 11 + 4X To the pooled data (craft + mfg workers together) the following regression is fitted: Y = α + βxX + βsD + λ(D × X) where D = 1 for craft, 0 otherwise. a. Find the numerical values of α, βx, βs and λ. b. Interpret the estimate of λ.
  2. For a sample of 26 American cities, a researcher regresses the segregation score Y on three dummy variables for the region in which a city is located. The regression results produced by Stata show that the sum of squares regression (SSreg) is 1200, and the mean square residual is ˆσ^2 e = 90.

6a. Give the F-statistic that Stata would report. 6b. State the null and alternative hypotheses for which this F-statistic is the test statistic.

  1. A researcher with n=32 observations on earnings y, years of schooling v, and dummy variables for a three-category (auto, petroleum, and textiles) industry classification fits the following models with the specified results: