# beanz-package: Bayesian Approaches for HTE Analysis In beanz: Bayesian Analysis of Heterogeneous Treatment Effect

## Description

This package contains the functions for running Bayesian models implemented in STAN for HTE analysis.

## Notation

Consider a randomized two-arm clinical trial. Let Y denote the response and Z denote treatment arm assignment. For subgroup analysis, assume there are P baseline covariates, X_1,…,X_P, of interest. The covariates can be binary, ordinal with numerical values, or nominal variables. Let Ω = \{(X_1,…,X_P)\} denote the collection of subgroups defined by the covariates. Let θ_g denote the treatment effect in subgroup G=g, and let \widehat{θ}_g be the estimated θ in subgroup G=g with \widehat{σ}^2_g the estimated variance associated with \widehat{θ}_g.

## Models

We approximate the distribution of \widehat{θ}_g by

\widehat{θ}_g | θ_g, σ^2_g \sim N(θ_g, σ^2_g)

and assign an informative prior to σ_g.

We consider two options in the software: log-normal or uniform prior. The uniform prior is specified as:

\log σ_g | \widehat{σ}_g, Δ \sim Unif( \log \widehat{σ}_g - Δ, \log\widehat{σ}_g + Δ)

and the log-normal prior is specified as:

\log σ_g | \widehat{σ}_g, Δ \sim N( \log \widehat{σ}_g, Δ)

where Δ is a parameter specified by the users.

We consider a set of models together with the priors for θ_g:

No subgroup effect model

This model assumes that patients in all the subgroups are exchangeable. That is, all the subgroups are statistically identical with regard to the treatment effect and there is no subgroup effect. Information about treatment effects can be directly combined from all subgroups for inference. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ\\ μ &\sim& N(0, B), \end{array}

where B is large in relation to the magnitude of the treatment effect size so that the prior for μ is essentially non-informative.

Full stratification model

The subgroups are fully distinguished from each other with regard to the treatment effect. There is no information about treatment effects shared between any subgroups. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ_g \\ μ_g &\sim& N(0, B). \end{array}

Simple regression model

The model introduces a first-order, linear regression structure. This model takes into account the information that the subgroups are formulated based on the set of baseline covariates. The coefficients are assumed to be exchangeable among subgroups. Information about treatment effects are shared between subgroups with similar baseline covariates through these coefficients. The model is specified as follows:

\begin{array}{rcl} θ_g|X_g &=& μ + ∑_{j=1}^P X'_{g,j} γ_j \\ μ &\sim& N(0,B) \\ γ_j &\sim& N(0, C) \qquad j=1,…,P. \end{array}

Basic shrinkage model

This approach assumes all subgroups are exchangeable with regards to the treatment effect. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ + φ_g \\ μ &\sim& N(0, B) \\ φ_g &\sim& N(0, ω^2) \\ ω &\sim& {Half-}N(D). \end{array}

Simple regression and shrinkage model

This model combines basic regression with shrinkage, with a linear regression structure and a random effect term. Direct estimates are shrunken towards the regression surface. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ + ∑_{j=1}^P X'_{g,j} γ_j + φ_g \\ μ &\sim& N(0,B) \\ γ_j &\sim& N(0, 1 C) \qquad j=1,…,P\\ φ_g &\sim& N(0, ω^2) \\ ω &\sim& {Half-}N(D). \end{array}

Dixon and Simon model

This model assumes that the elements in coefficient are exchangeable with each other, which allows information sharing among covariate effects. Similar to the simple regression model, only the first-order interactions are considered. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ + ∑_{j=1}^P X'_{g,j} γ_j \\ μ &\sim& N(0,B) \\ γ_j &\sim& N(0, ω^2) \\ ω &\sim& {Half-}N(D). \end{array}

Extended Dixon and Simon model

This approach extends the Dixon and Simon model by introducing the higher-order interactions, with the interaction effects exchangeable. The model is specified as follows:

\begin{array}{rcl} θ_g &=& μ + ∑_{k=1}^P ∑_{j \in ξ^{(k)}} X'_{ξ^{(k)},j} γ^{(k)}_{j} \\ μ &\sim& N(0,B) \\ γ^{(k)}_j &\sim& N(0, ω_k^2) \qquad k=1,…,P, \quad j\in ξ^{(k)} \\ ω_k &\sim& {Half-}N(D), \end{array}

where ξ^{(k)} denotes the set of kth order interaction terms

## Graphical user interface (GUI)

This package provides a web-based Shiny GUI. See bzShiny for details.

## References

Jones HE, Ohlssen DI, Neuenschwander B, Racine A, Branson M (2011). Bayesian models for subgroup analysis in clinical trials. Clinical Trials, 8(2), 129-143.

Dixon DO, Simon R (1991). Bayesian subset analysis. Biometrics, 47(3), 871-881.

beanz documentation built on May 2, 2019, 4:01 a.m.