Description Usage Arguments Examples
This function allows you to estimate a two-stage least squares linear regression in one step.
1 |
model_formula |
The formula of the main regression problem. |
instrument_formula |
The formula for the first stage of the regression problem. Estimate an endogenous variable from one (or more) instruments. If blank, defaults to ordinary linear regression. |
data |
(optional) A data frame containing all variables for the regression model. |
... |
Additional arguments to pass to glm(). |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.