Page 1 of 1

Error variance specification in State-space models

Posted: Mon Dec 28, 2020 8:08 am
by ErikG
Hi,

Why are the variances for the errors in equations in State Space models specified as:

@state ... + [var=exp(c(1))]

and not just

@state ... + [var=c(1)]

is exp() here the exponential function? Is it to ensure non-negative variances?

Should one take the natural logarithm of the the estimated c(1) parameter in the first case in order to obtain the extimated variance of the error term?

Thanks,
Erik

Re: Error variance specification in State-space models

Posted: Mon Dec 28, 2020 8:45 am
by startz
Hi,

Why are the variances for the errors in equations in State Space models specified as:

@state ... + [var=exp(c(1))]

and not just

@state ... + [var=c(1)]

is exp() here the exponential function? Is it to ensure non-negative variances?
Yes.
Should one take the natural logarithm of the the estimated c(1) parameter in the first case in order to obtain the extimated variance of the error term?
Nope, the estimated variance is exp(c(1)).