trial_data | R Documentation |
Generated with logistic regression model:
logit(P(Y_{ij} = 1 | gender_i, age_{i1}, age_{i2})) = 3*gender_i +3*age_{i1} +3*age_{i2}
The data frame can be used to run GLM clinical trial example in Huang, Tong, Yang (2023)
trial_data
A data frame with 500 rows and 6 variables:
gender of the patients
1 or 0, whether or not the patient belongs to 18-25 age group
1 or 0, whether or not the patient belongs to 26-64 age group
stratification group in terms of gender and age, 1 to 6
treatment effective or not, Y=1 means treatment is effective to the patient
patient ID, 1-500
Generated pseudo clinical trial data to serve as an example.
data(trial_data) #lazy loading
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.