adding noprint also for empirical moments
parent
46e0873eef
commit
a8c184a63d
|
@ -69,6 +69,7 @@ end
|
|||
|
||||
if options_.nocorr == 0
|
||||
corr = (y'*y/size(y,1))./(s'*s);
|
||||
if options_.noprint == 0
|
||||
title = 'CORRELATION OF SIMULATED VARIABLES';
|
||||
if options_.hp_filter
|
||||
title = [title ' (HP filter, lambda = ' ...
|
||||
|
@ -76,6 +77,7 @@ if options_.nocorr == 0
|
|||
end
|
||||
headers = char('VARIABLE',M_.endo_names(ivar,:));
|
||||
dyntable(title,headers,labels,corr,size(labels,2)+2,8,4);
|
||||
end
|
||||
end
|
||||
|
||||
ar = options_.ar;
|
||||
|
@ -87,6 +89,7 @@ if ar > 0
|
|||
oo_.autocorr{i} = y(ar+1:end,:)'*y(ar+1-i:end-i,:)./((size(y,1)-ar)*std(y(ar+1:end,:))'*std(y(ar+1-i:end-i,:)));
|
||||
autocorr = [ autocorr diag(oo_.autocorr{i}) ];
|
||||
end
|
||||
if options_.noprint == 0
|
||||
title = 'AUTOCORRELATION OF SIMULATED VARIABLES';
|
||||
if options_.hp_filter
|
||||
title = [title ' (HP filter, lambda = ' ...
|
||||
|
@ -94,6 +97,7 @@ if ar > 0
|
|||
end
|
||||
headers = char('VARIABLE',int2str([1:ar]'));
|
||||
dyntable(title,headers,labels,autocorr,size(labels,2)+2,8,4);
|
||||
end
|
||||
end
|
||||
|
||||
warning(warning_old_state);
|
||||
|
|
Loading…
Reference in New Issue