Fixed indentation.
parent
7973040d40
commit
dc0b4a76be
|
@ -49,4 +49,3 @@ for n=1:niters
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -54,4 +54,3 @@ sqr_det = sqrt(det(Pyy)) ;
|
|||
foo = (eta_t_i/Pyy).*eta_t_i ;
|
||||
likelihood = exp(-0.5*sum(foo,2))/(normconst*sqr_det) + 1e-99 ;
|
||||
IncrementalWeights = likelihood.*prior./proposal ;
|
||||
|
||||
|
|
|
@ -26,4 +26,3 @@ for k=1:Gsecond
|
|||
State_Particles(:,idx) = StateSqrtPPost(:,:,k)*randn(Xdim,Nc(k));
|
||||
end
|
||||
State_Particles= State_Particles + StateMuPost(:,comp);
|
||||
|
||||
|
|
|
@ -28,6 +28,3 @@ state_variables_steady_state = ReducedForm.state_variables_steady_state;
|
|||
number_of_structural_innovations = length(ReducedForm.Q);
|
||||
yhat = bsxfun(@minus,StateVectors,state_variables_steady_state) ;
|
||||
measure = local_state_space_iteration_2(yhat,zeros(number_of_structural_innovations,size(yhat,2)),ghx,ghu,constant,ghxx,ghuu,ghxu,ThreadsOptions.local_state_space_iteration_2);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -367,4 +367,3 @@ for plt = 1:nbplt,
|
|||
fprintf(fidTeX,' \n');
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -38,5 +38,3 @@ W_c = W_m + (1-ParticleOptions.unscented.alpha^2+ParticleOptions.unscented.beta)
|
|||
temp = ones(2*n,1)/(2*(n+lambda)) ;
|
||||
W_m = [W_m ; temp] ;
|
||||
W_c = [W_c ; temp] ;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue