Question

In: Statistics and Probability

Here are some test scores from eight students in a class such as yours: Second Test...

Here are some test scores from eight students in a class such as yours:

Second Test Score: 158, 162, 144, 162, 136, 158, 175, 153

First Test Score: 145, 140, 145, 170, 145, 175, 170, 160

A.) Pick an explanatory variable, and explain your choice

B.) Using this data make a scatter plot

C.) Find the correlation, and graph the line of best fit on the scatter plot

Solutions

Expert Solution

a) Let Y : Second Test score .

X : First test score.

Since the second test score depends on first test score.

Hence first test score (X) is an explanatory variable or independent variable.

and second test score (Y) is an explained variable or dependent variable.

b) Scatter diagram

By using R

> x= c( 145,140,145,170,145,175,170,160)
> y=c(158,162,144,162,136,158,175,153)
> plot(x,y,xlab="First test score", ylab="Second test score", main = "Scatter diagram")

c) By using R

> x= c( 145,140,145,170,145,175,170,160)
> y=c(158,162,144,162,136,158,175,153)
> r= cor(x,y)
> r
[1] 0.5194218
> line=lm(y~x)
> line

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x
87.3063 0.4396

> coeff=coefficients(line)
> eq = paste0("y = ", round(coeff[2],1), "*x ","+", round(coeff[1],1))
> eq
[1] "y = 0.4*x +87.3"
> data=data.frame(x,y)
> plot(data,main=eq)
> abline(line,col="red")

From R - output

The correlation coefficient between X and Y is 0.5194218.

and equation of line of best fit is Y = 0.4 *X + 87.3

Y-intercept = 87.3 and Slope of line = 0.4.


Related Solutions

Test scores for a sample of 20 students in a managerial accounting class are shown. (a)...
Test scores for a sample of 20 students in a managerial accounting class are shown. (a) At α = .05, is there a difference in the population median scores on the two tests? Fill in the right side of the worksheet below. (Round your Rank, R+, and R– answers to 1 decimal place. Negative values should be indicated by a minus sign.) Student Test 1 Test 2 d |d| Rank R+ R– 9 52 53 12 95 96 8 71...
In the table below, there are test scores from a dozen students. The test was worth...
In the table below, there are test scores from a dozen students. The test was worth 200 points. The scores in the table are the # of points out of 200. Letter grades will be assigned using the standard grade boundaries given below. Last Name First Name Test Score Henry David 190 Johnson Sally 100 Olvera Samuel 170 Chen Ken 175 Patel Andrea 198 Johnson Terry 150 Smith John 165 Jones Jonas 180 Swanson Summer 178 Anderson Bryce 175 Fish...
In the table below, there are test scores from a dozen students. The test was worth...
In the table below, there are test scores from a dozen students. The test was worth 200 points. The scores in the table are the # of points out of 200. Letter grades will be assigned using the standard grade boundaries given below. Last Name First Name Test Score Henry David 190 Johnson Sally 100 Olvera Samuel 170 Chen Ken 175 Patel Andrea 198 Johnson Terry 150 Smith John 165 Jones Jonas 180 Swanson Summer 178 Anderson Bryce 175 Fish...
A class consisting of 10 students takes a test. The scores are approximately normally distributed with...
A class consisting of 10 students takes a test. The scores are approximately normally distributed with a mean of 74 and a standard deviation of 11. The teacher wants to curve the grades in the following manner: the top 5% get As, the next highest 12% get Bs, the bottom 5% get Fs, and the next lowest 12% get Ds. The rest will get Cs. Find the Z-scores for each line and the test score corresponding to each z score
Here are some important figures from the budget of Cornell, Inc., for the second quarter of...
Here are some important figures from the budget of Cornell, Inc., for the second quarter of 2017 April May June Credit sales $ 324,000 $ 304,000 $ 364,000 Credit purchases 132,000 155,000 180,000 Cash disbursements Wages, taxes, and expenses 44, 400 11,900 63,400 Interest 11,400 11,400 11,400 Equipment purchases 84,000 158,000 0 The company predicts that 5 percent of its credit sales will never be collected, 40 percent of its sales will be collected in the month of the sale,...
The table below includes reading test scores for 30 students in a 6th grade class. Follow...
The table below includes reading test scores for 30 students in a 6th grade class. Follow the steps outlined in the Corder & Foreman’s textbook (pp. 24-27) to examine the sample’s skewness and kurtosis for normality for an alpha (α) level of .05. Your response should be organized according to those steps. Report your findings. (10 points) (5 points each for skewness and kurtosis. For each 5 points= 2 points for SPSS Printout, 2 points for Z, and 1 point...
A professor has kept track of test scores for students who have attended every class and...
A professor has kept track of test scores for students who have attended every class and for students who have missed one or more classes. below are scores collected so far. perfect: 80,86,85,84,81,92,77,87,82,90,79,82,72,88,82 missed 1+:61,80,65,64,74,78,62,73,58,72,67,71,70,71,66 1. Evaluate the assumptions of normality and homoscedasticity 2. conduct a statistical test to assess if exam scores are different between perfect attenders and those who have missed class 3. What is the meaning of the 95% confidence interval given from the R code. What...
::Here is data:: about students in our class showing what country they are from and their...
::Here is data:: about students in our class showing what country they are from and their opinion about pineapple on pizza.   https://docs.google.com/spreadsheets/u/3/d/1a5nXmzTGaF_knVmvDkOrSQhpRfEp6edUXm1e7Ze-1_M/edit?usp=sharing Conduct a hypothesis test to compare the proportion of Shoreline students who love pineapple on pizza (answered “YEAH!” on the survey) who are from Asia and the proportion of students who love pineapple on pizza who are from North America. For each of the steps below, explain your work in words, symbols, and pictures. Write the null and...
In a study of memory recall, eight students from a large psychology class were selected at...
In a study of memory recall, eight students from a large psychology class were selected at random and given 10 minutes to memorize a list of 20 nonsense words. Each was asked to list as many of the words as he or she could remember both 1 hour and 24 hours later. The data are as shown in the accompanying table. Use these data to estimate the difference in mean number of words remembered after 1 hour and after 24...
Here is the data for our experiment. The data are the SMUT scores of the students...
Here is the data for our experiment. The data are the SMUT scores of the students in each group. Notice that we have a different number (n) for the lecture group. This is to show you that we can have uneven sets of data for ANOVA. Note: If we were doing a real study, we would have larger n’s. Enter the data into the Excel spread sheet, SPSS or your calculator Independent Variable Data Computer (n1= 8) 85, 87, 91,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT