Learn R Programming

trialr (version 0.0.7)

thallhierarchicalbinary_params: Parameters to be passed to the ThallHierachicalBinary model in Stan

Description

The parameters required by the trialr implementation of Thall et al's hierarchical Bayesian model for binary outcomes are bundled up in a list, for convenience. The model analyses the binary response rates to a common drug of multiple subtypes of a single disease. See the included vignette for a full description and demonstration.

Arguments

Value

A list with elements identified above.

Details

The list object has the following elements:

  • m, the number of disease sub-types under investigation, an integer.

  • x, the counts of responses in the m cohorts, a vector of non-negative integers.

  • n, the counts of patients in the m cohorts, a vector of non-negative integers.

  • target_resp the threshold response rate sought in the cohorts, a number between 0 and 1.

  • mu_mean, mean of the normal prior distribution on the treatment effects.

  • mu_sd, standard deviation of the normal prior distribution on the treatment effects.

  • tau_alpha, alpha parameter of the gamma prior distribution on the precision, tau.

  • tau_beta, beta parameter of the gamma prior distribution on the precision, tau.

An example of the thallhierarchicalbinary_params list is returned by thallhierarchicalbinary_parameters_demo.

See Also

thallhierarchicalbinary_parameters_demo