Dresiduals-methods {gmm4} | R Documentation |
Dresiduals
in Package Gmm ~~It returns the matrix of derivatives of the residuals with respect to the coefficients.
signature(object = "linearGmm")
signature(object = "nonlinearGmm")
signature(object = "sysGmmModels")
data(simData) theta <- c(beta0=1,beta1=2) model1 <- gmmModel(y~x1, ~z1+z2, data=simData) Dresiduals(model1, theta)[1:3,]