Learn R Programming

mcmcabn (version 0.6)

Flexible Implementation of a Structural MCMC Sampler for DAGs

Description

Flexible implementation of a structural MCMC sampler for Directed Acyclic Graphs (DAGs). It supports the new edge reversal move from Grzegorczyk and Husmeier (2008) and the Markov blanket resampling from Su and Borsuk (2016) . It supports three priors: a prior controlling for structure complexity from Koivisto and Sood (2004) , an uninformative prior and a user-defined prior. The three main problems that can be addressed by this R package are selecting the most probable structure based on a cache of pre-computed scores, controlling for overfitting, and sampling the landscape of high scoring structures. It allows us to quantify the marginal impact of relationships of interest by marginalizing out over structures or nuisance dependencies. Structural MCMC seems an elegant and natural way to estimate the true marginal impact, so one can determine if it's magnitude is big enough to consider as a worthwhile intervention.

Copy Link

Version

Install

install.packages('mcmcabn')

Monthly Downloads

45

Version

0.6

License

GPL-3

Maintainer

Annina Cincera

Last Published

September 28th, 2023

Functions in mcmcabn (0.6)

print.mcmcabn

Methods for mcmcabn objects
mcmc_asia

Precomputed mcmcabn objects.
CoupledHeatedmcmcabn

Coupled Heated Structural MCMC sampler for DAGs
print.summary.mcmcabn

Methods for printing the summary of mcmcabn objects
query

Function to query MCMC samples generated by mcmcabn
mcmcabn

Structural MCMC sampler for DAGs
plot.mcmcabn

Function to plot mcmcabn class objects
summary.mcmcabn

Function to summarize MCMC run generated by mcmcabn
abnCache.asia

Cache of pre-computed scores related to the asia dataset
asia

The asia dataset
. mcmcabn .

mcmcabn Package