{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Linear Correlation 2 Notes Spring

# Linear Correlation 2 Notes Spring - Linear correlation 9 of...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Linear correlation 9 of 17 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●-4-2 2 4-15-5 5 10 r = -0.88 r^2 = 0.78 x y Hypothesis test for linear correlation. Definition 1.5 requirements (1) simple paired ( x,y ) random samples, (2) Pairs of ( x,y ) have a bivariate normal distribution 2 , (3) correlation is linear. null hypothesis ρ = 0 (no linear correlation) alternative hypothesis ρ 6 = 0 ( a linear correlation exists 3 ) Always make a scatter plot first to see if the relationship is linear. Linear correlation coefficient r and hypothesis test: cor.test(x, y) Calculates r from the sample and conducts the hypothesis test for H ρ = 0. x vector of ordered x data. y vector of ordered y data. R Command Test statistic for linear correlation coefficient t = r- q 1- r 2 n- 2 (2) where df = n- 2. Note: n is number of pairs. Procedure for finding r 1. Define two ordered vectors ( x and y ) with the data....
View Full Document

{[ snackBarMessage ]}

### Page1 / 4

Linear Correlation 2 Notes Spring - Linear correlation 9 of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online