Consider the model:

E(y)=β0+β1x1+β2x2+β3x22+β4x3+β5x1x22

where x2 is a quantitative model and

x1=(1receivedtreatment0didnotreceivetreatment)

The resulting least squares prediction equation is

localid="1649802968695" y=2+x1-5x2+3x22-4x3+x1x22

a. Substitute the values for the dummy variables to determine the curves relating to the mean value E(y) in general form.

b. On the same graph, plot the curves obtained in part a for the independent variable between 0 and 3. Use the least squares prediction equation.

Short Answer

Expert verified

The mean value of E(y)for x1 = 0 isEy=β0+β2x2+β3x22+β4x3 andthe mean value of E(y)for x1= 1 is .Ey=β0+β1+β2x2+β3x22+β4x3+β5x22

Step by step solution

01

Dummy variable equation in general form

The mean value of E(y) in general form can be written for the value of x1 = 1 and x1= 0

For x1 = 0,Ey=β0+β1x1+β2x2+β3x22+β4x3+β5x1x22Ey=β0+β1×0+β2x2+β3x22+β4x3+β5×0×x22Ey=β0+β2x2+β3x22+β4x3

For x1= 1, Ey=β0+β1x1+β2x2+β3x22+β4x3+β5x1x22Ey=β0+β1×1+β2x2+β3x22+β4x3+β5×1×x22Ey=β0+β1+β2x2+β3x22+β4x3+β5x22

02

Graph

For the value of x2 = 0, the mean value E(y) least squares prediction equation will look like

E(y)=2+x1-5x2+3x22-4x3+x1x22E(y)=2+0-5×0+3×02-4x3+0×02forx1=0andx2=0E(y)=2-4x3

For the value of x2 = 0, the mean value E(y) least squares prediction equation will look like

E(y)=2+x1-5x2+3x22-4x3+x1x22E(y)=2+1-5×0+3×02-4x3+1×02forx1=1andx2=0E(y)=3-4x3

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

Question: Tilting in online poker. In poker, making bad decisions due to negative emotions is known as tilting. A study in the Journal of Gambling Studies (March, 2014) investigated the factors that affect the severity of tilting for online poker players. A survey of 214 online poker players produced data on the dependent variable, severity of tilting (y), measured on a 30-point scale (where higher values indicate a higher severity of tilting). Two independent variables measured were poker experience (x1, measured on a 30-point scale) and perceived effect of experience on tilting (x2, measured on a 28-point scale). The researchers fit the interaction model, . The results are shown below (p-values in parentheses).

  1. Evaluate the overall adequacy of the model using α = .01.

b. The researchers hypothesize that the rate of change of severity of tilting (y) with perceived effect of experience on tilting (x2) depends on poker experience (x1). Do you agree? Test using α = .01.

Consider fitting the multiple regression model

E(y)= β0+β1x1+ β2x2+β3x3+ β4x4 +β5x5

A matrix of correlations for all pairs of independent variables is given below. Do you detect a multicollinearity problem? Explain


Question: Orange juice demand study. A chilled orange juice warehousing operation in New York City was experiencing too many out-of-stock situations with its 96-ounce containers. To better understand current and future demand for this product, the company examined the last 40 days of sales, which are shown in the table below. One of the company’s objectives is to model demand, y, as a function of sale day, x (where x = 1, 2, 3, c, 40).

  1. Construct a scatterplot for these data.
  2. Does it appear that a second-order model might better explain the variation in demand than a first-order model? Explain.
  3. Fit a first-order model to these data.
  4. Fit a second-order model to these data.
  5. Compare the results in parts c and d and decide which model better explains variation in demand. Justify your choice.

Question: Chemical plant contamination. Refer to Exercise 12.18 (p. 725) and the U.S. Army Corps of Engineers study. You fit the first-order model,E(Y)=β0+β1x1+β2x2+β3x3 , to the data, where y = DDT level (parts per million),X1= number of miles upstream,X2= length (centimeters), andX3= weight (grams). Use the Excel/XLSTAT printout below to predict, with 90% confidence, the DDT level of a fish caught 300 miles upstream with a length of 40 centimeters and a weight of 1,000 grams. Interpret the result.

Suppose you used Minitab to fit the model y=β0+β1x1+β2x2+ε

to n = 15 data points and obtained the printout shown below.

  1. What is the least squares prediction equation?

  2. Find R2and interpret its value.

  3. Is there sufficient evidence to indicate that the model is useful for predicting y? Conduct an F-test using α = .05.

  4. Test the null hypothesis H0: β1= 0 against the alternative hypothesis Ha: β1≠ 0. Test using α = .05. Draw the appropriate conclusions.

  5. Find the standard deviation of the regression model and interpret it.

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