Welcome to my Open Notebook
This is an Open Notebook with Selected Content - Delayed. All content is licenced with CC-BY. Find out more Here.
- John Myles White invented the ProjectTemplate R Package
- This is a great application that helps streamline the process of creating a data analysis project
- Recently John posted about some tips for best practices for statistical programming
Best Practices for Statistical Programming
- Write Out a Directed Acyclic Graph (DAG)
- Vectorize Your Operations
- Profile your code and understand where it spends its time
- Generate Data and Fit Models
- Correctness: always ensure that code infers parameters of models given simulated data with known parameters.
Additional suggestions
- Unit Testing (use testthat)
- Create modular code with discrete chunks
- Write functions as much as possible, put these into a personal ‘misc’ package
Posted in
research methods
24 Dec 2013
blog comments powered by