A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AdaemmerP/lpirfs/issues/27 below:

Using ip_lin_iv for impulse response function using 2SLS · Issue #27 · AdaemmerP/lpirfs · GitHub

Hi,
I was having trouble trying to run the following commands:

base_iv1 <- lp_lin_iv(
endog_data = endog,
shock = shock,
cumul_mult = TRUE,
instrum = instrum,
use_twosls = TRUE,
lags_endog_lin = 4,
exog_data = exog,
lags_exog = 4,
lags_criterion = NaN,
trend = 0,
confint = 1.96,
hor = 12
)

and I get an error "Error in { :
task 1 failed - "Mat::insert_cols(): given object has an incompatible number of rows"

Specifically, it seems that whenever I put both "cumul_mult = TRUE" and " use_twosls = TRUE", it would report such an error.
The number of rows in all data frames I put are the same.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4