Displaying 1 result from an estimated 1 matches for "preddistr".
Did you mean:
preddist
2017 Jul 23
1
BayesianTools update prior
...sianTools. With the Code below (the errors) I get:
" Error in quantile.default(x, probs = quantiles[i]) :
missing values and NaN's not allowed if 'na.rm' is FALSE"
The error appears to come from the function getPredictiveIntervals, specifically the lines:
for (i in 1:nrow(predDistr)) {
predDistr[i, ] = error(mean = pred[i, ], par = parMatrix[i,
])
}
predInt = getCredibleIntervals(sampleMatrix = predDistr,
quantiles = quantiles)
I suspect lower and upper bounds on the parameters are not being enforced leading to a negative stand...