Splines

Note

For simple demonstration and fast auto-generation via GitHub Action, here we do not run the complete experiment presented in the paper.

using DegreesOfFreedom
df_splines(N = 2, nrep = 10)
12×3 Matrix{Float64}:
  3.55631  0.630427   5.0
  8.88137  0.405297  10.0
 14.3033   0.101728  15.0
  1.69537  0.580805   1.5
  3.32187  0.86115    2.9
  3.15486  0.705967   3.1
  5.3148   0.132326   5.33569
  3.35074  1.07622    3.44782
  2.37702  0.437594   2.40037
  3.10243  0.112978   0.0
  2.84344  0.381884   0.0
  1.15154  0.161617   0.0

where nrep is the number of Monte Carlo samples to estimate the degrees of freedom and N is the number of repetitions. The columns are estimated df, standard deviation of df and theoretical df, respectively.