June 13, 2012
Example: A study was conducted to see if a new therapeutic procedure is more effective than the standard treatment in improving the digital dexterity of certain handicapped persons. Twenty-four pairs of twins were used in the study, one of the twins was randomly assigned to receive the new treatment, while the other received the standard therapy. At the end of the experimental period each individual was given a digital dexterity test with scores as follows. 2
Since The variable concerning digital dexterity test scores is continuous The sample size is greater than 10 digital dexterity test score is normally distributed There are two groups and they are dependent Paired sample t-test 3
NewStandardDifference Total129 Mean65,4660,085,38 SD14,3814,465,65 H 0 : d = 0 H a : d > 0 t (23,0.05) = We conclude that the new treatment is effective. Since, reject H 0. 4
5 SPSS Output
6
Example: To test whether the weight-reducing diet is effective, 9 persons were selected. These persons stayed on a diet for two months and their weights were measured before and after diet. The following are the weights in kg: Subject Weights BeforeAfter Since The variable concerning weight is continous. The sample size is less than 10 There are two groups and they are dependent Wilcoxon signed ranks test 7
Subject WeightsDifference D i Sorted D i Rank Signed Rank BeforeAfter
T = 1.5 reject H 0, p<0.05 T = 1.5 < T (n=9,a =0.05) = 6 T = 1.5 < T (n=9,a =0.01) = 2 reject H 0, p<0.01 We conclude 99% confident that diet is effective. 9
10
11 Example: 35 patients were evaluated for arrhythmia with two different medical devices. Is there any statistically significant difference between the diagnose of two devices? Device I Device II Total Arrhythmia (+)Arrhythmia (-) Arrhythmia (+)10313 Arrhythmia (-)13922 Total231235
12 H 0 : P 1 =P 2 H a : P 1 P 2 Critical z value is ±1.96 Reject H 0
13 McNemar test approach: 2 (1,0.05) =3.841<5.1 p<0.05; reject H 0.
14 SPSS Output
Example: NK cell activity was measured for three groups of subjects: those who had low, medium, and high scores on Social Readjustment Rating Scale. The original observations, sample sizes, means and standard deviations are given in table. Is the mean NK cell activity different in three groups?
The variable concerning NK cell activity measures is continuous. There are three groups. Variances are equal in three groups. NK cell activity values in each group are normally distributed. The sample size of each group is greater than 10 One-Way ANOVA
12 13 N = GROUP HighModerateLow Mean 1 SD NKA
H 0 : 1 = 2 = 3 H a : Not all the i are equal. SSA=SST-SSW= =
MSW=SSW/34= /27=99.82 MSA=SSA/(3-1)= /2= F=MSA/MSW= /99.82=18.98 We conclude that not all population means are equal.
Since n 1 n 2, reject H 0 if 2.46<8.28, accept H 0. H 0 : 2 = >8.12, reject H 0. H 0 : 1 = >8.12, reject H 0. H 0 : 1 = 2 Statistical Decision LSDHypothesis
Example: Hamilton depression scores was measured for three groups of subjects and shown in table. Is the Hamilton depression scores different in three groups? SubjectGroup1Group2Group
Since The variable concerning Hamilton depression score is continuous The sample size is less than 10 There are three groups and they are independent Kruskal Wallis Test H 0 : The population distributions are all identical. H a : At least one of the populations tends to exhibit larger values than at least one of the other populations.
Group1Group2Group3 ScoreRankScoreRankScoreRank RiRi
KW=7.93 > χ 2 (2,a=0.05) = 5.99Reject H 0 We conclude that at least one of the populations tends to exhibit larger values than at least one of the other populations.
Multiple Comparisons Table GroupsStatistical Decision p< p< p>0.05
Example: A researcher wants to know whether the mothers age is affecting the probability of having congenital abnormality of neonatals or not. The collected data is given in the table: Congenital abnormality Total PresentAbsent Age groups > Total
H 0 : There is no relation between the age of mother and presence of congenital abnormality. Under the assumption that null hypothesis is true: (Expected count) Congenital abnormality PresentAbsent Age groups253 (7.2)22 (17.8) (12.1)34 (29.9) >3518 (9.8)16 (24.2)
Reject H 0
Congenital abnormalityχ2χ2 PresentAbsent Age groups 253 (7.2)22 (17.8) (12.1)34 (29.9) 1,95 >3518 (9.8)16 (24.2) 9,64 Omit the >35 age group
Congenital abnormality PresentAbsent Age groups H 0 is accepted
In older age groups, risk of having a baby with congenital abnormality is higher than the other age groups.
Example: A special diet program was given to 20 clinically obese people. Subjects BMI were measured before the diet and they have been followed for two months. BMI measures before the diet and after the end of each month following the diet are given in the table. Is the diet program effective?
The variable concerning BMI is continuous The sample size is greater than 10 BMI values are normally distributed There are three groups and they are dependent Repeated measures ANOVA
Sources of variationSSdfMSFSig. Times Subjects Error Diet program is effective on obese subjects BMI.
Example: To compare the effects on the clotting time of plasma of four different methods of treatment of the plasma. Samples of plasma from 8 subjects were assigned to the four treatments. Treatments SubjectIIIIIIIV
Since The variable concerning clotting time is continuous The sample size is less than 10 There are four groups and they are dependent Friedman Test
Treatments IIIIIIIV timeranktimeranktimeranktimerank Sum R i
2 (3,0.05) = < F r =14.96, p<0.05 Reject H 0. We conclude that at least one of the treatments were different from the other treatments.
Example: Four radiologists have evalueted 12 patient whether they have lesion or not; H 0 : There is no difference between the decision of radiologists Since The variable is categorical (0 and 1) There are four groups and they are dependent Cochran Q Test
Subject Radiologist IRadiologist IIRadiologist IIIRadiologist IV RiRi CjCj
Q Calculated = > 2 (3,0.05) =7.815 p<0.05 Reject H 0
Type of variables Number of groups Independent /Dependent Parametric test assumptionsName of tests Continuous1 –SatisfiedOne sample t test Continuous1 –Not satisfiedSign test Categorical1 –Sample size is largeOne sample proportion test Categorical1 –Sample size is smallOne sample chi square test Continuous2IndependentSatisfiedIndependent samples t test Continuous2IndependentNot satisfiedMann Whitney U Test Categorical2IndependentSample size is largeDifference between two population proportions Categorical2IndependentExpected count > 52*2 chi square test Categorical2Independent Expected count < 5 at least in one cellFisher's exact test Continuous2DependentSatisfiedPaired samples t test Continuous2DependentNot satisfiedWilcoxon signed rank test Categorical2DependentSample size is large Difference between two dependent population proportions Categorical2DependentSample size is smallMcNemar Test ContinuouskIndependentSatisfiedOne way ANOVA ContinuouskIndependentNot satisfiedKrıskal Wallis Test CategoricalkIndependentExpected count > 5r*c Chi square test ContinuouskDependentSatisfiedRepeated measures ANOVA ContinuouskDependentNot satisfiedFriedman test CategoricalkDependent –Cochran Q test