b10 - Example B10 SAS PROGRAM options ls=80 ps=40 nodate...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Example B10 SAS PROGRAM options ls= 80 ps= 40 nodate pageno= 1 ; options formchar= "|----|+|---+=|-/\<>*" ; libname mylib 'C:\Documents and Settings\mervyn\My Documents\Classwork\stat479\' ; proc plot data =mylib.fueldat; plot fuel*roads; plot fuel*roads= '+' ; plot fuel*roads= '*' $ st; plot fuel*roads= '*' $ st/ haxis = 0 to 20 by 2 placement =((s=right left:h= 1 - 1 )(v= 1 - 1 *h= 1 - 1 )); title 'Output from Sample Plot Statements' ; run ;
Image of page 1

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

View Full Document Right Arrow Icon
SAS Log 2 options formchar="|----|+|---+=|-/\<>*"; 3 libname mylib 'C:\Documents and Settings\mervyn\My Documents\Classwork\stat479\'; NOTE: Libref MYLIB was successfully assigned as follows: Engine: V9 Physical Name: C:\Documents and Settings\mervyn\My Documents\Classwork\stat479 4 5 proc plot data=mylib.fueldat; 6 plot fuel*roads; 7 plot fuel*roads='+'; 8 plot fuel*roads='*' $ st; 9 plot fuel*roads='*' $ st/ 10 haxis=0 to 20 by 2 11 placement=((s=right left:h=1 -1)(v=1 -1*h=1 -1)); 12 title 'Output from Sample Plot Statements'; 13 run;
Image of page 2
SAS Output Output from Sample Plot Statements 1 Plot of fuel*roads. Legend: A = 1 obs, B = 2 obs, etc. fuel | 1000 + | A | | | | A | 800 + | A | | A A | A | A B | A A A A A A 600 + A A A A | A A A AAA A A | A A B A | A A AA A | A A | A AB A A | 400 + A A | | A | | | | 200 + -+--------+--------+--------+--------+--------+--------+--------+--------+- 0.0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0 Miles of Primary Highways(in thsnds.)
Image of page 3

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

View Full Document Right Arrow Icon
Output from Sample Plot Statements 2 Plot of fuel*roads. Symbol used is '+'. fuel | 1000 + | + |
Image of page 4
Image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern