Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to specify a ARDL without intercept using this package? #13

Open
mabuimo opened this issue Sep 18, 2022 · 1 comment
Open

Comments

@mabuimo
Copy link

mabuimo commented Sep 18, 2022

ardl_fit <- ardl(target~ -1 + cpi+ oil + ind_prod, data = france_tbl, order = c(1,1,2,1))
I have tried using -1 in the formula but it doesn't work.

@Natsiopoulos
Copy link
Owner

Yes, it is possible to specify an ARDL model without an intercept.
A bug doesn't allow -1 to be right after ~.
Thank you for reminding me of this issue, I will fix it.
For now, just place -1 in another place, between the other variables, or at the end (e.g. ardl(target~ cpi+ oil + ind_prod -1, data = france_tbl, order = c(1,1,2,1)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants