Funtime Errors: Developing Together as a Virtual Team
Jamieson Vaccaro, MA Patrick Racsa, MS
June 20, 2018
Funt ime Errors: Developing Together as a Virtual Team Jamieson - - PowerPoint PPT Presentation
Funt ime Errors: Developing Together as a Virtual Team Jamieson Vaccaro, MA Patrick Racsa, MS June 20, 2018 Introduction Description of Project 6 Disease state studies (Lung Cancer, Breast Cancer, Multiple Sclerosis, Rheumatoid
June 20, 2018
– 6 Disease state studies (Lung Cancer, Breast Cancer, Multiple Sclerosis, Rheumatoid
– 3 Versions (Early View, Full Study, Subset Study) – 38 Metrics – 17 Tables (in Excel)
– Grand total of : 648 Metrics & 252 Tables
Source: https://xkcd.com/1513/
Rerunning is easier Reduce error Faster maintenance Less code
Sometimes too easy to operate Nuances in disease state
Typically easier to follow Code is there to see Easier to code
Prone to errors especially when doing iterative work Initial build is time consuming
Aggregating key tables and variables in a “Control Panel” Variable names throughout scripting For model arguments Title output
Flexible - Summary statistics handle (StatsX) Simple - Model macros accept one argument Umbrella models with conditionals
Program Purpose
Data – Building variables, putting data together %Macro - Custom Macros Joiner – Creating an final analytical file Testing – Testing out code, QC, not an essential part – provides a space for messy, unstructured code Analysis – Running statistical tests, output it generated at the end
Output – Optional, if there is major rework of the output, it can be put here
process flow
There is some flexibility here, sometimes it is best to combine 2 of these
%macro statsx(datafile,grp,ivar,type,test,whereclause,sigdigs);
Non-central location sharing Keeping track of your own file(s) until final Unspoken or spoken agreement of file gatekeeper