Linear Correlation 2 Notes Spring

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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
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

This note was uploaded on 02/10/2012 for the course MAT 1670 taught by Professor Tanbakuchi during the Spring '11 term at University of Florida.

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 Right Arrow Icon
Ask a homework question - tutors are online