Learn R Programming

pseval (version 1.3.1)

risk_continuous: Risk model for continuous outcome

Description

This model assumes that the outcome Y is normally distributed conditional on S.1 and Z, with mean determined by the model formula. It also assumes that larger values of Y are more indicative of poor outcomes, e.g., blood pressure.

Usage

risk_continuous(model = Y ~ S.1 * Z, D = 5000)

Arguments

model

Formula specifying the risk model for the mean

D

number of samples for the simulated annealing integration