Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 HYPOTHESIS TESTING: ABOUT MORE THAN TWO (K) RELATED POPULATIONS.

Similar presentations


Presentation on theme: "1 HYPOTHESIS TESTING: ABOUT MORE THAN TWO (K) RELATED POPULATIONS."— Presentation transcript:

1 1 HYPOTHESIS TESTING: ABOUT MORE THAN TWO (K) RELATED POPULATIONS

2 2 Often, one wants to administer the same test to the same subjects repeatedly over a period of time or under different circumstances. In essence, one is interested in examining differences within each subject, for example, subjects' improvement over time. Such designs are referred to as within-subjects designs or repeated measures designs. Repeated Measures ANOVA

3 3 For example, imagine that one wants to monitor the improvement of students' algebra skills over three months of instruction. A standardized algebra test is administered after one month (level 1 of the repeated measures factor), and comparable tests are administered after two months (level 2 of the repeated measures factor) and after three months (level 3 of the repeated measures factor). Thus, the repeated measures factor (Time) has three levels.

4 4 Mean n x it x ij x i1 i x 1t x 1j x 11 1 tj1 Mean Time Subject

5 5 Repeated measures can occure in different ways: Repeated measures can be taken at different time points in a single group. Repeated measures can be taken at different time points in several groups.

6 6 Example Temperatures of the forehead (in degrees Celsius) measured at 30-minute intervals in a single group of subjects are given in the table. H 0 :There is no difference between time periods

7 7 There is no difference between time periods.

8 8 Example Temperatures of the forehead (in degrees Celsius) measured at 30- minute intervals in two groups of subjects are given in the table.

9 9 Three pairs of hypotheses can be tested: 1.Hypothesis on groups 2.Hypothesis on time points 3.Hypothesis on interaction

10 10

11 11 Cochrans Q Test Cochrans Q Test extends McNemar Test to examine change in a dichotomous variable (0-1) across more than two observations. It is a particularly appropriate test when subjects are used as their own controls and dichotomous outcome variable is measured across multiple time periods or under several types of conditions.

12 12 where k: # of conditions or time periods N: # of subjects G j : The total # of 1s in the jth column L i : The total # of 1s in the ith row Post hoc tests are necessary to determine where the differences lie.

13 13 ExampleThe children in the anxiety reduction intervention groups were evaluated for the presence of certain symptom before and after the intervention. Presence of symptom SubjectPreint.Postint. 110 210 311 400 510 610 711 810 911 1010 Is the clinical intervention effective in reducing the symptom? Since the pretest-posttest measure is dichotomous and the data are paired, the use of McNemar test is appropriate to answer this question.

14 14 Suppose one month after the end of the intervention program a third measurement is taken from all children. Is the proportion of children who presents the symptom (yes,no) same across all three data collection periods? Since there are now three points of data collection, the McNemar test can no longer be used. Cochrans Q test, however, woud be appropriate. H 0 : the proportion of yes responses with regard to the presence of the symptom same across all three time periods for those children.

15 15 Presence of symptom Subj Preint.PostintOne month later. LiLi 11012 21001 31113 40000 51012 61012 71113 81001 91113 101001 GjGj 93618 2 (2,0.05) =5.99 { "@context": "http://schema.org", "@type": "ImageObject", "contentUrl": "http://images.slideplayer.com/5/1508004/slides/slide_15.jpg", "name": "15 Presence of symptom Subj Preint.PostintOne month later.", "description": "LiLi 11012 21001 31113 40000 51012 61012 71113 81001 91113 101001 GjGj 93618 2 (2,0.05) =5.99

16 16 Friedman Test The Friedman Test extends the Wilcoxon Signed Ranks Test to include more than two time periods of data collection or conditions Where R j : The sum of the ranks for column j N: The # of subjects k: # of time periods or conditions This statistic is distributed as a chi-square with df=k-1.

17 17 Multiple Comparisons Test Once a determination has been made that the overall Friedman test is significant, post hoc tests can be undertaken that compare the differences in average ranks for all possible pairs to determine where the differences lie. The null hypothesis of no differences in mean ranks of the pairs being examined will be rejected if absolute value of these differences is greater than a specified critical value. That is, we would reject the null hypothesis if the following condition holds true: R i : the mean rank for time or condition i k: the number of time periods or conditions N: the number of cass

18 18 Example Suppose we had collected information concerning the 10 childrens anxiety levels not only at pretest and immediately following the anxiety reduction intervention but also just prior to the administration of the preoperative medication. What are the differences in the anxiety levels of the 10 children who took part in the intervention across the three time periods? H 0 : there will be no differences among the median anxiety scores at preintervention, at postintervention, and at preoperative medication for the 10 children who took part in the intervention.

19 19 Childrens anxiety levels SubjPreintPostintPreop 1756 2444 3355 4364 5634 6736 7655 8756 9544 10756 Rank 312 222 31.5 132 312 312 3 312 3 312 Sum R j 2714.518.5

20 20 2 (2,0.05) =5.99 { "@context": "http://schema.org", "@type": "ImageObject", "contentUrl": "http://images.slideplayer.com/5/1508004/slides/slide_20.jpg", "name": "20 2 (2,0.05) =5.99

21 21 GroupsCritical valueDecision 1-21.25 1.08 Reject H 0 1-30.85<1.08Accept H 0 2-30.40<1.08Accept H 0


Download ppt "1 HYPOTHESIS TESTING: ABOUT MORE THAN TWO (K) RELATED POPULATIONS."

Similar presentations


Ads by Google