Sample simulated data for exposure-response for binary endpoint
Source:R/yyy.R
exposure.response.sample.binary.Rd
Sample simulated data for exposure-response for binary endpoint
Format
A data frame with columns:
- conc
Simulated exposure
- y_logit
Simulated logit(p)
- y_prob
Simulated p
- y
Simulated event (1 or 0)
- y_cov_logit
Simulated logit(p) for model with covariate
- y_cov_prob
Simulated p for model with covariate
- y_cov
Simulated event (1 or 0) for model with covariate
- sex_num
1 or 0
- sex
female or male