forward.prediction.error {CollocInfer}  R Documentation 
forward.prediction.error
Description
Forward prediction error objective for choice of lambda in square error criteria.
Usage
forward.prediction.error(times,data,coefs,lik,proc,pars,whichtimes=NULL)
Arguments
times 
Vector observation times for the data. 
data 
Matrix of observed data values. 
coefs 
Vector giving the current estimate of the coefficients in the spline. 
lik 

proc 

pars 
Initial values of parameters to be estimated processes. 
whichtimes 
Specifies the start and end times for forward prediction, given by indeces of
If left NULL, 
Details
Forward prediction error can be used to choose values of lambda
in the profiled
estimation routines. The ordinary differential equation is solved starting from the starting
times specified in whichtimes
and measured at the corresponding measurement times. The error is then recorded.
This should then be minimized by a grid search.
Value
The forwards prediction error from the estimates.