Download presentation
Presentation is loading. Please wait.
Published byMaximilian Stewart Modified over 9 years ago
1
Better Reports Faster with PROC TABULATE John Fahey Reproductive Care Program of Nova Scotia SHRUG.President@gmail.com
2
SHRUG 2014-11-282 Tabula Rasa
3
MYDATA1 Using EG Assign LIBNAME Engine: SAS Knows IVEWare Sample Data SHRUG 2014-11-283
4
4
5
5
6
6
7
7
8
Design First Data (apparently) LSOA 1990 ex NCHS RECTYPE 1-2 (A) YEAR 3-4 (A) QUARTER 5 (A) PSUNUMR 6-8 (A) WEEKCEN 9-10 (A) SEGNUM 11-12 (A) HHNUM 13-14 (A) PNUM 15-16 (A) LIVQTR 17-18 (A) PHONE 19 (A) SEX 20 (A) AGE84 21-22 (A) 1935 more lines … SHRUG 2014-11-288
9
What is the question? What is the association between diabetes and – Income – Sex – Urbanization – Food Security – Self-report “Health” – Regular Exercise SHRUG 2014-11-289
10
The Variables DIABETES – "Medical conditions during the past 12 mos - diabetes" INCFAMR – "Family income recode" SEX COUNAC80 – "1980 county adjacency code SHRUG 2014-11-2810
11
and more FDSTMP4 – "Now receiving food stamps" HEALTH – "Health status“ REGEXE1 – "Regular exercise routine" SHRUG 2014-11-2811
12
Value for Money … and others SPSS value labels for use with SETS PROC FORMAT code All variables character -> categorical Crosstabs SHRUG 2014-11-2812
13
SHRUG 2014-11-2813
14
SHRUG 2014-11-2814
15
Now – the fun stuff TASK – DESCRIBE SUMMARY TABLES WIZARD – Skip Step 1 (Verify Data) – Step 2 (Analysis = Continuous Numeric) SHRUG 2014-11-2815
16
SHRUG 2014-11-2816
17
SHRUG 2014-11-2817
18
SHRUG 2014-11-2818
19
SHRUG 2014-11-2819 Cooking Show Trick Kept Ugly Labels Frequency only – not really much better than FREQ: ugh!
20
SHRUG 2014-11-2820
21
SHRUG 2014-11-2821
22
SHRUG 2014-11-2822
23
SHRUG 2014-11-2823
24
SHRUG 2014-11-2824
25
SHRUG 2014-11-2825
26
SHRUG 2014-11-2826
27
Yellow means … Drive FASTER 79 /* enable traffic lighting*/ 80 value TrffcLit 81 low -< 4='GREEN' 82 4 -< 8='YELLOW' 83 8 - high='RED' 84 ; NOTE: Format TRFFCLIT has been output. … RowPctN * { style = { background = TrffcLit. } } SHRUG 2014-11-2827
28
SHRUG 2014-11-2828
29
SHRUG 2014-11-2829
30
SHRUG 2014-11-2830
31
SHRUG 2014-11-2831
32
What TABULATE does Well – Marginal totals, % – Multiple dimensions, sliced easily – Multilabel formats – Condense mutliple logical pages Not Well – Manipulate data ( no COMPUTE ) – Statistical inference ( no tests ) SHRUG 2014-11-2832
33
How To Contact Mum and baby data – John.Fahey@iwk.nshealth.ca John.Fahey@iwk.nshealth.ca SHRUG issues – SHRUG.Exec@gmail.com SHRUG.Exec@gmail.com SHRUG.President@gmail.com Weddings, wakes, bar mitzvahs – Alpha.05@gmail.com Alpha.05@gmail.com SHRUG 2014-11-2833
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.