home *** CD-ROM | disk | FTP | other *** search
- .SET #8(*2, *)
- .LET (*#34=#34+#8*) TEXT
- .LET (*#22=#22+#6*)
- @LAB:SCREEN23
- .SCR 0
- .SNA(*(.INF 39)0*)
- .COL 7,0
- .LOC 2,46(*23*)
- .COL 0,3
- .LOC 5,11(* Yates' Correction for Continuity *)
- .PAU(**)#4
- .COL 10,0
- .LOC 8,12(*A large proportion of the Contingency Tables which you will*)
- .LOC 10,13(*meet will be 2 rows and 2 columns leading to 1 degree of*)
- .LOC 12,12(*freedom. Those of you who recall the graphs of p(X²) shown*)
- .LOC 14,12(*in Module 14.7 will know that the curve is rather different*)
- .LOC 16,29(*for 1 degree of freedom.*)
- .SPE PLAY (*AM140817.SPE*) WAIT
- .PAU(**)#4
- .COL 0,3
- .LOC 24,64(*SPACE >>*)
- .PAU(**)
- @LAB:SCREEN24
- .SCR 2
- .SNA(*(.INF 39)2*)
- .LOC 2,46(*24*)
- .LOC 6,12(*This lead Yates to propose that a correction should be made*)
- .LOC 8,12(*to the values of*)
- .LOC 8,32(*O - E*)
- .LOC 8,42(*BEFORE*)
- .LOC 8,52(*they are squared by*)
- .LOC 10,33(*subtracting 0.5*)
- .PAU(**)#4
- .PUT 232,101 PART=6
- .LOC 14,34(*=*)
- .PUT 288,100 PART=11
- .LOC 13,40(*( O - E - 0.5 )*)
- .PUT 440,93 PART=15
- .DRA (*C1BM316,108M443,108*)
- .LOC 15,47(*E*)
- .INV 13,48,7
- .PAU(**)#4
- .LOC 18,12(*Principally, this is to compensate for a discrete variable*)
- .LOC 20,21(*being simulated by a continuous variable.*)
- .SPE PLAY (*AM140818.SPE*) WAIT
- .PAU(**)#4
- .PUT 500,187 PART=4 PSET
- .PAU(**)
- @LAB:SCREEN25
- .SCR 0
- .SNA(*(.INF 39)0*)
- .COL 7,0
- .LOC 2,46(*25*)
- .COL 10,0
- .PAU(**)#4
- .LOC 6,11(*Indeed, there are those who*)
- .COL 12,0
- .PAU(**)#2
- .LOC 6,39(*ALWAYS*)
- .COL 10,0
- .PAU(**)#2
- .LOC 6,46(*subtract 0.5 FROM O - E*)
- .LOC 8,11(*before squaring whenever a discrete variable is being tested for*)
- .COL 10,0
- .LOC 10,30(*Goodness of Fit.*)
- .COL 14,0
- .PAU(**)#4
- .LOC 15,12(*However, most authors reject the practice and these worksheets*)
- .LOC 17,14(*restrict the use of Yates' correction to the case where...*)
- .COL 10,0
- .PAU(**)#2
- .LOC 19,36(*v = 1.*)
- .SPE PLAY (*AM140819.SPE*) WAIT
- .COL 0,3
- .LOC 24,64(*C / R >>*)
- @SIN(*"C"=L:SCREEN26,"R"=L:-SCREEN23,"c"=L:SCREEN26,"r"=L:-SCREEN23*)
- @LAB:SCREEN26
- .SCR 2
- .SNA(*(.INF 39)2*)
- .LOC 2,46(*26*)
- .LOC 5,11(*An example:*)
- .PAU(**)#4
- .LOC 7,15(*In this table associating two criteria, is there evidence*)
- .LOC 9,15(*at the 5 % level that they are statistically independent ?*)
- .LOC 11,35(*Criteria B*)
- .LOC 12,34(*x y Totals*)
- .DRA (*C1BM220,80M220,144BM316,88M316,144BM404,88M404,144BM160,100M490,100BM160,132M490,132*)
- .LOC 14,15(*Criteria*)
- .LOC 16,18(*A*)
- .LOC 14,25(*a*)
- .LOC 16,25(*b*)
- .LOC 18,22(*Totals*)
- .LOC 14,33(*60*)
- .LOC 14,45(*40*)
- .LOC 14,56(*100*)
- .LOC 16,33(*30*)
- .LOC 16,45(*70*)
- .LOC 16,56(*100*)
- .LOC 18,33(*90*)
- .LOC 18,44(*110*)
- .LOC 18,56(*200*)
- .LOC 20,11(*Null Hypothesis: Criteria A and Criteria B are independent.*)
- .PAU(**)#4
- .USE PROG=PAUSE.USE
- .LOC 2,46(*26a*)
- .WIP (4,2)-(23,79)#6
- .PAU(**)#4
- .LOC 17,15(*Calculate the expected frequencies using...*)
- .LOC 19,28(*Row Total x Column Total*)
- .LOC 20,28(*────────────────────────*)
- .LOC 21,33(*Grand Total*)
- .PAU(**)#4
- .LOC 8,31(*60 *)
- .LOC 10,31(*30 *)
- .LOC 8,43(*40 *)
- .LOC 10,43(*70 *)
- .LOC 12,31(*90 *)
- .LOC 12,42(*110 *)
- .LOC 8,54(*100 *)
- .LOC 10,54(*100 *)
- .LOC 12,54(*200 *)
- .DRA (*C1BM268,52M268,96BM364,52M364,96BM460,52M460,96*)
- .PAU(**)#4
- .LOC 8,37(*45*)
- .PAU(**)#4
- .LOC 10,37(*45*)
- .PAU(**)#4
- .LOC 12,37(*90*)
- .PAU(**)#4
- .LOC 8,49(*55*)
- .PAU(**)#4
- .LOC 10,49(*55*)
- .PAU(**)#4
- .LOC 12,48(*110*)
- .PAU(**)#4
- .LOC 8,60(*100*)
- .PAU(**)#4
- .LOC 10,60(*100*)
- .PAU(**)#4
- .LOC 12,60(*200*)
- .PAU(**)#4
- .USE PROG=PAUSE.USE
- .WIP (15,2)-(23,79)
- .LOC 2,46(*26b*)
- .PAU(**)#2
- .PUT 80,125 PART=6
- .LOC 17,14(*=*)
- .LOC 16,16(*(60-45-0.5)*)
- .PUT 207,117 PART=15
- .DRA (*C1BM124,132M208,132*)
- .LOC 18,21(*45*)
- .PAU(**)#4
- .LOC 17,29(*+*)
- .LOC 16,31(*(40-55-0.5)*)
- .PUT 327,117 PART=15
- .DRA (*C1BM244,132M329,132*)
- .LOC 18,36(*55*)
- .PAU(**)#4
- .LOC 17,44(*+*)
- .LOC 16,46(*(30-45-0.5)*)
- .PUT 446,117 PART=15
- .DRA (*C1BM364,132M448,132*)
- .LOC 18,51(*45*)
- .PAU(**)#4
- .LOC 17,59(*+*)
- .LOC 16,61(*(70-55-0.5)*)
- .PUT 566,117 PART=15
- .DRA (*C1BM484,132M568,132*)
- .LOC 18,66(*55*)
- .SPE PLAY (*AM140820.SPE*) WAIT
- .PAU(**)#4
- .LOC 20,14(*= 4.672 + 4.368 + 5.339 + 3.823*)
- .PAU(**)#4
- .LOC 22,14(*= 18.20*)
- .PAU(**)#4
- .USE PROG=PAUSE.USE
- .WIP (15,14)-(16,79)
- .WIP (16,14)-(23,79) #5
- .LOC 2,46(*26c*)
- .PAU(**)#2
- .PUT 240,127 PART=7
- .LOC 17,34(*= (2 - 1).(2 - 1) = 1*)
- .PAU(**)#4
- .LOC 19,11(*Enter the*)
- .PUT 168,141 PART=6
- .LOC 19,25(*table at*)
- .PUT 272,143 PART=7
- .LOC 19,38(*= 1, level 5 %*)
- .PAU(**)#4
- .LOC 19,58(*» 3.84*)
- .PAU(**)#4
- .LOC 21,11(*18.20 ≥ 3.84 so our Null Hypothesis is rejected.*)
- .PAU(**)#4
- .USE PROG=PAUSE.USE
- .WIP (15,2)-(23,79) #3
- .LOC 2,46(*26d*)
- .PAU(**)#2
- .LOC 20,11(*Refer again to the X² table : the null hypothesis would*)
- .LOC 22,18(*still be rejected at the 0.05 % level.*)
- .PAU(**)#4
- .USE PROG=PAUSE.USE
- .WIP (19,2)-(23,79)
- .LOC 20,11(*Conclusion: there is evidence that Criteria A and*)
- .LOC 22,27(*Criteria B are not independent.*)
- .PUT 500,187 PART=2 PSET
- @SIN(*"C"=L:SCREEN27,"R"=L:-SCREEN26,"c"=L:SCREEN27,"r"=L:-SCREEN26*)
- @LAB:SCREEN27
- .COL 0,0
- .SCR 1
- .SNA(*(.INF 39)1*)
- .COL 8
- .PAL 1
- .LOC 2,23(*27*)
- .LOC 7,5(*At this point in the full version*)
- .LOC 9,9(*of the program the user is*)
- .LOC 11,5(*requested to complete a worksheet*)
- .LOC 13,6(*for this section, entering the*)
- .LOC 15,7(*results via the keyboard onto*)
- .LOC 17,9(*the computer for checking.*)
- .PAU(**)#4
- .LOC 19,6(*Type C <enter> to continue.*)
- .SET #10(*SCREEN28*)
- .USE PROG=PRESSC.USE
- @LAB:SCREEN28
- .COL 0,0
- .SCR 1
- .SNA(*(.INF 39)1*)
- .COL 8
- .PAL 1
- .LOC 2,23(*28*)
- .LOC 6,4(*However, in this demonstration the*)
- .LOC 8,7(*results checking facility is*)
- .LOC 10,4(*unavailable, so you will continue to*)
- .LOC 12,6(*the next phase of the tutorial.*)
- .PAU(**)#4
- .LOC 18,6(*Type C <enter> to continue.*)
- .SET #10(*SCREEN29Z*)
- .USE PROG=PRESSC.USE
- @LAB:SCREEN29Z
- .WIP (20,2)-(23,39)
- .PAU(**) #4
- .COL 1,
- .LOC 14,8(*Do you wish to:*)
- .COL 2,
- .LOC 16,4(*(C) continue to the next Part*)
- .LOC 18,4(*(R) return to the Contents page*)
- .COL 1,
- .LOC 20,8(*Please type C or R >*)
- .COL 3,
- @SIN (*"C"=C:AM1408D.CHA,"c"=C:AM1408D.CHA,"R"=L:BACKB,"r"=L:BACKB*)
- @LAB:BACKB
- @GOB:SCREEN09 PROG=AM1408
-
-
-