Learn R Programming

SurrogateBMA (version 1.0)

pred.func: Calculate the expected primary outcome in the treatment group given the model and the parameters

Description

Provides a function to calculate the expected primary outcome in the treatment group given the model and the parameters.

Usage

pred.func(theta, ST, m)

Value

a numeric vector.

Arguments

theta

ST

m

Author

Yunshan Duan

References

Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.