Download presentation
Presentation is loading. Please wait.
1
Chapters 5 and 7 supplement
Attitudinal survey Import from SPSSX PROC CONTENTS Variable labels saved as variable names Unattractive variable names Variable format values saved as levels Values may not inherit ordering The survey is modeled after a Richland County Conservation Commission survey. Imports from SPSSX (especially by way of Excel) can include unexpected changes. Unattractive variables names—e.g., embedded underscores. © Fall 2013 John Grego and the University of South Carolina
2
Editing ODS Graphics ODS Graphics in PROC FREQ
Some limited options for editing Can work with output table Can modify table with PROC TEMPLATE Working with the output table is a bit of a cop-out. © Fall 2013 John Grego and the University of South Carolina 2 2
3
Identifying templates
Modifying templates Use ODS TRACE to find template Be sure to run code with all options in place Print (and save) template code Some templates can be edited piecemeal We will edit graphics templates in situ Rather than print and save template code, I edit it in situ. I’m not sure graphics templates can be edited piecemeal. © Fall 2013 John Grego and the University of South Carolina 3 3
4
Template storage Useful features/commands ods path show;
default templates are stored in sashelp.tmplmst (read only) default modified templates are stored in sasuser.tmplmst ods path sasuser.templat(update) sashelp.tmplmst(read); I use the last ods path command, which should be the default, just to make sure the path is correct. © Fall 2013 John Grego and the University of South Carolina 4 4
5
Editing templates Edits to text strings can be straightforward
Macro variables are readily incorporated into template definitions Extend graphics definition to additional variables Some edits are obscure, but I’m only interested in the low-hanging fruit here. © Fall 2013 John Grego and the University of South Carolina 5 5
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.