Search code examples
rstate-space

Imposing linear restrictions with MARSS


On the MARSS Userguide it is said that you can impose linear restrictions on parameters and they give a theoretical example.

I'd like a practical example. My problem is that I do not know how to implement a linear restriction such as:

a   b
c  2*a

Should I use a "2*a" string ? won't that be considered the name of the coefficient ?


Solution

  • I am unaware of any theoretical examples in our User's Guide, but MARSS will interpret the string "2*a" as 2 times the parameter a.