SpikeSlabPrior: Estimates the fraction of null-hypotheses using a...

View source: R/SpikeSlabPrior.R

SpikeSlabPriorR Documentation

Estimates the fraction of null-hypotheses using a spike-and-slab prior

Description

Estimates the fraction of null-hypotheses using a spike-and-slab prior. Conservative option for inference.

Usage

SpikeSlabPrior(fitall,fitall0)

Arguments

fitall

A 2-component list object resulting from FitAllShrink or from CombinePosteriors.

fitall0

An optional 2-component list object resulting from FitAllShrink containing the fits under the null-model.

Details

Explicitly maximizes the total marginal likelihood as a function of the fraction of null-hypotheses.

Value

Numeric

Author(s)

Mark A. van de Wiel

See Also

SpikeSlabUpdatePosterior for computing posteriors.


markvdwiel/ShrinkBayes documentation built on March 27, 2022, 7:47 p.m.