mapEst: Compute MAP estimate

Description Usage Arguments Examples

View source: R/mapEst.R

Description

Given a sequence of MCMC samples this function computes the MAP estimate of the posterior distribution.

Usage

1
mapEst(chain, burnin = 0, thin = 1)

Arguments

chain

sequence of MCMC samples

burnin

Number of initial samples to drop

thin

Number of samples to be dropped between two consecutive selections in the chain

Examples

1

shariq-mohammed/SpikeSlabEEG documentation built on July 21, 2020, 12:17 a.m.