[R] CV and GCV for finding smoothness parameter
dreaming_of_illusions at hotmail.com
Tue Mar 31 16:22:09 CEST 2009
I received an assignment that I have to do in R, but I'm absolutely not very
good at it.
The task is the following:
To do this, we also get the following pieces of code (not in correct order):
I'm terrible at this and I'm completely stuck. The model I chose can be
found in here:
myknots6 = c(20,24,34)
p.spline8 = spm(accel ~ f(times,basis="trunc.poly",degree=2,knots=myknots6))
Can someone please help me with this task? I'm kind of desperate.
View this message in context: http://www.nabble.com/CV-and-GCV-for-finding-smoothness-parameter-tp22804957p22804957.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help