Fixed ordering of the columns of the Companion matrix...
For the level representation of the trend component model.time-shift
parent
2cff485113
commit
4775bca073
|
@ -110,9 +110,9 @@ switch auxiliary_model_type
|
||||||
% Reorder target_eqnums_in_auxiliary_model to ensure that the order of
|
% Reorder target_eqnums_in_auxiliary_model to ensure that the order of
|
||||||
% the trend variables matches the order of the error correction
|
% the trend variables matches the order of the error correction
|
||||||
% variables.
|
% variables.
|
||||||
[~,reorder] = ismember(M_.trend_component.(auxiliary_model_name).lhs(target_eqnums_in_auxiliary_model), ...
|
[~, reorder] = ismember(M_.trend_component.(auxiliary_model_name).lhs(target_eqnums_in_auxiliary_model), ...
|
||||||
M_.trend_component.(auxiliary_model_name).target_vars(M_.trend_component.(auxiliary_model_name).target_vars > 0));
|
M_.trend_component.(auxiliary_model_name).target_vars(M_.trend_component.(auxiliary_model_name).target_vars > 0));
|
||||||
target_eqnums_in_auxiliary_model = target_eqnums_in_auxiliary_model(reorder);
|
target_eqnums_in_auxiliary_model(reorder) = target_eqnums_in_auxiliary_model;
|
||||||
% Get the EC matrix (the EC term is assumend to be in t-1).
|
% Get the EC matrix (the EC term is assumend to be in t-1).
|
||||||
%
|
%
|
||||||
% TODO: Check that the EC term is the difference between the
|
% TODO: Check that the EC term is the difference between the
|
||||||
|
|
Loading…
Reference in New Issue