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> 197<br />

Agreement Statistic<br />

Agreement Statistic<br />

When the two variables have the same levels, the Agreement Statistic option is available. This option<br />

shows the Kappa statistic (Agresti 1990), its st<strong>and</strong>ard error, confidence interval, hypothesis test, <strong>and</strong><br />

Bowker’s test of symmetry.<br />

The Kappa statistic <strong>and</strong> associated p-value given in this section are approximate. An exact version of the<br />

agreement test is available. See “Exact Test” on page 200.<br />

Table 6.9 Description of the Agreement Statistic Report<br />

Kappa<br />

Std Err<br />

Lower 95%<br />

Upper 95%<br />

Prob>Z<br />

Prob>|Z|<br />

ChiSquare<br />

Prob>ChiSq<br />

Shows the Kappa statistic.<br />

Shows the st<strong>and</strong>ard error of the Kappa statistic.<br />

Shows the lower endpoint of the confidence interval for Kappa.<br />

Shows the upper endpoint of the confidence interval for Kappa.<br />

Shows the p-value for a one-sided test for Kappa. The null hypothesis tests if<br />

Kappa equals zero.<br />

Shows the p-value for a two-sided test for Kappa.<br />

Shows the test statistic for Bowker’s test. For Bowker’s test of symmetry, the<br />

null hypothesis is that the probabilities in the square table satisfy symmetry,<br />

or that p ij =p ji for all pairs of table cells. When both X <strong>and</strong> Y have two levels,<br />

this test is equal to McNemar’s test.<br />

Shows the p-value for the Bowker’s test.<br />

Related Information<br />

• “Example of the Agreement Statistic Option” on page 207<br />

• “Statistical Details for the Agreement Statistic Option” on page 212<br />

Relative Risk<br />

Calculate risk ratios for 2x2 contingency tables using the Relative Risk option. Confidence intervals also<br />

appear in the report. You can find more information about this method in Agresti (1990) section 3.4.2.<br />

The Choose Relative Risk Categories window appears when you select the Relative Risk option. You can<br />

select a single response <strong>and</strong> factor combination, or you can calculate the risk ratios for all combinations of<br />

response <strong>and</strong> factor levels.<br />

Related Information<br />

• “Example of the Relative Risk Option” on page 208

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

Saved successfully!

Ooh no, something went wrong!