Question

Consider the following data on the number of hours taht 7 persons studied for a French...

Consider the following data on the number of hours taht 7 persons studied for a French test and their scores on the test

Hours studied (x) 3 9 14 4 3 12 10
Test score (y) 20 60 80 30 25 70 60

a) Find the equation of the least squares line that approximates the regression of the test scores on the number of hours studied

b) Predict the average test score of a person who studied 14 hours for the test.

Homework Answers

Answer #1

solution:

## R code Hours studied (x) and Test score (y)

x=c(3,9,14,4,3,12,10)
x
y=c(20,60,80,30,25,70,60)
fit=lm(y~x)
summary(fit)

## Answer:

1)
> x=c(3,9,14,4,3,12,10)
> x
[1] 3 9 14 4 3 12 10
> y=c(20,60,80,30,25,70,60)
> fit=lm(y~x)
> summary(fit)

Call:
lm(formula = y ~ x)

Residuals:
1 2 3 4 5 6 7
-3.8140 4.7209 -1.5000 0.9419 1.1860 -1.0116 -0.5233

Coefficients:
Estimate Std. Error t value Pr(>|t|)   
(Intercept) 8.0814 2.3469 3.443 0.0184 *  
x 5.2442 0.2636 19.897 5.93e-06 ***


The equation of the least squares line that approximates the regression
of the test scores on the number of hours studied


2)Average test score of a person who studied 14 hours for the test
i.e x=14

=81.500
thus,
average test score of a person who studied 14 hours for the test is 81.500

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
The data below are the number of hours slept the night before the test and the...
The data below are the number of hours slept the night before the test and the test scores of 9 randomly selected statistics students. Number of Absences, x 3 5 7 9 7 6 2 8 6 Test Grade %, y 62 71 80 82 93 65 51 89 54 a) Find the linear correlation coefficient, rounded to the nearest ten-thousandth (4 decimal places). b) Find the equation of the least-squares regression line. Round your values to the nearest ten-thousandth...
Predict a student’s GPA (y) based upon the number of hours studied per week (x). Hours/week...
Predict a student’s GPA (y) based upon the number of hours studied per week (x). Hours/week GPA 5 2.5 10 3.1 12 3.3 20 3.8 15 3.7 12 3.5 If you used the least-squares regression line to predict the GPA of a student who studied 40 hours per week that would be: a) residual b) interpolation c) extrapolation d) r2
A collection of paired data consists of the number of years that students have studied Spanish...
A collection of paired data consists of the number of years that students have studied Spanish and their scores on a Spanish language proficiency test. A computer program was used to obtain the least squares linear regression line and the computer output is shown below. Along with the paired sample data, the program was also given an x value of 2 (years of study) to be used for predicting test score. Equation: y = mx + b Statistics: r2 =...
For questions #5-12, refer to the following: Data from a random number of selected students was...
For questions #5-12, refer to the following: Data from a random number of selected students was obtained to see if there is a linear relationship between the hours of study (x) and the grade (y) received on an test. hours (x): 12 6 20 12 5 8 10 grade (y): 76 55 98 94 36 70 84 What is the value for SSxy? What is the value for SSyy? What is the value for SSxx? What is the value for...
You are given the following bivariate data about hours spent studying versus test grade in percent....
You are given the following bivariate data about hours spent studying versus test grade in percent. Below is the data collected from 5 different students. Studytime(hr) | test Grade(%) 2.0 72.4 2.5 77.0 3.5 86.0 4.0 94.8 5.5 97.1 Let x be the hour spent studying and y be the test grade in percent. Using the data above, we have the following: n = 5, x ̄ = 3.5, y ̄ = 85.46, sx = 1.369306, sy = 10.78369, r...
Consider the following data on study time (x) and subsequent test score ( y). x 20...
Consider the following data on study time (x) and subsequent test score ( y). x 20 15 12 10 7 14   y 100 85 75 72 64 80             Find the equation of the simple linear regression line for the data in question                 Calculate and interpret the coefficient of determination ( r2 ) for the data and regression from the question a) For the regression in the question , find the predicted test score for a      student who studies...
The following data show the brand, price ($), and the overall score for six stereo headphones...
The following data show the brand, price ($), and the overall score for six stereo headphones that were tested by a certain magazine. The overall score is based on sound quality and effectiveness of ambient noise reduction. Scores range from 0 (lowest) to 100 (highest). The estimated regression equation for these data is ŷ = 23.528 + 0.315x, where x = price ($) and y = overall score. Brand Price ($) Score A 180 76 B 150 71 C 95...
A least squares regression line to predict a student’s Stat145 test score (from 0-to-100) from the...
A least squares regression line to predict a student’s Stat145 test score (from 0-to-100) from the number of hours studied was determined from a class of 55 Stat145 students: ̂ = 46.2 + 2.71x. One student in the class studied for 16 hours and scored 87 on the exam. (a) (5 pts.) What is the predicted value of this student’s Stat145 exam score? (b) (5 pts.) What is the residual for this student? (c) (5 pts.) Explain what the slope...
The following data show the brand, price ($), and the overall score for six stereo headphones...
The following data show the brand, price ($), and the overall score for six stereo headphones that were tested by a certain magazine. The overall score is based on sound quality and effectiveness of ambient noise reduction. Scores range from 0 (lowest) to 100 (highest). The estimated regression equation for these data is ŷ = 25.465 + 0.305x, where x = price ($) and y = overall score. Brand Price ($) Score A 180 78 B 150   69 C 95...
The data below are the final exam scores of 10 randomly selected history students and the...
The data below are the final exam scores of 10 randomly selected history students and the number of hours they slept the night before the exam. Find the equation of the regression line for the given data. What would be the predicted score for a history student who spent 15 hours the previous night? Is this a reasonable question? Round your predicted score to the nearest whole number. Round the regression line values to the nearest hundredth. Hours, X, 3...