How can I impose nonlinear constraints on the state transition matrix for the estimation of a state-space model using the Econometrics Toolbox?

1 次查看(过去 30 天)
I would like to estimate a state-space model using the Econometrics Toolbox considering nonlinear constraints on the state transition matrix.
How can I impose nonlinear constraints on the state transition matrix for the estimation of a state-space model using the Econometrics Toolbox?

采纳的回答

MathWorks Support Team
One way to impose complex nonlinear constraints for the estimation of a state-space model using the Econometrics Toolbox is to exclude the bad parameter values in the domain of the mapping from the parameters to 'ssm' coefficient matrices 'A', 'B', 'C' and 'D'. Then, the numerical optimization program will search solutions within the constrained parameter space when calling the 'estimate' function using the aforementioned definition of 'ssm'.
For instance, provided that the requirement is that all eigenvalues of the state transition matrix are positive, one can define a mapping with the constrained domain in the following manner,
function [A,B,C,D] = myfun(params)
A = ; B = ; C = ; D =;
if any(abs(eig(A))>1)
A = zeros(2);
end
end
The underlying idea is that when the parameters violate the eigenvalue constraints, the transition matrix is reduced to zero matrix, which must correspond to a small log-likelihood value. Therefore, the optimization program will stay away from these bad parameter values.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Standard State-Space Model 的更多信息

标签

尚未输入任何标签。

产品


版本

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by