These data were simulated from a multinomial distribution of the form described in the case crossover paper, with true additive predictor eta = 3 *(exposure^2 - .5^2). It is good for testing the fitting of case crossover models and learning the API for prior specification and linear constraints.
1 |
A tibble with 3,596 rows and 6 columns:
The covariate used for the simulations
The true value of the additive predictor, for comparison
The corresponding true probability of case == 1
Subject id, to be used as the strata variable
The exposure covariate binned into 50 bins, for fitting RW2 models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.