www.usask.ca sas training dr. daniel fuller [email protected]

11
www.usask.ca SAS Training Dr. Daniel Fuller [email protected]

Upload: mervin-king

Post on 28-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

www.usask.ca

SAS TrainingDr. Daniel [email protected]

www.usask.ca

Data Analysis• Important Concepts• SAS = 1 language among many• Data Dictionary

• Coding concepts• Hit by a bus• Version control• The answer is in the code (public code)

www.usask.ca

Data Dictionary• Critical elements• Open Source (PDF or Online)• Publicly available• Components• Variable names• Descriptions• Coding• Recoding

www.usask.ca

Data DictionaryYES

www.usask.ca

Data Dictionary NO

www.usask.ca

Coding – Hit by bus• If you get hit by a bus anyone picking up the code should be able to understand your analysis within 15 minutes

www.usask.ca

Coding – Not Excel• Don’t think like you do in Excel• Think about the question and how the code will answer the question• If you find yourself looking at your data constantly you are thinking like excel

www.usask.ca

Coding – Back up• Entire code should run without error• From opening the data to all outputs

• Take pride in your code• If coding were easy everyone would do it

www.usask.ca

Coding - Version Control• Keep many version of you work• Progress through time

• Essential elements• Date in title • Date in code• Comment the code

www.usask.ca

Coding - Public Code• Stand on the shoulders of giants• Reproducible by others• Publish with papers as appendix• Critical modern research practice

www.usask.ca

Online Help• UCLA Institute for digital research and education• http://www.ats.ucla.edu/stat/

• Stack overflow• http://stackoverflow.com/

• Google the exact text of the error