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 5 Performing Oneway <strong>Analysis</strong> 181<br />

Statistical Details for the Oneway Platform<br />

• nc = n(CSS)/σ 2 is the non-centrality parameter.<br />

r<br />

CSS = ( μ g<br />

– μ) is the corrected sum of squares.<br />

g = 1<br />

• μ g is the mean of the g th group.<br />

• μ is the overall mean.<br />

• σ 2 is estimated by the mean squared error (MSE).<br />

Statistical Details for the Summary of Fit Report<br />

Rsquare<br />

Using quantities from the <strong>Analysis</strong> of Variance report for the model, the R 2 for any continuous response fit<br />

is always calculated as follows:<br />

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

Sum of Squares (Model)<br />

Sum of Squares (C Total)<br />

Adj Rsquare<br />

Adj Rsquare is a ratio of mean squares instead of sums of squares <strong>and</strong> is calculated as follows:<br />

1 – -----------------------------------------------------<br />

Mean Square (Error)<br />

Mean Square (C Total)<br />

The mean square for Error is found in the <strong>Analysis</strong> of Variance report <strong>and</strong> the mean square for C. Total can<br />

be computed as the C. Total Sum of Squares divided by its respective degrees of freedom. See “The <strong>Analysis</strong><br />

of Variance Report” on page 141.<br />

Statistical Details for the Tests That the Variances Are Equal Report<br />

F Ratio<br />

O’Brien’s test constructs a dependent variable so that the group means of the new variable equal the group<br />

sample variances of the original response. The O’Brien variable is computed as follows:<br />

( n ij<br />

– 1.5)n ij<br />

( y ijk<br />

– y ) 2 2<br />

– 0.5s i··j ij<br />

( nij – 1)<br />

r ijk<br />

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

( n ij<br />

– 1) ( n ij<br />

– 2)<br />

where n represents the number of y ijk observations.<br />

Brown-Forsythe is the model F statistic from an ANOVA on z ij<br />

= y ij<br />

– ỹ i where ỹ i<br />

is the median response<br />

for the ith level. If any z ij is zero, then it is replaced with the next smallest z ij in the same level. This corrects<br />

for the artificial zeros occurring in levels with odd numbers of observations.

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

Saved successfully!

Ooh no, something went wrong!