I am estimating the standard deviations of two structural shocks and their correlation in a simple RBC model.
I am running identification analysis tests via the command
- Code: Select all
identification;
and am getting two error messages.
1) When I run the .mod file and apply the identification test on the standard deviations only or on all paramaters
here is the error message that I get
- Code: Select all
Error using ./
Matrix dimensions must agree.
Error in identification_analysis (line 222)
ide_strength_J_prior(indok) = (1./(normaliz(indok)'./normaliz1(indok)'));
Error in dynare_identification (line 280)
[idehess_point, idemoments_point, idemodel_point, idelre_point, derivatives_info_point, info] = ...
Error in rbc_estim (line 219)
dynare_identification(options_ident);
Error in dynare (line 180)
evalin('base',fname) ;
2) If I run the identification test on the correlation between structural shocks only the reported error
message is
- Code: Select all
Error using .*
Matrix dimensions must agree.
Error in identification_analysis (line 224)
deltaM_prior = deltaM.*abs(normaliz1');
Error in dynare_identification (line 280)
[idehess_point, idemoments_point, idemodel_point, idelre_point, derivatives_info_point, info] = ...
Error in rbc_estim (line 218)
dynare_identification(options_ident);
Error in dynare (line 180)
evalin('base',fname) ;
The identification test works fine if it is applied to parameters not estimated via one of Dynares built-in
functions (as, in this case, stderr or corr). Help on the issue is greatly appreciated. I attach my .mod file.
Many thanks in advance,
Francis