Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider a simple linear regression of log(fertility) on pctUrban using the UN11 data set in the alr4 package. a. Write the model you are

1. Consider a simple linear regression of log(fertility) on pctUrban using the UN11 data

set in the alr4 package.

a. Write the model you are fitting (in terms of the mean of log(fertility)

conditional on knowing the value of pctUrban.

b. What is the equation for the fitted model?

c. Interpret the estimated coefficient for pctUrban.

2. Using the same data set as the previous problem, fit the regression of log(fertility) on

log ( ppgdp) and lifeExpR.

a. What is the fitted line for this model?

b. If we increase ppgdp by 25%, what is the expected decrease in fertility?

c. State the interpretation of part b. in a straightforward sentence.

3. In a study of faculty salaries in a small Midwest college, a linear regression model was

fit, giving the fitted line ^ ( Salary|Sex )=246973340(Sex) , where Sex =1 if the

E

faculty member was female and 0 if male. The response salary is measured in dollars

(the data are from the 1970s).

a. Interpret each of the two estimated coefficients.

b. An alternative mean function fit to these data with an additional term, Years (the

number of years employed at this college), gives the estimated mean function

^ ( Salary|Sex , Years )=18065+201( Sex)+759( Years) . Notice that the

E

coefficent for Sex has changed signs. Explain how this could happen. It may

help to determine the fitted line for males (Sex = 0) and the fitted line for females

(Sex = 1). Draw these two lines. How could observations be placed on these two

lines so that males make more, on average, than females, but for females to make

more than a male with the same amount of teaching experience at the university?

c. Interpret the coefficients for the fitted line in part b.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions

Question

2.5 What are the four main types of market structure?

Answered: 1 week ago