Question

In: Statistics and Probability

Write the equation of the line. What is r? What is r squared? Using the equation...

Write the equation of the line.
What is r?
What is r squared?
Using the equation of the line if x is 25 what is y?
Using the equation of the line if y is 20 what is x.
x 25 32 27 24 26 18 20 23 20 16 19 15 20 27 27
y 28 34 36 28 31 22 24 26 24 23 22 13 23 35 29

Solutions

Expert Solution

I used R software to solve this question.

R codes and output:

> x=c(25,32,27,24,26,18,20,23,20,16,19,15,20,27,27)
> y=c(28,34,36,28,31,22,24,26,24,23,22,13,23,35,29)
> fit=lm(y~x)
> summary(fit)

Call:
lm(formula = y ~ x)

Residuals:
Min 1Q Median 3Q Max
-4.8794 -1.1275 -0.1275 0.6499 4.4565

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.7991 3.4361 0.233 0.82
x 1.1387 0.1489 7.645 3.66e-06 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 2.671 on 13 degrees of freedom
Multiple R-squared: 0.818, Adjusted R-squared: 0.804
F-statistic: 58.45 on 1 and 13 DF, p-value: 3.662e-06

1.

The equation of the line is

Y = 0.7991 + 1.1387 X

2.

r =

3.

r2 = 0.818

4.

If x is 25 then

Y = 0.7991 + 1.1387 X

Y = 0.7991 + 1.1387 (25)

Y = 29.2666

5.

If y is 20 then

Y = 0.7991 + 1.1387 X

20 = 0.7991 + 1.1387 X

X = (20 - 0.7991) / 1.1387

X = 16.8621


Related Solutions

Using R and R Commander, perform a Chi-squared test of independence with marstatus in the Columns...
Using R and R Commander, perform a Chi-squared test of independence with marstatus in the Columns and gender in the Rows. Click on Statistics tab and select the first three options under Hypothesis Tests. Copy the output and paste it below this question. Is the Chi-squared test significant at the 5% alpha level? Are the results reliable? Please see data below. Can you explain? Frequency table:         marstatus gender   Divorced Married Single Female        2       6      9 Male          1       0      6...
4) A high r squared or adjusted r squared does not mean a. The included variables...
4) A high r squared or adjusted r squared does not mean a. The included variables are statistically significant. b. That you have an unbiased estimator. c. That you have an appropriate set of regressors. d. all of the above. 5) The adjusted r squared is different from the standard r squared in that it a. is always higher b. accounts for correlation between the error term, and the regressors c. corrects for degrees of freedom (number of regressors included...
What can we expect to happen to R-squared and adjusted R-squared after including an additional explanatory variable to a regression?
What can we expect to happen to R-squared and adjusted R-squared after including an additional explanatory variable to a regression?O Both R-squared and adjusted R-squared will increase.O Both R-squared and adjusted R-squared will decrease.O R-squared will decrease but adjusted R-squared will increase.O R-squared will increase but adjusted R-squared will decrease.O More information is needed to answer.
Which is more appropriate in evaluating a model? R-squared = 51.17 % R-squared (adjusted for d.f.)...
Which is more appropriate in evaluating a model? R-squared = 51.17 % R-squared (adjusted for d.f.) = 50.09 %
Question 1: If R squared=0.64 for the linear regression equation Y= 3.2X+ 2.8 + error ,...
Question 1: If R squared=0.64 for the linear regression equation Y= 3.2X+ 2.8 + error , Where Y (or response variable) = stopping distance and X (or explanatory variable)= Velocity which of the following are true? a.) That 64 % of the variation in Stopping distance is explained by velocity and the correlation coefficient R= -0.8 b.) That 64 % of the variation in Stopping distance is explained by velocity and the correlation coefficient R= 0.8 c.) That velocity (X)...
Q2). Distinguish between the following: a) Unbiasedness and Consistency b) R-squared and Adjusted R-squared c) The...
Q2). Distinguish between the following: a) Unbiasedness and Consistency b) R-squared and Adjusted R-squared c) The error term and residuals d) Type I and Type II errors Q3). Explain the term BLUE in ordinary least square (OLS) analysis.
Define the following terms and give an example when appropriate. Regression equation Correlation coefficient R squared...
Define the following terms and give an example when appropriate. Regression equation Correlation coefficient R squared Confidence interval Z-value
Using software with the given​ data, find and interpret the multiple correlation and Upper R squared...
Using software with the given​ data, find and interpret the multiple correlation and Upper R squared for the relationship between yequalscollege ​GPA, x 1equalshigh school​ GPA, and x 2equalsstudy time. Use both interpretations of Upper R squared as the reduction in prediction error and the percentage of the variability explained. CGPA;HSGPA;Study Time 3.31;3.90;6 3.12;3.80;2 3.62;3.02;4 3.53;3.91;3 3.48;3.58;5 3.76;3.21;3 3.50;3.79;3 2.79;3.17;7 2.88;3.52;5 3.26;3.79;5 3.55;3.89;5 3.48;3.81;6 3.96;3.99;10 2.59;3.30;4 3.50;3.67;10 3.96;3.88;3 3.75;3.48;3 3.66;3.93;3 3.76;4.00;5 3.91;3.51;3 3.10;3.77;2 3.14;3.90;7 3.79;3.50;7 3.68;3.79;4 3.85;3.98;3 3.29;3.48;4 3.12;2.55;11 2.97;3.82;5...
8. What are some similarities and differences between a Pearson correlation (r) and r-squared (R2)?
8. What are some similarities and differences between a Pearson correlation (r) and r-squared (R2)?
*Please provide r studio code/file* 1) Find the equation of the best fit line using least...
*Please provide r studio code/file* 1) Find the equation of the best fit line using least squares linear fit of x,y: set.seed(88) x <- 1:100 y <- jitter(1.5*x+8,amount=10) 2) For question 1, Draw the P=0.95 prediction intervals for y when x=1:150 3) For question 1, Find the equation of the best fit line using median-based linear fit of x,y. 4) For question 3, draw the P=0.95 prediction interval for y # when x=1:150
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT