setPriorParametersStratified: setPriorParametersStratified

setPriorParametersStratifiedR Documentation

setPriorParametersStratified

Description

This function sets prior parameters for the analysis method "stratified" for use in performAnalyses.

Usage

setPriorParametersStratified(a_j, b_j)

Arguments

a_j

A vector of positive numerics for α

b_j

A vector of positive numerics for β

Details

The method "stratified" is a beta-binomial model that assesses each cohort individually. The prior parameters are the scale parameters of the beta prior distributions.

Value

A list with prior parameters of class prior_parameters_list

Author(s)

Stephan Wojciekowski

See Also

performAnalyses getPriorParameters combinePriorParameters setPriorParametersBerry setPriorParametersExNex setPriorParametersExNexAdj setPriorParametersPooled getMuVar

Examples

 prior_parameters_pooled <- setPriorParametersStratified(c(1, 2), c(3, 4))

bhmbasket documentation built on March 18, 2022, 7:46 p.m.