If you are seeking RATS code for implementing a particular technique or replicating results from a paper, post your request here. Be sure to include complete citations for any papers or books.
by hichbenn » Fri Mar 22, 2013 4:52 am
I'm looking for a code where I can impose sign parameters restricitons on VAR models.
I found this way to do it for a simple regression: "To impose a positive sign on coefficient of y(t-1) write y(t)=(exp(a)))*y(t-1)+...You then need to use a non-linear regression program to estimate a. For negative of course you would just write (-exp(a))*y(t-1)"
Would you please help me to find a code to do it using a VAR model.
-
hichbenn
-
- Posts: 3
- Joined: Wed Sep 21, 2011 3:26 am
by TomDoan » Fri Mar 22, 2013 11:25 am
Why would you want to do that? VAR coefficients generally have signs that switch from lag to lag due to the high correlation of adjacent lags.
-
TomDoan
-
- Posts: 2720
- Joined: Wed Nov 01, 2006 5:36 pm
Return to Looking for Code?
Who is online
Users browsing this forum: No registered users and 0 guests