Skip to content
Prev 8880 / 20628 Next

nlme model.matrix problem for prediction intervals

Andrew Close <andrew.close at ...> writes:
The basic problem is that the code on that page is intended for
*linear* models.  In order to do the equivalent construction for
a nonlinear model, I believe you'd have to compute the linearization
(i.e. the gradient of the response variable with respect to each of 
the parameters) at each specified prediction point.  This is certainly
do-able, but doing it automatically by extracting information from
the model could be a little tricky.

  Perhaps someone will step forward with a solution ...


  Ben Bolker