Presentation is loading. Please wait.

Presentation is loading. Please wait.

CORRELATION ANALYSIS.

Similar presentations


Presentation on theme: "CORRELATION ANALYSIS."β€” Presentation transcript:

1 CORRELATION ANALYSIS

2 Let X and Y are random variables and the correlation problem can be modeled by 𝐸(π‘Œ 𝑖 ) = 𝛼+𝛽 E(π‘₯ 𝑖 ) From an experimental point of view this means that we are observing random vector (X, Y ) drawn from some bivariate population.

3 Recall that if (X, Y ) is a bivariate random variable then the correlation coefficient 𝜌 is defined as 𝜌= 𝐸 (π‘‹βˆ’ πœ‡ π‘₯ ) π‘Œβˆ’ πœ‡ 𝑦 𝐸 (π‘‹βˆ’ πœ‡ π‘₯ ) 2 𝐸 (π‘Œβˆ’ πœ‡ 𝑦 ) 2 where ΞΌX and ΞΌY are the mean of the random variables X and Y , respectively.

4 Definition 19. 1. If (X1, Y1), (X2, Y2),
Definition If (X1, Y1), (X2, Y2), ..., (Xn, Yn) is a random sample from a bivariate population, then the sample correlation coefficient is defined as 𝑅= 𝑖=1 𝑛 ( 𝑋 𝑖 βˆ’ 𝑋 )( π‘Œ 𝑖 βˆ’ π‘Œ ) 𝑖=1 𝑛 ( 𝑋 𝑖 βˆ’ 𝑋 ) 2 𝑖=1 𝑛 ( π‘Œ 𝑖 βˆ’ π‘Œ ) 2 The corresponding quantity computed from data (x1, y1), (x2, y2), ..., (xn, yn) will be denoted by r and it is an estimate of the correlation coefficient 𝜌.

5 Theorem The sample correlation coefficient r satisfies the inequality βˆ’1≀ r ≀1. The sample correlation coefficient r = Β±1 if and only if the set of points {(x1, y1), (x2, y2), ..., (xn, yn)} for n β‰₯3 are collinear. Hence to test the null hypothesis Ho : 𝜌 = 0 against Ha : 𝜌 β‰ 0, at significance level𝛼, is β€œReject Ho : 𝜌 = 0 if |t| β‰₯ 𝑑 𝛼 2 (n βˆ’ 2), ,where t = π‘›βˆ’2 π‘Ÿ 1βˆ’ π‘Ÿ 2

6 Example The following data were obtained in a study of the relationship between the weight and chest size of infants at birth: Determine the sample correlation coefficient r and then test the null hypothesis Ho : 𝜌 = 0 against the alternative hypothesis Ha : 𝜌 β‰ 0 at a significance level 0.01 Answer: From the above data, we have x 2.76 2.17 5.53 4.31 2.30 3.70 y 29.5 26.3 36.6 27.8 28.3 28.6

7 𝑆 π‘₯π‘₯ = 𝑆 π‘₯𝑦 = 𝑆 𝑦𝑦 = Hence π‘Ÿ= 𝑆 π‘₯𝑦 𝑆 π‘₯π‘₯ 𝑆 𝑦𝑦 π‘Ÿ= (8.565)(65.788) = The computed t value is give by t = π‘›βˆ’2 π‘Ÿ 1βˆ’ π‘Ÿ 2 == 6βˆ’ βˆ’ (0.782) 2 = Since = |t| < 𝑑 (4) = we do not reject the null hypothesis Ho : 𝜌 = 0.


Download ppt "CORRELATION ANALYSIS."

Similar presentations


Ads by Google