Solution-1:
use corr function to get the correlation coefficient.
lm function to fit a linear model of y on x
coefficient function to get slope and y intercept
Rcode:
verbalscore_x <- c(46,42,41,39,79,41,49,69,32,54)
Final_grade_y <- c(86,77,87,98,75,90,62,66,64,68)
cor(verbalscore_x,Final_grade_y)
lmod <- lm(Final_grade_y~verbalscore_x)
coefficients(lmod)
output:
Final_grade_y <- c(86,77,87,98,75,90,62,66,64,68)
> cor(verbalscore_x,Final_grade_y)
[1] -0.3234456
> lmod <- lm(Final_grade_y~verbalscore_x)
> coefficients(lmod)
(Intercept) verbalscore_x
90.9131396 -0.2766898
ANSWER(A)
r= -0.3234456
y^= 90.9131396 -0.2766898 *x
for tenth student,x=54,y^=90.9131396-0.2766898 *54= 75.97189
Residual=observed y-predicted y
=68-75.97189
Residual=-7.97189
Solution-2:
Rcode:
Females <- c(2,1,4,1,3,3,3,4,0,1)
males <- c(6,8,6,6,7,6,6,7,9,5)
t.test(Females,males,var.equal = TRUE,conf.level = 0.977)
output:
data: Females and males
t = -7.621, df = 18, p-value = 4.857e-07
alternative hypothesis: true difference in means is not equal to
0
97.7 percent confidence interval:
-5.834883 -2.965117
sample estimates:
mean of x mean of y
2.2 6.6
ANSWER:
confidence interval = (-5.834883 ,-2.965117)
46 2 (6 points) A study was conducted to determine whether the final grade of a...
46 2 (6 points) A study was conducted to determine whether the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for all 10 students in the class are shown in the table below. Student Verbal Score x Final Grade y 1 86 42 77 3 41 87 4 39 98 5 79 75 6 41...
1 76 (6 points) A study was conducted to determine whether the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for all 10 students in the class are shown in the table below. Student Verbal Score x Final Grade y 34 78 2 56 3 76 68 4 34 76 5 33 60 6 49...
(1 point) A study was conducted to determine whether the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for all 10 students in the class are shown in the table below. Student Verbal Score x Final Grade y 49 77 51 67 69 81 61 61 47 62 73 41 59 90 65 82 26...
(6 points) Golf-course designers have become concerned that old courses are becoming obsolete since new technology has given golfers the ability to hit the ball so far. Designers, therefore, have proposed that new golf courses need to be built expecting that the average golfer can hit the ball more than 240 yards on average. Suppose a random sample of 101 golfers be chosen so that their mean driving distance is 239.6 yards. The population standard deviation is 43.5. Use a...
Prev Up Next (1 pt) A study was conducted to determine whether the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for 10 students are shown in the table below Student Verbal Score x Final Grade y 34 36 62 79 46 100 75 95 96 73 79 63 71 70 4 65 25 60...
Unit-4-Exam-Part-2: Problem 2 Prev Up Next (2 pts) Random samples of female and male UVA undergraduates are asked to estimate the number of alcoholic drinks that a typical weekend. The data is below Females (Population 1):1,2, 4, 3, 4,3, 0, 4, 3,0 Males (Population 2): 7, 7,7,7,5, 6, 7,7,4, 4 Give a 93.6% confidence interval for the difference between mean female and male drink consumption. variances are equal.) on Confidence Interval
09:38 Prev Up Next (1 pt) A study was conducted to determine whether the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for 10 students are shown in the table below. al Score xFinal Grade y 73 63 29 70 75 72 72 76 84 71 4 52 26 30 59 72 10 Find the...
(2 points) The sample mean and standard deviation from a random sample of 32 observations from a normal population were computed as a = 22 and s = 5. Calculate the t statistic of the test required to determine whether there is enough evidence to infer at the 7% significance level that the population mean is greater than 17. Test Statistic = Random samples of female and male UVA undergraduates are asked to estimate the number of alcoholic drinks that...
Missed Classes Final Grade
4 75
6 80
1 91
4 71
0 95
2 83
0 91
5 86
2 96
Suppose a teacher recorded the attendance of her students in a recent statistics class because she wanted to investigate the linear relationship between the number of classes they missed and their final grades. The accompanying table shows these data for a random sample of nine students. Complete parts a through c. Click the icon to view the table...
in
a study of speed dating, male subjects were asked
+ 6 of 10 ( complete) HW Score: 26%, 2.6 of 10 pts Score: 0 of 1 pt 7.2.17-T Question Help In a study of speed dating, male subjects were asked to rate the attractiveness of their female dates, and a sample of the results is listed below (1 not attractive, 10 extremely attractive) Construct a confidence interval using a 90% confidence level. What do the results tell about the...