AdaemmerP / lpirfs

40 stars 21 forks source link

Lag length in lp_nl #36

Closed Aceampoma closed 10 months ago

Aceampoma commented 10 months ago

Hello, excellent Package: My question is how do I switch off the lag length and use my fixed lag. ;

esults_nl <- lp_nl(endog_data,

Error in lp_nl(endog_data, lags_endog_lin = 12, lags_endog_nl = 12, trend = 0, : Possible lag length criteria are AICc, AIC or BIC or NaN if lag length is specified.

AdaemmerP commented 10 months ago

Did you set "lags_criterion = NaN"? Your code is unfortunately not reproducible.

Aceampoma commented 10 months ago

No, I have fixed it thank you.