Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_std_err_tsls

Compute standard errors for 2SLS


Description

Compute 2SLS standard errors.#'

Usage

get_std_err_tsls(yy, xx, lag_nw, k, zz, specs)

Arguments

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.

Value

List. First element contains the estimated standard errors, the second element contains the OLS point estimates.

Author(s)

Philipp Adämmer


lpirfs

Local Projections Impulse Response Functions

v0.2.0
GPL (>= 2)
Authors
Philipp Adämmer [aut, cre] (<https://orcid.org/0000-0003-3770-0097>), James P. LeSage [ctb], Mehmet Balcilar [ctb], Jon Danielsson [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.