Merge pull request #542 from JohannesPfeifer/cosmetic_changes
Fix typo in manual and make sure that index is an integer in GetPosterio...time-shift
commit
4a301a92d3
|
@ -5300,10 +5300,10 @@ where @var{FORECAST_OBJECT} is one of the following@footnote{See @ref{forecast}
|
|||
Mean of the posterior forecast distribution
|
||||
|
||||
@item HPDinf/HPDsup
|
||||
Upper/lower bound of the 90\% HPD interval taking into account only parameter uncertainty
|
||||
Upper/lower bound of the 90% HPD interval taking into account only parameter uncertainty
|
||||
|
||||
@item HPDTotalinf/HPDTotalsup
|
||||
Upper/lower bound of the 90\% HPD interval taking into account both parameter and future shock uncertainty
|
||||
Upper/lower bound of the 90% HPD interval taking into account both parameter and future shock uncertainty
|
||||
|
||||
@end table
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ function [mean,variance] = GetPosteriorMeanVariance(M,drop)
|
|||
n = n + m;
|
||||
continue
|
||||
elseif n < drop*NbrDraws
|
||||
k = drop*NbrDraws - n + 1;
|
||||
k = ceil(drop*NbrDraws - n + 1);
|
||||
x2 = o.x2(k:end,:);
|
||||
else
|
||||
x2 = o.x2;
|
||||
|
|
Loading…
Reference in New Issue