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...
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...
The number of hours 6 students watched television during the weekend and the scores of each...
The number of hours 6 students watched television during the weekend and the scores of each students who took a test the following Monday are tabulated below. Note: X= hours watched, Y=test score a) find the prediction equation b) predict the test score for 2.5 hours of TV watching. 0-93 1-86 2-82 3-74 4-84 5-72
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...
Applications I Consider the following data representing the total time (in hours) a student spent on...
Applications I Consider the following data representing the total time (in hours) a student spent on reviewing for the Stat final exam and the actual score on the final. The sample of 10 students was taken from a class and the following answers were reported. time score 0 23 4 30 5 32 7 50 8 45 10 55 12 60 15 70 18 80 20 100 Part 1: Use the formulas provided on the 3rd formula sheet to compute...
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...