Statistical measures output added name basicmeasures

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

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

Unformatted text preview: Output Added: ------------Name: TestsForLocation Label: Tests For Location Template: base.univariate.Location Path: Univariate.high.TestsForLocation ------------- Std Deviation Variance Range Interquartile Range 25522 651361040 91000 40000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t Sign Signed Rank t M S Pr > |t| Pr >= |M| Pr >= |S| 16.97171 34.5 1207.5 <.0001 <.0001 <.0001 57 Selecting Output Creating SAS Data Sets from Output 3. Use an ODS SELECT statement to choose the output objects to include in the report. 1. Use the ODS TRACE statement or SAS documentation to get a listing of output objects from the procedure. 2. Add an ODS OUTPUT statement within the PROC step. ods rtf file='C:\basicstats-crew.rtf'; ods select Moments; proc univariate st.crew; var salary; ods select BasicMeasures; run; ods rtf close; proc freq data=st.crew; tables JobCode*Location/ list nocum nopercent; ods output list=joblocate; run; Basic Statistical Measures Location 58 Variability Mean 52144.93 Std Deviation Median 42000.00 Variance 25522 Mode 34000.00 Range 91000 Interquartile Range 40000 651361040 59 60 15 Output Data Set proc print=joblocate; run; Table F_JobCode JobCode F_Location Location Table JobCode * Location FLTAT1 FLTAT1 CARY CARY Frequency 5 Table JobCode * Location FLTAT1 FLTAT1 FRANKFURT FRANKFURT 4 Table JobCode * Location FLTAT1 FLTAT1 LONDON LONDON 5 Table JobCode * Location FLTAT2 FLTAT2 CARY CARY 7 Table JobCode * Location FLTAT2 FLTAT2 FRANKFURT FRANKFURT 5 Table JobCode * Location FLTAT2 FLTAT2 LONDON LONDON 6 Table JobCode * Location FLTAT3 FLTAT3 CARY CARY 5 Table JobCode * Location FLTAT3 FLTAT3 FRANKFURT FRANKFURT 3 Table JobCode * Location FLTAT3 FLTAT3 LONDON LONDON 4 Table JobCode * Location PILOT1 PILOT1 CARY CARY 3 Table JobCode * Location PILOT1 PILOT1 FRANKFURT FRANKFURT 2 Table JobCode * Location PILOT1 PILOT1 LONDON LONDON 3 Table JobCode * Location PILOT2 PILOT2 CARY CARY 4 Table JobCode * Location PILOT2 PILOT2 FRANKFURT FRANKFURT 3 Table JobCode * Location PILOT2 PILOT2 LONDON LONDON 2 Table JobCode * Location PILOT3 PILOT3 CARY CARY 3 Table JobCode * Location PILOT3 PILOT3 FRANKFURT FRANKFURT 2 Table JobCode * Location PILOT3 PILOT3 LONDON LONDON 3 61 16...
View Full Document

Ask a homework question - tutors are online