12.07.2015 Views

Dummy Variables and the Relationship of Deaf and ... - NESUG

Dummy Variables and the Relationship of Deaf and ... - NESUG

Dummy Variables and the Relationship of Deaf and ... - NESUG

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

<strong>NESUG</strong> 2008Statistics & AnalysisData RichD.Dualsample;input age deaf_flag ;interaction = age*deaf_hear;Run;Proc Glm Data=RichD.Dualsample;model = age deaf_flag interaction / SS3;Run;The lack <strong>of</strong> <strong>the</strong> CLASS statement in PROC GLM treats each independent variable in <strong>the</strong> model as one degree <strong>of</strong> freedom,essentially fitting a regression model ra<strong>the</strong>r than an additive model. The SS3 option in <strong>the</strong> model statement suppresses <strong>the</strong>Type I Sums <strong>of</strong> Squares <strong>and</strong> produces <strong>the</strong> ESS needed to draw conclusions. Example output resulting from <strong>the</strong> code lookslike:Sum <strong>of</strong>Source DF Squares Mean Square F Value Pr > FModel 3 42005.30802 14001.76934 88.55 Fage 1 25495.25056 25495.25056 161.23

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

Saved successfully!

Ooh no, something went wrong!