View source: R/get_std_err_tsls.R
get_std_err_tsls | R Documentation |
Compute 2SLS standard errors.#'
get_std_err_tsls(yy, xx, lag_nw, k, zz, specs)
yy |
A matrix with all endogenous variables. |
xx |
A matrix with lagged endogenous variables. |
lag_nw |
Integer. Number of lags for Newey and West |
k |
Integer. Value of column to choose from |
specs |
A list with specifications from lp_lin or lp_nl. |
List. First element contains the estimated standard errors, the second element contains the OLS point estimates.
Philipp Adämmer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.