setPriorParametersStratified {bhmbasket}R 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 \alpha

b_j

A vector of positive numerics for \beta

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))

[Package bhmbasket version 0.9.5 Index]