data ex8 input A $ B $ count datalines a1 b1"/>

b8 - Example B8 SAS PROGRAM options formchar="|-| | =|\<>...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Example B8 SAS PROGRAM options formchar= "|----|+|---+=|-/\<>*" ; data ex8; input A $ B $ count @@; datalines ; a1 b1 8 a1 b2 16 a1 b3 31 a2 b1 9 a2 b2 18 a2 b3 74 a3 b1 34 a3 b2 23 a3 b3 17 ; run ; proc freq ; weight count; tables A*B/ chisq expected cellchi2 nocol nopercent norow measures ; title 'Example B8: Illustration of Tables Options' ; run ;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 options formchar="|----|+|---+=|-/\<>*"; 3 data ex8; 4 input A $ B $ count @@; 5 datalines; NOTE: SAS went to a new line when INPUT statement reached past the end of a line. NOTE: The data set WORK.EX8 has 9 observations and 3 variables. NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.00 seconds 9 ; 10 run; 11 proc freq; 12 weight count; 13 tables A*B/chisq expected cellchi2 nocol nopercent norow measures; 14 title 'Example B8: Illustration of Tables Options'; 15 run; NOTE: There were 9 observations read from the data set WORK.EX8.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/18/2012 for the course STAT 479 taught by Professor Staff during the Spring '08 term at Iowa State.

Page1 / 5

b8 - Example B8 SAS PROGRAM options formchar="|-| | =|\<>...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online