logo

Blog

Save parameters and seeds of simulations

Today, Robert posted the nice idea to save seeds of simulations. He recommends storing seeds with results, alternatively, store seeds with starting parameter values if you run numerical optimization. It is also useful to create an external file which stores parameters and seeds with a unique identifier which one can use for naming results folders and file organization. Th is post contains a code to do the latter.

RGL Package for animated graphs

I recently discovered the RGL package for R to create animated graphs. I used it for 3D-surface plots for likelihood functions – I’ll post about this soon. The R mailing list posted this fun animation of cubes by Francis Smart using the very samen package.

Illustration of retention functions

Optimization via ML and SSE for Myung (2003)

R script implementing the tutorial on maximum likelihood estimation in Myung (2003). It optimizes a parametrized retention function via maximum likelihood and the sum of squared errors.