The code I wrote is:
- Code: Select all
varobs Y;
parameters alfa;
model;
# Y=z+alfa*N+(1-alfa)*k(-1);
end;
estimated_params;
alfa, beta_pdf, 0.99, 0.02; //Parametro, Distribuzione, Prior, Standard Error,
stderr e, inv_gamma_pdf, 0.01, inf;
end;
It keeps on returning the following error message:
Y has wrong type, you cannot use it within as left-hand side of a pound ('#') expression
what am I doing wrong?
Thanks,
Nemo4t