14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6 Performing Contingency <strong>Analysis</strong> 213<br />

Statistical Details for the Contingency Platform<br />

C<br />

=<br />

κˆ<br />

– P e<br />

( 1 – κˆ<br />

)<br />

2<br />

See Fleiss, Cohen, <strong>and</strong> Everitt (1969).<br />

For Bowker’s test of symmetry, the null hypothesis is that the probabilities in the two-by-two table satisfy<br />

symmetry (p ij =p ji ).<br />

Statistical Details for the Odds Ratio Option<br />

The Odds Ratio is calculated as follows:<br />

where p ij is the count in the i th row <strong>and</strong> j th column of the 2x2 table.<br />

Statistical Details for the Tests Report<br />

Rsquare (U)<br />

Rsquare (U) is computed as follows:<br />

The total negative log-likelihood is found by fitting fixed response rates across the total sample.<br />

Test<br />

p 11<br />

× p<br />

---------------------- 22<br />

p 12<br />

× p 21<br />

---------------------------------------------------------------------------------<br />

–log likelihood for Model<br />

–log likelihood for Corrected Total<br />

The two Chi-square tests are as follows:<br />

The Likelihood Ratio Chi-square test is computed as twice the negative log-likelihood for Model in the<br />

Tests table. Some books use the notation G 2 for this statistic. The difference of two negative log-likelihoods,<br />

one with whole-population response probabilities <strong>and</strong> one with each-population response rates, is written as<br />

follows:<br />

G 2 = 2 ( – n ) ln( p ) ij<br />

– j –<br />

n ij<br />

ln( p ij<br />

) where p n N<br />

----- ij <strong>and</strong> j<br />

= p ij ij<br />

ij<br />

N j<br />

= -----<br />

N<br />

This formula can be more compactly written as follows:<br />

G 2 = 2<br />

i<br />

<br />

n ij <br />

n ij<br />

ln-----<br />

<br />

e j ij <br />

The Pearson Chi-square is calculated by summing the squares of the differences between the observed <strong>and</strong><br />

expected cell counts. The Pearson Chi-square exploits the property that frequency counts tend to a normal<br />

distribution in very large samples. The familiar form of this Chi-square statistic is as follows:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!