Question: Consider the model:

y=β0+β1x1+β2x2+β3x3+ε

where x1 is a quantitative variable and x2 and x3 are dummy variables describing a qualitative variable at three levels using the coding scheme

role="math" localid="1649846492724" x2=1iflevel20otherwisex3=1iflevel30otherwise

The resulting least squares prediction equation is y^=44.8+2.2x1+9.4x2+15.6x3

a. What is the response line (equation) for E(y) when x2 = x3 = 0? When x2 = 1 and x3 = 0? When x2 = 0 and x3 = 1?

b. What is the least squares prediction equation associated with level 1? Level 2? Level 3? Plot these on the same graph.

Short Answer

Expert verified

a. The response lines for when x2 = x3 = 0 is y^=44.8+2.2x1. The response line when x2 = 1 and x3 = 0 is y^=54.2+2.2x1. The response line for when x2 = 0 and x3 = 1 is y^=60.4+2.2x1.

b. Graph

Step by step solution

01

Response lines

The response line for when x2 = x3 = 0 will be

y^=44.8+2.2x1+9.4(0)+15.6(0)y^=44.8+2.2x1

The response line for when x2 = 1 and x3 = 0 will be

y^=44.8+2.2x1+9.4(1)+15.6(0)y^=(44.8+9.4)+2.2x1y^=54.2+2.2x1

The response line for when x2 = 0 and x3 = 1 will be

y^=44.8+2.2x1+9.4(0)+15.6(1)y^=(44.8+15.6)+2.2x1y^=60.4+2.2x1

02

Graph

The response line for when x2 = x3 = 0 will be

y^=44.8+2.2x1+9.4(0)+15.6(0)y^=44.8+2.2x1

The response line for when x2 = 1 and x3 = 0 will be

role="math" localid="1649847635365" y^=44.8+2.2x1+9.4(1)+15.6(0)y^=(44.8+9.4)+2.2x1y^=54.2+2.2x1

The response line for when x2 = 0 and x3 = 1 will be

y^=44.8+2.2x1+9.4(0)+15.6(1)y^=(44.8+15.6)+2.2x1y^=60.4+2.2x1

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Forecasting movie revenues with Twitter. Refer to the IEEE International Conference on Web Intelligence and Intelligent Agent Technology (2010) study on using the volume of chatter on Twitter.com to forecast movie box office revenue, Exercise 11.27 (p. 657). Recall that opening weekend box office revenue data (in millions of dollars) were collected for a sample of 24 recent movies. In addition to each movie’s tweet rate, i.e., the average number of tweets referring to the movie per hour 1 week prior to the movie’s release, the researchers also computed the ratio of positive to negative tweets (called the PN-ratio).

a) Give the equation of a first-order model relating revenue (y)to both tweet rate(x1)and PN-ratio(x2).

b) Which b in the model, part a, represents the change in revenue(y)for every 1-tweet increase in the tweet rate(x1), holding PN-ratio(x2)constant?

c) Which b in the model, part a, represents the change in revenue (y)for every 1-unit increase in the PN-ratio(x2), holding tweet rate(x1)constant?

d) The following coefficients were reported:R2=0.945andRa2=0.940. Give a practical interpretation for bothR2andRa2.

e) Conduct a test of the null hypothesis, H0;β1=β2=0. Useα=0.05.

f) The researchers reported the p-values for testing,H0;β1=0andH0;β2=0 as both less than .0001. Interpret these results (use).

Accuracy of software effort estimates. Refer to the Journal of Empirical Software Engineering (Vol. 9, 2004) study of the accuracy of new software effort estimates, Exercise 12.114 (p. 781). Recall that stepwise regression was used to develop a model for the relative error in estimating effort (y) as a function of company role of estimator (x1 = 1 if developer, 0 if project leader) and previous accuracy (x8 = 1 if more than 20% accurate, 0 if less than 20% accurate). The stepwise regression yielded the prediction equation y^= 0.12 - 0.28x1+ 0.27x8. The researcher is concerned that the sign of the estimated β multiplied by x1 is the opposite from what is expected. (The researcher expects a project leader to have a smaller relative error of estimation than a developer.) Give at least one reason why this phenomenon occurred.

Suppose you fit the quadratic model E(y)=β0+β1x+β2x2to a set of n = 20 data points and found R2=0.91, SSyy=29.94, and SSE = 2.63.

a. Is there sufficient evidence to indicate that the model contributes information for predicting y? Test using a = .05.

b. What null and alternative hypotheses would you test to determine whether upward curvature exists?

c. What null and alternative hypotheses would you test to determine whether downward curvature exists?

Suppose you fit the model y =β0+β1x1+β1x22+β3x2+β4x1x2+εto n = 25 data points with the following results:

β^0=1.26,β^1= -2.43,β^2=0.05,β^3=0.62,β^4=1.81sβ^1=1.21,sβ^2=0.16,sβ^3=0.26, sβ^4=1.49SSE=0.41 and R2=0.83

  1. Is there sufficient evidence to conclude that at least one of the parameters b1, b2, b3, or b4 is nonzero? Test using a = .05.

  2. Test H0: β1 = 0 against Ha: β1 < 0. Use α = .05.

  3. Test H0: β2 = 0 against Ha: β2 > 0. Use α = .05.

  4. Test H0: β3 = 0 against Ha: β3 ≠ 0. Use α = .05.

Question: Suppose you fit the first-order multiple regression model y=β0+β1x1+β2x2+ε to n=25 data points and obtain the prediction equationy^=6.4+3.1x1+0.92x2 . The estimated standard deviations of the sampling distributions of β1 and β2are 2.3 and .27, respectively

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free