MCEM.hcbn | R Documentation |
parameter estimation for the hidden conjunctive Bayesian network model (H-CBN) via importance sampling
MCEM.hcbn( lambda, poset, obs, lambda.s = 1, L, eps = NULL, sampling = c("forward", "add-remove", "backward", "bernoulli", "pool"), times = NULL, weights = NULL, max.iter = 100L, update.step.size = 20L, tol = 0.001, max.lambda = 1e+06, neighborhood.dist = 1L, thrds = 1L, verbose = FALSE, seed = NULL )
lambda |
a vector containing initial values for the rate parameters |
poset |
a matrix containing the cover relations |
obs |
a matrix containing observations or genotypes, where each row
corresponds to a genotype vector whose entries indicate whether an event has
been observed ( |
lambda.s |
rate of the sampling process. Defaults to |
L |
number of samples to be drawn from the proposal in the E-step |
eps |
an optional initial value of the error rate parameter |
sampling |
sampling scheme to generate hidden genotypes, |
times |
an optional vector containing times at which genotypes were observed |
weights |
an optional vector containing observation weights |
max.iter |
the maximum number of EM iterations. Defaults to |
update.step.size |
number of EM steps after which the number of
samples, |
tol |
convergence tolerance for the error rate and the rate parameters.
The EM runs until the difference between the average estimates in the last
two batches is smaller than tol, or until |
max.lambda |
an optional upper bound on the value of the rate
parameters. Defaults to |
neighborhood.dist |
an integer value indicating the Hamming distance
between the observation and the samples generated by |
thrds |
number of threads for parallel execution |
verbose |
an optional argument indicating whether to output logging information |
seed |
seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.