Skip to contents

The robust mixture prior for a binary endpoint, with the binomial likelihoods of both arms and an exact binomial informative component; see the comment at the top of R/binomial_rmp.R. It replaced a truncated normal mixture whose informative component was the normal approximation of the source posterior.

Super classes

Model -> MCMCModel -> BinomialLatticePrior -> BinomialRMP

Public fields

w

Prior weight of the informative component.

method

Method name.

Methods

Inherited methods


BinomialRMP$new()

Initialize the model.

Usage

BinomialRMP$new(prior, mcmc_config)

Arguments

prior

The prior object, with prior_weight among its method parameters.

mcmc_config

The MCMC configuration; only the quadrature engine is supported.


BinomialRMP$summary_rows()

Rows of the model summary, with the prior weight

Usage

BinomialRMP$summary_rows()

Returns

A data frame with columns Attribute and Value.


BinomialRMP$components()

The two components, computed once per worker and shared.

Usage

BinomialRMP$components()

Returns

The output of binomial_rmp_components().


BinomialRMP$kernels()

The prior kernels at the current weight, kept until the weight changes.

Usage

BinomialRMP$kernels()

Returns

The output of binomial_rmp_kernels().


BinomialRMP$kernel_key()

What identifies the prior, for the ELIR cache.

Usage

BinomialRMP$kernel_key()

Returns

A list.


BinomialRMP$compute_posterior_parameters()

Record the posterior weight of the informative component.

Usage

BinomialRMP$compute_posterior_parameters()


BinomialRMP$clone()

The objects of this class are cloneable with this method.

Usage

BinomialRMP$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.