This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: r title2 'New Price List'; proc print data=prices; run; r *4-2; * *The following title will appear as the first line of every page in the output window; title1 'Problem 4-2, STAT 6360'; t *a; data south; infile 'K:\6360\InClassExercise\Exercise4\South.txt' firstobs=2; input Entrance $ PassNumber PartySize Age; run; r data north; infile 'K:\6360\InClassExercise\Exercise4\North.txt' firstobs=2; input Entrance $ PassNumber PartySize Age Lot; run; r *b; proc sort data=south; by PassNumber; run; r proc sort data=north; by PassNumber; run; r data interleave; set south north; by PassNumber; run; r proc print data=interleave; run; r *c; data paid; set south north; if Age<3 then AmountPaid=0; else if Age<65 then AmountPaid=35; else AmountPaid=27; e format AmountPaid dollar3. run; r proc print data=paid; run;...
View Full Document
This note was uploaded on 06/06/2011 for the course STAT 4360 taught by Professor Park during the Spring '11 term at University of Georgia Athens.
- Spring '11