Hi,
I have read a related post but no solution was provided I believe because the question was not clear. I will try to explain clearly what I am asking here.
The point is that in the code you have to specify something like this:
dx_dt = x*theta[1]
But what if I know that the parameter theta[1] has different values at different time points?
x(t+1)=x(t)*theta[1,t]
For instance, let’s imagine I know that it has 2 different values, then I could use to 2 parameters doing something like this:
x(t+1)=x(t)*theta[1]*(t<k)+x(t)*theta[2]*(t>=k)
where k
can be fixed or even another parameter.
Is this possible?
Thanks!!!