Skip to content
Prev 86389 / 398502 Next

nonlinear model: pseudo-design matrix

Given a nonlinear model formula and a set of values for all the
parameters defining a point in parameter space, is there a neat way to
extract the pseudodesign matrix of the model at the point? That is the
matrix of partial derivatives of the fitted values w.r.t. the parameters
evaluated at the point.

(I have figured out how to extract the gradient information from an nls 
fitted model using the nlsModel part, but I wish to implement a score 
test, so I need to be able to extract the information at points other 
than the mle.)

Thanks, Murray Jorgensen