Is it possible to estimate the variance of a variable directly, either through estimating a transform of stderr, or through some other means? I was hoping to do this, for the exogenous variable a - the stochastic component of an AR(1) process:
In the model block:
- Code: Select all
#varianceofa=(stderr a)^2;
And then in the estimated_params block:
- Code: Select all
varianceofa, inv_gamma2_pdf, 0.5, 0.15;
But it doesn't seem to be possible to refer to stderr in the model block. Is it possible to do this or something like it in Dynare?