Learn R Programming

momentfit (version 1.0)

lse-methods: Least Squares Methods for Moment Models

Description

It estimates models defined in the package by least squares. At the moment, it only applies to linearModel objects and it is estimated using lm.

Arguments

Methods

signature(model = "linearModel")

It ignores the instruments and simply fits the linear model with LSE.

Examples

Run this code
data(simData)
mod <- momentModel(y~x1, ~z1+z2, vcov="MDS", data=simData)
lse(mod)

Run the code above in your browser using DataLab