Presentation is loading. Please wait.

Presentation is loading. Please wait.

F Test. When we want to test the equality of variances of two normal populations, we make use of F- test based on F-distribution. When we want to test.

Similar presentations


Presentation on theme: "F Test. When we want to test the equality of variances of two normal populations, we make use of F- test based on F-distribution. When we want to test."— Presentation transcript:

1 F Test

2 When we want to test the equality of variances of two normal populations, we make use of F- test based on F-distribution. When we want to test the equality of variances of two normal populations, we make use of F- test based on F-distribution. In such a situation, the null hypothesis happens to be Ho : σ 2 p1 = σ 2 p2 In such a situation, the null hypothesis happens to be Ho : σ 2 p1 = σ 2 p2 Σ 2 p1 and σ 2 p2 representing the variances of two normal populations Σ 2 p1 and σ 2 p2 representing the variances of two normal populations

3 F test Uses of F test 1)F-test for testing the equality of several population means i.e. testing µ 1 = µ 2 = ……µ k ( for normal population) µ 1 = µ 2 = ……µ k ( for normal population) 2) F-test is for testing the significance of an observed sample correlation ratio. 3) F-test is for test the Linearity of Regression. 4) For testing the significances of an observed sample multiple correlation. sample multiple correlation.

4 F Test This test is also known as variance- Ratio Test This test is also known as variance- Ratio Test To test this other ratio of F is calculated as follows: To test this other ratio of F is calculated as follows: s 1 2 s 1 2 F = where s 1 2 > s 2 2 F = where s 1 2 > s 2 2 s 2 2 s 2 2 s 1 2 = is calculated by s 1 2 = is calculated by ∑ (x 1 –  x 1 ) 2 ∑ (x 1 –  x 1 ) 2 s 1 2 = s 1 2 = n n 1 - 1

5 S 2 2 is calculated by: ∑ ( x 2 –  x 2 ) 2 ∑ ( x 2 –  x 2 ) 2 s 2 2 = s 2 2 = n n n1 and n2 refer to the number of items in first and second samples respectively. Here also reference is made to the calculated value of F to its table value (generally at 5% level of significance). If calculated value of F is less than the table value of F at a certain degree f freedom, it is said that the ratio is not significant and so the samples could have come from two normal populations with the same variance and vice- versa.

6 It may be recalled that in the ‘F’ ratio, the numerator is greater than the denominator i.e. It may be recalled that in the ‘F’ ratio, the numerator is greater than the denominator i.e. Larger estimate of population variance Larger estimate of population variance F = Smaller estimate of population variance Smaller estimate of population variance Thus the larger of the two sample variances is to be taken in the numerator Thus the larger of the two sample variances is to be taken in the numerator Let us assume that S1 2 > S2 2 Let us assume that S1 2 > S2 2 However S2 2 > S1 2, we would defined the ‘F” ratio as S2 2 / S1 2

7 Example From the normal population two random samples drawn provided the following- Sample A : Sample B : s 1 2 s 1 2 F = F = s 2 2 s 2 2 ∑ (x 1 –  x 1 ) 2 ∑ (x 1 –  x 1 ) 2 s 1 2 = s 1 2 = n 1 – 1 n 1 – 1 ∑ ( x 2 –  x 2 ) 2 ∑ ( x 2 –  x 2 ) 2 s 2 2 = s 2 2 = n n 2 - 1

8 The calculation of s 1 2 and s 2 2 is made as is given under Sample A X 1 (x 1 –  x 1 ) (x 1 –  x 1 ) 2 Sample B X 2 (x 2 –  x 2 )(x 2 –  x 2 ) X 1 = 220X 1 =0 ∑(x 1 –  x 1 ) 2 = 120 X 2 = 420X 2 = 0 (x 2 –  x 2 ) 2 = 314

9 X1 = = 22 x2 = = ∑ (x 1 –  x 1 ) ∑ (x 1 –  x 1 ) s 1 2 = = = n n ∑ ( x 2 –  x 2 ) ∑ ( x 2 –  x 2 ) s 2 2 = = = s 2 2 = = = n n

10 s s F = = F = = s s But since numerator is always the greater variance.Therefore, F = = Degrees of freedom (12-1) =11 and (10-1) = 9 f = 3.11 Degrees of freedom (12-1) =11 and (10-1) = 9 f 0.5 = 3.11 The table value of F at 11 and 9 degrees of freedom at 5 % level of significance is 3.11 which is greater that the calculated value of F (2.14). The table value of F at 11 and 9 degrees of freedom at 5 % level of significance is 3.11 which is greater that the calculated value of F (2.14). Therefore, the hypothesis set is accepted and the sample may well be drawn from the same population as the two populations have the same variance. Therefore, the hypothesis set is accepted and the sample may well be drawn from the same population as the two populations have the same variance.

11 Assumptions for F-test The following assumptions are required for the validity of the F test for comparing variances of two populations The following assumptions are required for the validity of the F test for comparing variances of two populations 1.: i.e. the values in each populations are normally distributed 1.Normality: i.e. the values in each populations are normally distributed 2.Homogeneity: i.e. the variance within each population are equal ( σ 1 2 = σ 2 2 = σ 2 ) The assumption is needed in order to combine or pool the variances within the populations into a single source of variation ‘within populations’. The assumption is needed in order to combine or pool the variances within the populations into a single source of variation ‘within populations’. 3. Independence of errors: It stipulates that the error i.e. variation of each value around its own population mean, should be independent of the value. 3. Independence of errors: It stipulates that the error i.e. variation of each value around its own population mean, should be independent of the value.

12 Example To compare the variability of dividends declared for a year, 9 companies were randomly selected from the IT sector and 8 companies were randomly selected from the pharmaceutical sector. To compare the variability of dividends declared for a year, 9 companies were randomly selected from the IT sector and 8 companies were randomly selected from the pharmaceutical sector. The sum of squares of the dividends from their respective means were found to be 160 to 91 respectively. Can we conclude that the variability in dividends of the companies in the two sectors is the same? The sum of squares of the dividends from their respective means were found to be 160 to 91 respectively. Can we conclude that the variability in dividends of the companies in the two sectors is the same?

13 Solution Let σ 1 2 and σ 2 2 represent the variances of dividends paid by IT sector and pharmaceutical companies. According to the hypotheses are: H O : σ 1 2 = σ 2 2 H 1 : σ 1 2 ≠ σ 2 2 ‘F’ test is known to be the appropriate test for test of such hypothesis

14 Accordingly, the appropriate statistic is s1 2 F = s2 2 Where, ∑ (x 1 –  x 1 ) 2 ∑ (x 1 –  x 1 ) 2 s 1 2 = n 1 – 1 n 1 – 1 ∑ (x 2 –  x 2 ) 2 ∑ (x 2 –  x 2 ) 2 s 2 2 = n 2 – 1 n 2 – 1 n 1 and n 2 being sample sizes from the two populations

15 Further, it is presumed that S 1 2 > S 2 2 Further, it is presumed that S 1 2 > S 2 2 the d.f. for ‘F’ are (n 1 -1), (n 2 -1) the d.f. for ‘F’ are (n 1 -1), (n 2 -1) However if S 1 2 < S 2 2 then the ‘F’ ratio is defined as However if S 1 2 < S 2 2 then the ‘F’ ratio is defined as s 2 2 F = with d.f. as (n 2 – 1), (n 1 -1) s 1 2 In the example, s 1 2 = = 20 s 2 2 = = 13 s 1 2 = = 20 s 2 2 = = – – ‘F’ = = 1.54 ‘F’ = = The tabulated value of ‘F’ for 8, 7 d.f. at 5 % level of significance is 3.73 The tabulated value of ‘F’ for 8, 7 d.f. at 5 % level of significance is 3.73 The calculated value of ‘F’ (=1.54) is less than the tabulated value of ‘F’ (=3.73) therefore, the null hypothesis is accepted. i.e. the variances of two p0pulations are equal. The calculated value of ‘F’ (=1.54) is less than the tabulated value of ‘F’ (=3.73) therefore, the null hypothesis is accepted. i.e. the variances of two p0pulations are equal.

16 Example With the help of following data about daily prices of stocks, one could compare variation in two stocks listed on BSE With the help of following data about daily prices of stocks, one could compare variation in two stocks listed on BSE DateONGC BSE RIL BSE

17 DateONGC (x 1 ) (x1 -  x 1)(x1 -  x ) 2 RIL (x 2 ) (x 2 -  x 2 ) (x 2 -  x 2 ) ∑ xx

18 ∑ (x 1 –  x 1 ) ∑ (x 1 –  x 1 ) s 1 2 = = = n 1 – n 1 – ∑ ( x 2 –  x 2 ) 2 ∑ ( x 2 –  x 2 ) s 2 2 = = = n 2 – 1 10 – 1 n 2 – 1 10 – 1 S 1 2 < S 2 2 then the ‘F’ ratio is defined as S 1 2 < S 2 2 then the ‘F’ ratio is defined as s F = = = 3.75 s

19 The tabulated value of ‘F’ for 9, 9 d.f. at 5 % level of significance is 3.18 The tabulated value of ‘F’ for 9, 9 d.f. at 5 % level of significance is 3.18 The calculated value of ‘F’ (= 3.75) is greater than the tabulated value of ‘F” 3.18 The calculated value of ‘F’ (= 3.75) is greater than the tabulated value of ‘F” 3.18 Therefore null hypothesis is rejected that is the variance of two populations are different. Therefore null hypothesis is rejected that is the variance of two populations are different.


Download ppt "F Test. When we want to test the equality of variances of two normal populations, we make use of F- test based on F-distribution. When we want to test."

Similar presentations


Ads by Google