HW1-SAScode

HW1-SAScode - proc means; classes group; var weight; run;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
options ps=66 ls=80; title 'Program for HW 1 - Review Exercises'; data health; input pat group weight; cards; 1 1 132 2 1 145 3 1 124 4 1 122 5 1 165 6 1 144 7 1 151 8 2 141 9 2 139 10 2 172 11 2 131 12 2 150 13 2 125 run; ods rtf file = "HW1-review.rtf"; title 'Q1A - means and sda for the two weights';
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: proc means; classes group; var weight; run; title 'Q1B - 95% confidence intervals for route B'; proc means n mean std clm; where group=2; var weight; run; title 'Q1C - an independent sample t-test'; proc ttest; classes group; var weight; run;...
View Full Document

This note was uploaded on 07/16/2009 for the course MA 684 taught by Professor Heeren during the Spring '09 term at BU.

Ask a homework question - tutors are online