BNSamplerGrzeg: Undocumented.

Description Usage Arguments See Also

View source: R/mcmc-grzeg.R

Description

method description. Not tested.

Usage

1
2
3
4
5
  BNSamplerGrzeg(data, initial, prior, return = "network",
    logScoreFUN = logScoreMultDirFUN(),
    logScoreParameters = list(hyperparameters = "bdeu"),
    constraint = NULL, modejumping = F, verbose = F,
    keepTape = F, grzeg = list(grzegMoveProbability = 0.5))

Arguments

data

...

initial

...

prior

...

return

...

logScoreFUN

A list of four elements:

offline

A function that computes the logScore of a Bayesian Network

online

A function that incrementally computes the logScore of a Bayesian Network

local

A function that computes the local logScore of a Bayesian Network

prepare

A function that prepares the data, and any further pre-computation required by the logScore functions.

For Multinomial-Dirichlet models, logScoreMultDirFUN returns the appropriate list; for Normal models with Zellner g-priors, logScoreNormalFUN returns the appropriate list.

logScoreParameters

...

constraint

...

modejumping

NOT IMPLEMENTED

verbose

...

keepTape

...

grzeg

...

See Also

BNSampler, BNSamplerPT, BNSamplerMJ, BNGibbsSampler. Internally uses localPartitionFunction, and scoreParents.


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.