29.12.2013 Views

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OUTPUT Statement<br />

<br />

83<br />

Table 2.7.<br />

(continued)<br />

Option Output Data Set Statistics Required TABLES<br />

Statement Option<br />

OR odds ratio ALL or MEASURES<br />

or RELRISK<br />

PCHI<br />

chi-square goodness-of-fit test for oneway<br />

ALL or CHISQ<br />

tables; for two-way tables, Pearson<br />

chi-square<br />

PCORR Pearson correlation coefficient ALL or MEASURES<br />

PHI phi coefficient ALL or CHISQ<br />

PLCORR polychoric correlation coefficient PLCORR<br />

RDIF1 column 1 risk difference (row 1 - row 2) RISKDIFF<br />

RDIF2 column 2 risk difference (row 1 - row 2) RISKDIFF<br />

RELRISK odds ratio and relative risks for 2 × 2 tables<br />

ALL or MEASURES<br />

or RELRISK<br />

RISKDIFF risks and risk differences RISKDIFF<br />

RISKDIFF1 column 1 risks and risk difference RISKDIFF<br />

RISKDIFF2 column 2 risks and risk difference RISKDIFF<br />

RRC1 column 1 relative risk ALL or MEASURES<br />

or RELRISK<br />

RRC2 column 2 relative risk ALL or MEASURES<br />

or RELRISK<br />

RSK1 column 1 risk (overall) RISKDIFF<br />

RSK11 column 1 risk, for row 1 RISKDIFF<br />

RSK12 column 2 risk, for row 1 RISKDIFF<br />

RSK2 column 2 risk (overall) RISKDIFF<br />

RSK21 column 1 risk, for row 2 RISKDIFF<br />

RSK22 column 2 risk, for row 2 RISKDIFF<br />

SCORR Spearman correlation coefficient ALL or MEASURES<br />

SMDCR Somers’ D(C|R) ALL or MEASURES<br />

SMDRC Somers’ D(R|C) ALL or MEASURES<br />

STUTC Stuart’s tau-c ALL or MEASURES<br />

TREND Cochran-Armitage test for trend TREND<br />

TSYMM Bowker’s test of symmetry AGREE<br />

U symmetric uncertainty coefficient ALL or MEASURES<br />

UCR uncertainty coefficient (C|R) ALL or MEASURES<br />

URC uncertainty coefficient (R|C) ALL or MEASURES<br />

WTKAP weighted kappa coefficient AGREE<br />

Using the TABLES Statement with the OUTPUT Statement<br />

In order to specify that the OUTPUT data set contain a particular statistic, you must<br />

have PROC FREQ compute the statistic by using the corresponding option in the<br />

TABLES statement or the EXACT statement. For example, you cannot specify the<br />

option PCHI (Pearson chi-square) in the OUTPUT statement without also specifying<br />

a TABLES statement option or an EXACT statement option to compute the Pearson<br />

chi-square. The TABLES statement option ALL or CHISQ computes the Pearson chisquare.<br />

Additionally, if you have only one TABLES statement, the EXACT statement<br />

option CHISQ or PCHI computes the Pearson chi-square.

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

Saved successfully!

Ooh no, something went wrong!