01Goals: the perfect analysis
- Reproducibility: you or someone else can rerun the whole analysis, figures and statistics included, with one command.
- Interpretability and documentation: simple, commented code with standard variable names and a code book explaining every variable and the study context.
- Code reuse: modular code; common operations use heavily vetted, tested functions.
- Sanity checks built in: data inspection, assumption checks, and positive and negative controls (effects that should and should not appear).
- History and sharing: track what changed when analysis options changed; share the data and code needed to reproduce results.
