pimax: Monte Carlo approximation of a probit posterior marginal
Description
This function represents the variability of a Monte Carlo approximation
to the posterior distribution of the intercept of a probit model. The data
used in this example is the Pima indian Pima.tr dataset. The
function produces three plots, the top one being based on a single simulated
sample for all values of the intercept along with the Monte Carlo variability
estimated by 100 repeated calls, the medium one being based on iid simulated samples
for for all values of the intercept along with the corresponding Monte
Carlo variability and the bottom one being obtained by numerical integration.
Usage
pimax(Nsim = 10^3)
Arguments
Nsim
Number of simulations in all Monte Carlo experiments
Value
Return three plots
References
From Chapter 5 of EnteR Monte Carlo Statistical Methods