Notes and examples related to cubic splines.

  • splines.tpl
    ADMB code with a spline (very rough)
  • Example results
    Notes — grey lines are from MCMC samples, third derivative looks rough only because of numerical precision
  • splines.dat
    data file to go with the model in splines.tpl
  • R code
    read output from splines model and plot results shown in spline_example.pdf

ADMB Foundation © 2007–2024