posterior.predictive.nl {BMAmevt} | R Documentation |
Wrappers for posterior.predictive3D
in the PB and NL models.
posterior.predictive.nl( post.sample, from = post.sample$Nbin + 1, to = post.sample$Nsim, thin = 50, npoints = 40, eps = 0.001, equi = T, displ = T, ... ) posterior.predictive.pb( post.sample, from = post.sample$Nbin + 1, to = post.sample$Nsim, thin = 50, npoints = 40, eps = 10^(-3), equi = T, displ = T, ... )
post.sample |
A posterior sample as returned by |
from |
Integer or |
to |
Integer or |
thin |
Thinning interval. |
npoints |
The number of grid nodes on the squared grid containing the desired triangle. |
eps |
Positive number: minimum distance from any node inside the simplex to the simplex boundary |
equi |
logical. Is the simplex represented as an equilateral triangle (if |
displ |
logical. Should a plot be produced ? |
... |
Additional graphical parameters and arguments to be passed
to |
The posterior predictive density is approximated by averaging the densities corresponding to the parameters stored in post.sample
. See
posterior.predictive3D
for details.
A npoints*npoints
matrix: the posterior predictive density.
posterior.predictive3D
, posteriorMCMC.pb
.