pred.func: Calculate the expected primary outcome in the treatment group...

View source: R/SurrogateBMA_functions.R

pred.funcR Documentation

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)

Arguments

theta
ST
m

Value

a numeric vector.

Author(s)

Yunshan Duan

References

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


SurrogateBMA documentation built on May 29, 2024, 8:55 a.m.