Question

Find the multiple regression equation for the data given below. x1 = -2 -2, -1, 2,...

Find the multiple regression equation for the data given below.

x1 = -2 -2, -1, 2, 2

x2= -3, 1, 0, -2 , 2

y= -6 -11 -4 10 5

The equation is y^=y^=  ++  x1+x1+  x2.

Homework Answers

Answer #1

Sol;

use lm function in R to fit a multiple regression

Rcode:

x1 <- c(-2, -2, -1, 2, 2)

x2 <- c(-3, 1, 0, -2 , 2)

y <- c(-6 ,-11, -4 ,10, 5)
model1 <- lm(y~x1+x2)
summary(model1)


Call:
lm(formula = y ~ x1 + x2)

Residuals:
1 2 3 4 5
-0.30000 -0.50000 1.06667 -0.03333 -0.23333

Coefficients:
Estimate Std. Error t value Pr(>|t|)   
(Intercept) -0.8333 0.4014 -2.076 0.17353   
x1 4.2333 0.2186 19.367 0.00266 **
x2 -1.2000 0.2160 -5.555 0.03091 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.8756 on 2 degrees of freedom
Multiple R-squared: 0.9947,   Adjusted R-squared: 0.9895
F-statistic: 188.7 on 2 and 2 DF, p-value: 0.005273

From output:

Regression equation

y= -0.8333+ 4.2333x1 -1.2000x2

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Find the multiple regression equation for the data given below. x1: -3, -2, -1, 2 ,3...
Find the multiple regression equation for the data given below. x1: -3, -2, -1, 2 ,3 x2: -4, 1, -1, -1, 2 y: 1, -9, 1, 13, 8 The equation is y^= _____+ ______ x1 + _____ x2.
Find the equation of the regression line for the given data. Round values to the nearest...
Find the equation of the regression line for the given data. Round values to the nearest thousandth. x   y -5   11 -3   6 4   -6 1   -1 -1   3 -2   4 0   1 2   -4 3   -5 -4   8
Find the equation of the regression line for the given data. Round values to the nearest...
Find the equation of the regression line for the given data. Round values to the nearest thousandth. x y −5 −10 −3 −8 4    9 1    1 −1 −2 −2 −6 0 −1 2 3 3 6 −4 −8 ._____________________ A. y=0.522x−2.097 B. y=−0.552x+2.097 C. y=2.097x+0.552 D. y=2.097x−0.552
Use the given data to find the equation of the regression line. Examine the scatterplot and...
Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. x 9 9 11 10 10 14 5 4 11 6 6 y 7.25 6.73 12.84 7.29 7.63 8.55 6.36 5.24 7.93 6.67 5.74 1.)Create a scatterplot of the data. Choose the correct graph below. 2.)Find the equation of the regression line. Identify a characteristic of the data that is ignored...
11.2 Understanding the Fitted Regression Line. The fitted regression equation for a multiple regression is ŷ...
11.2 Understanding the Fitted Regression Line. The fitted regression equation for a multiple regression is ŷ = - 10.8 + 3.2*x1 + 2.8*x2 If x1 = 4 and x2 = 2, what is the predicted value of y? For the answer to part (a) to be valid, is it necessary that the values x1 = 4 and x2 = 2 correspond to a case in the data set? Explain why or why not? If you hold x1 at a fixed...
Use the given data to find the equation of the regression line. Examine the scatterplot and...
Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. x 9 8 11 9 10 13 6 4 12 7 5 y 7.24 7.08 13.32 7.2 7.47 8.99 5.84 5.23 8.55 6.61 5.62 Create a scatterplot of the data. Choose the correct graph below. A. 0510152025 0510152025xy A scatterplot has a horizontal x-scale from 0 to 25 in intervals of...
For this problem, use the multiple regression equation below to complete parts (a) and (b). Yi=10+5X1i+3X2i...
For this problem, use the multiple regression equation below to complete parts (a) and (b). Yi=10+5X1i+3X2i a. Interpret the meaning of the slopes. A. If X1 increases one unit, Y increases 3 units. If X2 increases one unit, Y increases 5 units. B. If X2 is constant, when X1 increases one unit, Y increases 5 units. If X1 is constant when X2 increases one unit, Y increases 3 units. Your answer is correct. C. If X1 increases one unit, Y...
Consider an estimated multiple regression model as given below. log(y)ˆ=3.45+0.12log(x1)−0.42x2+0.36x3 Which of the following statements is...
Consider an estimated multiple regression model as given below. log(y)ˆ=3.45+0.12log(x1)−0.42x2+0.36x3 Which of the following statements is correct in relation to the above estimated model? 1. If x3 increases by 1 unit, y declines by 0.36 2. If x2 falls by 2 per cent, log(y) decreases by 42percent 3. When the values of x1, x2 and x3 are three, the predicted value of y is 5.2 4. f x1 increases by 1 percent, y rises by 0.12 percent
Use the given data to find the equation of the regression line. Examine the scatterplot and...
Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. x 5 12 4 10 7 9 6 14 13 11 8 y 10.29 21.86 7.42 20.07 15.11 18.72 12.86 22.42 22.29 21.11 17.07 y^= _+_x?
For the data below, compute the Pearson correlation and find the regression equation for predicting Y...
For the data below, compute the Pearson correlation and find the regression equation for predicting Y from X. X Y 1 2 2 3 4 2 5 6 8 7 Part 1: What is SSX?