Learn R Programming

momentfit (version 0.5)

Dresiduals-methods: ~~ Methods for Function Dresiduals in Package Gmm ~~

Description

It returns the matrix of derivatives of the residuals with respect to the coefficients.

Arguments

Methods

signature(object = "linearModel")

signature(object = "nonlinearModel")

signature(object = "rsnonlinearModel")

signature(object = "sysMomentModel")

Examples

Run this code
data(simData)

theta <- c(beta0=1,beta1=2)
model1 <- momentModel(y~x1, ~z1+z2, data=simData)

Dresiduals(model1, theta)[1:3,]

Run the code above in your browser using DataLab