Splines

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