Académique Documents
Professionnel Documents
Culture Documents
Statistical Inference
Comparing more than two sample means One Oneway analysis of variance The method is applied to compare means of more than 2 independent samples, (k2, where k is the number of groups or populations).
Cochran Q Test
B. Independent Sample
2 independent sample
Independent t-test
One-way Analysis of Variance Kruskal Wallis Analysis of or Complete Randomized Design Variance (CRD) Regression, Correlation Spearman Rank correlation
C. Measures of Association
Kappa Test
Statistical Inference
Comparing more than two sample means One Oneway analysis of variance or Complete Randomized Design Assumptions: 1. The k sets of observed data constitute the k random samples from their respective populations. 2. x1, x2, x2, xn are normally distributed with respective means, and variances, 2. 3. The populations have equal variances, 2 2 2 2 1 = 1 = 1 = = n
Statistical Inference
Example: A study was conducted to determine the best method of preserving the ascorbic acid content of a certain orange variety. Twenty one samples were randomly allocated to 3 methods. Compare the ascorbic acid obtained by the 3 methods
5
Statistical Inference
The following were the ascorbic acid contents in mg/100 mg of fruit. Methods A B C 14.29 20.06 20.04 19.10 20.64 26.26 19.09 18.00 22.74 16.25 19.56 24.04 15.09 19.47 23.37 16.61 19.07 25.02 19.63 18.38 23.27 ------------------------------------ Totals / x 120.06 135.18 164.71 419.95 ( x/ grand Total) Means / x 17.15 19.31 23.53
Statistical Inference
Hypothesis Testing:
H0: x A = x B = xC Hi: x A x B xC
= 0.050 MStreatment Statistical test: F test = -------------MSerror Critical region: all values F( =0.050,df=k-1, n-k) or =0.050,df=k- nall values F( =0.050,df,3-1,21-3) =0.050,df,3-1,21= 3.55 all values F( =0.050,df,2,18) = 3.55
Significance level:
Statistical Inference
Area of acceptance = 195% 99% 99.9% /2 /2, 2 sided test 0.025 0.025, .005, .0005 I------------ ---------------------------------------- ----------I F 3.55 0 3.55
Statistical Inference
Computations
Sources of variation Treatment(k) Error Total n-k n-1 ss error ss total sserror/n-k df k-1 Sum of squares sstx Mean square sstx /k-1 MStx/ MSerror F
Statistical Inference
sstotal = Computation: ( x)2 ( x)2 sstx = ---------- - ---------nk total n critical region: computed F F( ,(k-1,n-k)) ,(k-1,n-
(120.06)2 + (135.18)2 + (164.71)2 (419.95)2 = ----------------------------------------------- - ------------- = 8545.3455 8398 7 21 = 147.3455 ( x)2 x2 - --------n
10
Statistical Inference
Sources of variation Treatment Error Total Df Sum of squares 147.3455 54.9672 202.3127 Mean square F
73.67 3.05
24.15
11
Statistical Inference
Area of acceptance = 195% 99% 99.9% /2 /2, 2 sided test 0.025 0.025, .005, .0005 I------------ -------- -------------------------------- ----------I F 24.15 3.55 0 3.55 24.15
12
Statistical Inference
Conclusion: Computed F, 24.15 > 24. F( =0.050,df=2, 18) = 3.55 =0 050,df=2 18) Reject the null hypothesis in favor of the alternative hypothesis.
13
Statistical Inference
Analysis of Variance Analysis or Variance for Repeated Measures MStreatment The test statistics is the F test = --------------MSerror
14
Type of Problem
Continuous/Discrete Interval/Ratio
Ordinal
Nominal
Parametric test
A. Related Sample 2 related samples Paired t-test
McNemar Test
Cochran Q Test
B. Independent Sample
2 independent sample
Independent t-test
15
Statistical Inference
F-test
Sources of variation Df Sum of squares Mean square F Blocks b-1 ssblock ssblock /b-1 mstx / mserror Treatment k-1 ss tx sstx /k-1
Error
(b-1)(k-1)
ss error
ss error /(b-1)(k-1)
Total
(b)(k)-1
ss total
16
Statistical Inference
Example: Four overweight subjects participated in a study to compare changes in weight in 4 weeks observation periods with a weight regimen. Compare weights at the 4 observation periods.
17
Statistical Inference
Subject 1 2 3 4 Totals Means SD Week Week 1 2 12 15 15 18 60 26 29 27 38 120 Week 3 24 23 25 33 105 26.25 4.57 Week Total 4 s 23 25 24 31 103 85 92 91 120 388
Statistical Inference
Hypothesis Testing: _ _ _ _ H0: xA = xB = xC = xD _ _ _ _ Hi: xA xB xC xD = 0.050 MStreatment Statistical test: F test = -------------MSerror
19
Significance level:
Statistical Inference
Critical region: all values F(
=0.050,df=(r-1)(b-1)) =0.050,df=(r-1)(b-
20
Statistical Inference
F-test
Sources of variation Df Sum of squares Mean square F
Blocks
4-1=3
183.5
183.5/3=61.17
replications
4-1=3
499.5
499.5/3=166.5
Error
(3(3)=9
26.0
26/9=2.89
Total
16-1=15
709.0
21
Statistical Inference
.Conclusion: Computed F, 57.61 > F( =0.050,df=9) = 3.86, p=0.000 Reject the null hypothesis in favor of the alternative hypothesis.
22