Question

In: Statistics and Probability

The following data was collected to explore how the average number of hours a student studies...

The following data was collected to explore how the average number of hours a student studies per night and the student's GPA affect their ACT score. The dependent variable is the ACT score, the first independent variable (x1) is the number of hours spent studying, and the second independent variable (x2) is the student's GPA.

Effects on ACT Scores
Study Hours GPA ACT Score
3 3 17
3 3 17
4 4 21
5 4 27
6 4 31

Step 1 of 2 :  

Find the p-value for the regression equation that fits the given data. Round your answer to four decimal places.

Step 2 of 2 : Determine if a statistically significant linear relationship exists between the independent and dependent variables at the 0.01 level of significance. If the relationship is statistically significant, identify the multiple regression equation that best fits the data, rounding the answers to three decimal places. Otherwise, indicate that there is not enough evidence to show that the relationship is statistically significant.

Solutions

Expert Solution

#### R Statistical Software ####
StudyHours = c(3, 3, 4, 5, 6)
GPA = c(3, 3, 4, 4, 4)
ACTScore = c(17, 17, 21, 27, 31)

model = lm(ACTScore ~ StudyHours + GPA)
summary(model)

##
## Call:
## lm(formula = ACTScore ~ StudyHours + GPA)
##
## Residuals:
##          1          2          3          4          5
## -3.608e-15 3.659e-15 -3.333e-01 6.667e-01 -3.333e-01
##
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)  
## (Intercept)   4.0000     2.2730   1.760   0.2205  
## StudyHours    5.0000     0.4082 12.247   0.0066 **
## GPA          -0.6667     0.9718 -0.686   0.5636  
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.5774 on 2 degrees of freedom
## Multiple R-squared: 0.9957, Adjusted R-squared: 0.9914
## F-statistic: 231.8 on 2 and 2 DF, p-value: 0.004296

#### Step 1 of 2: ####
pvalue = 1 - pf(summary(model)$fstatistic[1], summary(model)$fstatistic[2], summary(model)$fstatistic[3])
round(pvalue, 4)

## value
## 0.0043

#### Step 2 of 2: ####
# as the pvalue < alpha = 0.01, implies that there exist a statistically significant
# relationship between the independent and the dependent variable
intercept = summary(model)$coefficients[1, 1];intercept

## [1] 4

Coefficient_X1 = round(summary(model)$coefficients[2, 1], 3);Coefficient_X1

## [1] 5

Coefficient_X2 = round(summary(model)$coefficients[3, 1], 3);Coefficient_X2

## [1] -0.667

## regression equation is y = 4 + 5*x1 - 0.667*x2


Related Solutions

The following data was collected to explore how the average number of hours a student studies...
The following data was collected to explore how the average number of hours a student studies per night and the student's GPA affect their ACT score. The dependent variable is the ACT score, the first independent variable (x1x1) is the number of hours spent studying, and the second independent variable (x2x2) is the student's GPA. Effects on ACT Scores Study Hours GPA ACT Score 22 22 1717 33 22 1818 33 22 1818 55 22 2121 55 44 2727 Copy...
The following data was collected to explore how the average number of hours a student studies...
The following data was collected to explore how the average number of hours a student studies per night and the student's GPA affect their ACT score. The dependent variable is the ACT score, the first independent variable (x1) is the number of hours spent studying, and the second independent variable (x2) is the student's GPA. Effects on ACT Scores Study Hours GPA ACT Score 0 2 16 1 2 19 3 2 24 4 3 27 5 3 30 Copy...
The following data was collected to explore how the average number of hours a student studies...
The following data was collected to explore how the average number of hours a student studies per night and the student's GPA affect their ACT score. The dependent variable is the ACT score, the first independent variable (x1 x 1 ) is the number of hours spent studying, and the second independent variable (x2 x 2 ) is the student's GPA. Study Hours   GPA   ACT Score 1   2   18 5   2   27 5   3   29 6   3   31 6   3  ...
The following data was collected to explore how the average number of hours a student studies...
The following data was collected to explore how the average number of hours a student studies per night and the student's GPA affect their ACT score. The dependent variable is the ACT score, the first independent variable (x1) is the number of hours spent studying, and the second independent variable (x2) is the student's GPA. Effects on ACT Scores Study Hours GPA ACT Score 0 2 16 1 2 19 3 2 24 4 3 27 5 3 30 Find...
A statistics teacher collected the following data to determine if the number of hours a student...
A statistics teacher collected the following data to determine if the number of hours a student studied during the semester could be used to predict the final grade for the course. The default level of significance is .05 in excel. Use the default level of significance. Student Hours Studying Final Grade 1 42 92 2 58 95 3 32 81 4 39 78 5 37 75 6 51 88 7 49 85 8 45 85 1.  Is β1 statistically significant? State...
The following data was collected to explore how the number of square feet in a house,...
The following data was collected to explore how the number of square feet in a house, the number of bedrooms, and the age of the house affect the selling price of the house. The dependent variable is the selling price of the house, the first independent variable (x1x1) is the square footage, the second independent variable (x2x2) is the number of bedrooms, and the third independent variable (x3x3) is the age of the house. Effects on Selling Price of Houses...
The following data was collected to explore how the number of square feet in a house,...
The following data was collected to explore how the number of square feet in a house, the number of bedrooms, and the age of the house affect the selling price of the house. The dependent variable is the selling price of the house, the first independent variable (x1) is the square footage, the second independent variable (x2) is the number of bedrooms, and the third independent variable (x3) is the age of the house. Effects on Selling Price of Houses...
The following data was collected to explore how the number of square feet in a house,...
The following data was collected to explore how the number of square feet in a house, the number of bedrooms, and the age of the house affect the selling price of the house. The dependent variable is the selling price of the house, the first independent variable (x1x1) is the square footage, the second independent variable (x2x2) is the number of bedrooms, and the third independent variable (x3x3) is the age of the house. Square Feet   Number of Bedrooms   Age  ...
The following data was collected to explore how the number of square feet in a house,...
The following data was collected to explore how the number of square feet in a house, the number of bedrooms, and the age of the house affect the selling price of the house. The dependent variable is the selling price of the house, the first independent variable (x1x1) is the square footage, the second independent variable (x2x2) is the number of bedrooms, and the third independent variable (x3x3) is the age of the house. Effects on Selling Price of Houses...
The following data was collected to explore how the number of square feet in a house,...
The following data was collected to explore how the number of square feet in a house, the number of bedrooms, and the age of the house affect the selling price of the house. The dependent variable is the selling price of the house, the first independent variable (x1) is the square footage, the second independent variable (x2) is the number of bedrooms, and the third independent variable (x3) is the age of the house. Effects on Selling Price of Houses...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT