e4 - Example E4 SAS Program goptions hsize=7.5 in vsize=...

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

View Full Document Right Arrow Icon
Example E4 SAS Program goptions hsize = 7.5 in vsize = 5.5 in rotate =landscape targetdevice =pscolor; data peanuts; input fertilizer $ yield height; label fertilizer= 'Fertilizer' yield= 'Yield' height= 'Height' ; datalines ; C 12.2 45 C 12.4 52 C 11.9 42 C 11.3 35 C 11.8 40 C 12.1 48 C 13.1 60 C 12.7 61 C 12.4 50 C 11.4 33 S 16.6 63 S 15.8 50 S 16.5 63 S 15.0 33 S 15.4 38 S 15.6 45 S 15.8 50 S 15.8 48 S 16.0 50 S 15.8 49 F 9.5 52 F 9.5 54 F 9.6 58 F 8.8 45 F 9.5 57 F 9.8 62 F 9.1 52 F 10.3 67 F 9.5 55 F 8.5 40 ; run ; proc print data =peanuts; 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
proc glm data =peanuts order =data; class fertilizer; model yield = fertilizer height; lsmeans fertilizer/ stderr cl pdiff ; contrast 'Modified vs. Standard' fertilizer 1 - .5 - .5 ; contrast 'Slow-release vs. Fast-release' fertilizer 0 1 - 1 ; title 'Covariance Analysis of Peanut Fertilizer Data' ; run ; symbol1 v = "C" cv =red f =centb h = 1.5 i =none; symbol2 v = "F" cv =steelblue f =centb h = 1.5 i =none; symbol3 v = "S" cv =magenta f =centb h = 1.5 i =none; axis1 c =dapk label =( c =blueviolet h = 1.5 a = 90 f =centb 'Yield' ); axis2 c =dapk label =( c =blueviolet h = 1.5 f =centb 'Height' ); proc gplot data =peanuts; plot yield*height=fertilizer/ vaxis =axis1 haxis =axis2; title c=darkcyan h= 2 'Covariance Analysis of Peanut Fertilizer Data' ; run ;
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 / 8

e4 - Example E4 SAS Program goptions hsize=7.5 in vsize=...

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