Simulated data to show how the beta-binomial model may be fit with fixed and random effects on both the mean and dispersion.
betabin_data_1
A data frame containing 500 observations and 6 columns:
The individual ID.
The replicate number
The value of the covariate for the mean.
The value of the covariate for the dispersion.
The number of Bernoulli trials for each observation.
The number of successes.