Learn R Programming

bhmbasket (version 0.9.5)

setPriorParametersStratified: setPriorParametersStratified

Description

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

Usage

setPriorParametersStratified(a_j, b_j)

Value

A list with prior parameters of class prior_parameters_list

Arguments

a_j

A vector of positive numerics for \(\alpha\)

b_j

A vector of positive numerics for \(\beta\)

Author

Stephan Wojciekowski

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.

See Also

performAnalyses getPriorParameters combinePriorParameters setPriorParametersBerry setPriorParametersExNex setPriorParametersExNexAdj setPriorParametersPooled getMuVar

Examples

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

Run the code above in your browser using DataLab