Skip to contents

This class represents a model with a Gaussian prior derived from static borrowing, and a Gaussian likelihood. It inherits from the GaussianConjugate class.

Super classes

Model -> GaussianConjugate -> GaussianStaticBorrowing

Public fields

power_parameter

The power parameter for the model. A NULL value indicates no power parameter, whereas a non-zero value sets the prior variance based on the source's standard error and the power parameter.

prior_var

The variance of the prior. This is set based on the power parameter.

method

Method name

Methods

Inherited methods


GaussianStaticBorrowing$new()

Usage

Arguments

prior

Prior

Returns

A Model object.


GaussianStaticBorrowing$summary_rows()

Rows of the model summary, with the power parameter

Usage

GaussianStaticBorrowing$summary_rows()

Returns

A data frame with columns Attribute and Value.


GaussianStaticBorrowing$vectorised_prior_variance()

Prior variance for each replicate

Static borrowing fixes the prior up front, so every replicate shares it.

Usage

GaussianStaticBorrowing$vectorised_prior_variance(target_data, samples)

Arguments

target_data

Target study data.

samples

Data frame of generated replicates.

Returns

The prior variance.


GaussianStaticBorrowing$clone()

The objects of this class are cloneable with this method.

Usage

GaussianStaticBorrowing$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

NA
#> [1] NA