Download An Environment for Graphical Models

Transcript
78
Chapter 6. Tests
>read model ACE,ADE,BC,F.;
TIME:
0.002secs.
>exact test;
Test of [[F][BC][ADE][ACE]]
against [[ABCDEF]]
-2log(Q)
Power
X^2
DF.
TIME:
=
=
=
=
>quit;
TIME:
TOTAL TIME:
6.3
Statistic
62.0779
59.9956
59.9956
P =
P =
P =
Asymptotic
0.0994
0.1350
0.1350
49
/
/
/
/
Adjusted
0.0994
0.1350
0.1350
49
/
Exact
0.1500
0.912secs.
0.000secs.
4.889secs.
Measures of Associations
The following command will compute lots of statistics for two factors independent etc.
given other factors:
SLICE hfactor-name-ai , hfactor-name-bi [ / hseti ];
For each ‘slice’ (2 dimensional table of hfactor-name-ai by hfactor-name-bi) given
configurations of the factors hseti the following measures of associations, statistics, is
computed and printed:
For each configurations of the factors in the set hseti the 2 dimensional table of
hfactor-name-ai by hfactor-name-bi is printed with margins, and, on each ‘slice’ (2
dimensional table), the following statistics is computed and printed:
Fisher’s exact test, Pearson χ2 test, G2 : likelihood ratio test, Continuity-adjusted
2
χ , Yates corrected χ2 , McNemar’s test of symmetry, κ: Kappa, Cramer’s V, Phi
and maximum of Phi, Contingency Coefficient C and maximum of Contingency Coefficient C, Cross-product ratio alpha and logarithm of Cross-product ratio alpha,
Mantel-Haenszel χ2 , Yule’s Q, Yule’s Y, Cochran-Armitage Trend Test with Goodness of fit: linear trend, Pearson (product-moment) correlation coefficient, Spearman
rank correlation coefficient, τb : Kendall’s Tau b, τc : Stuart’s Tau c, Somers’ D, Goodman and Kruskal’s τ , γ: Gamma, λasym : Optimal prediction lambda, λ: Symmetric
optimal prediction lambda, λ? : Modified asymmetric optimal prediction lambda, Uncertainty coefficient Uasym , Symmetric uncertainty coefficient U .
Agresti (1990) and Appendix A.5 of the manual for the BMDP statistical computer
package (Dixon 1983) are good sources for references and for formulas for computing
the above measures of associations with standard errors.