twosls.alt {ivgets}R Documentation

2SLS estimator alternative

Description

Test whether is faster than twosls() but this does not seem to be the case.

Usage

twosls.alt(formula, data)

Arguments

formula

A formula in the format y ~ x1 + x2 | z1 + z2.

data

A data frame with all necessary variables y, x, and z.

WARNING

The return value is given class ivreg::ivreg() but it is not a true "ivreg" object. This does not pose any problems for internal use but should not be used outside of its usage in its current form. The class assignment is likely to change in the future.


[Package ivgets version 0.1.2 Index]