Hi all,
I'm trying to estimate a state-space model in which a want to set the initial value of the coefficients. I'm having some problems though because I want the value of the coefficients to be based on the value in a vector.
For instance if I put the following line in the state-space spec:
param c(1) 2
it works fine
However if I try using the value from the vector coeff_x, e.g.
param c(1) coeff_x(1)
I get an error message.
I've also tried putting the vector's value into a scalar and then using the scalar in the param line, but this also led to an error message.
Any help would be greatly appreciated.
I'm trying to estimate a state-space model in which a want to set the initial value of the coefficients. I'm having some problems though because I want the value of the coefficients to be based on the value in a vector.
For instance if I put the following line in the state-space spec:
param c(1) 2
it works fine
However if I try using the value from the vector coeff_x, e.g.
param c(1) coeff_x(1)
I get an error message.
I've also tried putting the vector's value into a scalar and then using the scalar in the param line, but this also led to an error message.
Any help would be greatly appreciated.