Find the correlation coefficient and the equation of the regression line of the following values of x and y. {(x,y)} = {(1,2),(2,5),(3,3),(5,8),(5,7)} Please show how to compute in R
Added by Jacqueline L.
Step 1
```R # Create the data x <- c(1, 2, 3, 5, 5) y <- c(2, 5, 3, 8, 7) # Calculate the correlation coefficient correlation <- cor(x, y) correlation ``` ** Show more…
Show all steps
Close
Your feedback will help us improve your experience
Adi S and 51 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Compute the coefficient of correlation between X and Y and hence obtain the equations of the regression lines from the following data: X: 22 26 29 30 31 31 34 35 Y: 20 20 21 29 27 24 27 31
Ameer S.
The two regression lines involving the two variables $x$ and $y$ are $Y=5.6+1.2 x$ and $X=12.5+0.6 y$. Find the means of $x$ and $y$ and their correlation coefficient.
Paul A.
Use the value of the correlation coefficient $r$ to calculate the coefficient of determination $r^{2}$. What does this tell you about the explained variation of the data about the regression line? About the unexplained variation? $$r=-0.328$$
Correlation and Regression
Measures of Regression and Prediction Intervals
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD