Learn R Programming

BayesFBHborrow (version 2.0.2)

.predictive_hazard_ratio: Predictive hazard ratio (HR) from BayesFBHborrow object

Description

Predictive hazard ratio (HR) from BayesFBHborrow object

Usage

.predictive_hazard_ratio(x_pred, beta_samples)

Value

posterior samples for expectation and credible intervals

Arguments

x_pred

set of predictors to be used for calculating the predictive HR

beta_samples

samples of the covariates