Question

In: Statistics and Probability

Consider the following data for a dependent variable y and two independent variables, x2 and x1....

Consider the following data for a dependent variable y and two independent variables, x2 and x1.

x1 x2 y

30 12 94

46 10 109

24 17 113

50 17 179

41 5 94

51 19 175

75 8 171

36 12 118

59 13 143

77 17 212

Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary.

a. Develop an estimated regression equation relating y to x1 . Predict y if x1=45.

b. Develop an estimated regression equation relating y to x2. Predict y if x2=25.

c. Develop an estimated regression equation relating y to x1 and x2. Predict y if x1=45 and x2=25.

Solutions

Expert Solution

Part a)  Estimated regression equation relating y to x1

The following data are passed:

x1 y
30 94
46 109
24 113
50 179
41 94
51 175
75 171
36 118
59 143
77 212

The independent variable is x1, and the dependent variable is y. In order to compute the regression coefficients, the following table needs to be used:

x1 y x1*y x12 y2
30 94 2820 900 8836
46 109 5014 2116 11881
24 113 2712 576 12769
50 179 8950 2500 32041
41 94 3854 1681 8836
51 175 8925 2601 30625
75 171 12825 5625 29241
36 118 4248 1296 13924
59 143 8437 3481 20449
77 212 16324 5929 44944
Sum = 489 1408 74109 26705 213546

Based on the above table, the following is calculated:Therefore, based on the above calculations, the regression coefficients (the slope m, and the y-intercept n) are obtained as follows:

Therefore, we find that the regression equation is:

y=48.7428+1.8826x1

Predict y if x1=45

y=48.7428+1.8826*(45)

= 133.4598 answer

Part b estimated regression equation relating y to x2.

The following data are passed:

x2 y
12 94
10 109
17 113
17 179
5 94
19 175
8 171
12 118
13 143
17 212

The independent variable is x2, and the dependent variable is y. In order to compute the regression coefficients, the following table needs to be used:

x2 y x2*y x22 y2
12 94 1128 144 8836
10 109 1090 100 11881
17 113 1921 289 12769
17 179 3043 289 32041
5 94 470 25 8836
19 175 3325 361 30625
8 171 1368 64 29241
12 118 1416 144 13924
13 143 1859 169 20449
17 212 3604 289 44944
Sum = 130 1408 19224 1874 213546

Based on the above table, the following is calculated:

Therefore, based on the above calculations, the regression coefficients (the slope m, and the y-intercept n) are obtained as follows:

Therefore, we find that the regression equation is:

y=75.8+5x2

Predict y if x2=25

y=75.8+5*(25)

= 200.8

Part c estimated regression equation relating y to x1 and x2.

These are the data that have been provided for the dependent and independent variables:

yy x1x1 x2x2
94 30 12
109 46 10
113 24 17
179 50 17
94 41 5
175 51 19
171 75 8
118 36 12
143 59 13
212 77 17

The following matrix and vector are defined in order to conduct the matrix calculation required to compute the estimated multiple regression coefficients:

Now, the vector with the estimated regression coefficients β​ is computed through the following matrix operation:

β​=(X′X)−1X′y

Therefore, based on the data provided, the estimated multiple linear regression equation is:

y=−15.5982+1.8772x1 + 4.9694x2

Predict y if x1=45 and x2=25.

y=−15.5982+1.8772*(45) + 4.9694*(25)

= 193.1108

Hit Thumb up if you like the solution. Thank you


Related Solutions

Consider the following data for a dependent variable y and two independent variables, x1 and x2.
You may need to use the appropriate technology to answer this question. Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 93 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 211 The estimated regression equation for these data is ŷ = −18.89 + 2.02x1 + 4.74x2. Here, SST = 15,276.0,...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 94 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 209 The estimated regression equation for these data is ŷ = −17.02 + 1.99x1 + 4.70x2. Here, SST = 14,902.9, SSR = 13,773.1, sb1 = 0.2470, and sb2 = 0.9480. (1a) Test...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 13 95 46 10 108 25 18 113 50 16 179 40 5 95 51 20 176 74 7 170 36 12 117 59 13 142 77 16 211 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y to x1. ŷ =_________ +___________ x1 Predict...
Consider the following data for a dependent variable y and two independent variables, x1 and x2....
Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 95 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 212 The estimated regression equation for these data is ŷ = −18.52 + 2.01x1 + 4.75x2. Here, SST = 15,234.1, SSR = 14,109.8, sb1 = 0.2464, and sb2 = 0.9457. (a)Test for...
Consider the following data for a dependent variable y and two independent variables, x1and x2. x...
Consider the following data for a dependent variable y and two independent variables, x1and x2. x 1 x 2 y 29 13 94 47 10 109 24 17 113 50 16 178 40 6 95 52 20 176 75 7 171 37 13 118 59 14 142 77 17 211 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating y to x1. ŷ =  +  x1 Predict y...
Consider the following data for a dependent variable and two independent variables, and . x1= 30...
Consider the following data for a dependent variable and two independent variables, and . x1= 30 46 24 50 41 51 74 36 60 77. x2 = 13 11 17 17 6 20 8 12 13 16. y = 95 109 112 178 94 176 170 117 142 212 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating to y to x1 . Predict y if...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and X3) in the data file. Select and use one independent variable throughout this analysis. Use Excel to perform the regression and correlation analysis to answer the following. Generate a scatterplot for the specified dependent variable (Y) and the selected independent variable (X), including the graph of the "best fit" line. Interpret. Determine the equation of the "best fit" line, which describes the relationship between...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and...
Use the dependent variable (labeled Y) and one of the independent variables (labeled X1, X2, and X3) in the data file. Select and use one independent variable throughout this analysis. Use Excel to perform the regression and correlation analysis to answer the following. The week 6 spreadsheet can be helpful in this work. 1. Generate a scatterplot for the specified dependent variable (Y) and the selected independent variable (X), including the graph of the "best fit" line. Interpret. 2 Determine...
5. Consider the following set of dependent and independent variables. y   x1   x2 10   1   17...
5. Consider the following set of dependent and independent variables. y   x1   x2 10   1   17 11   5   9 14   5   13 14   8   10 21   6   3 24   10   8 26   16   7 33   20   3 a. Using​ technology, construct a regression model using both independent variables. y=___+___x1+___x2 ​(Round to four decimal places as needed.) b. Test the significance of each independent variable using a=0.05 Test the significance of x1, Identify the null and alternative hypothesis c. Calculate the...
Consider a binary response variable y and two explanatory variables x1 and x2. The following table...
Consider a binary response variable y and two explanatory variables x1 and x2. The following table contains the parameter estimates of the linear probability model (LPM) and the logit model, with the associated p-values shown in parentheses. Variable LPM Logit Constant −0.40 −2.20 (0.03 ) (0.01 ) x1 0.32 0.98 (0.04 ) (0.06 ) x2 −0.04 −0.20 (0.01 ) (0.01 ) a. At the 5% significance level, comment on the significance of the variables for both models. Variable LPM Logit...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT