Splines
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 = 20, nrep = 2, nMC = 10)
12×3 Matrix{Float64}:
3.93238 0.315355 5.0
9.58335 0.364045 10.0
16.1093 1.63636 15.0
2.50345 0.249749 2.3
2.71563 0.10327 2.7
2.74272 0.584015 3.6
4.74213 0.243037 5.33569
2.68752 0.217702 3.44782
2.87896 0.0384434 2.40037
2.3628 0.964905 0.0
1.90088 0.0809302 0.0
1.6945 0.827193 0.0
where
n
is the sample sizenMC
is the number of Monte Carlo samples to estimate the degrees of freedomnrep
is the number of repetitions.
These three columns are estimated df
, standard deviation of df
and theoretical df
, respectively.