Description Usage Format Source See Also Examples
The data set contains information on infection from births by Caesarean section, originating from a 3-way contingency table. 251 mothers were categorized by the variables "Caesarean planned" (yes/no), "antibiotics given" (yes/no) and "risk factors present" (yes/no). To obtain data for a binary regression model the originally observed two types of infection are ignored and just the binary event "infection" or "no infection" is considered. For the binomial logit regression model all binary observations with the same covariate pattern are aggregated to a binomial observation.
1 2 3 4 5 |
The binomial data set caesarean consists of 8 binomial observations (= aggregated binary observations) and the following 6 variables:
yinumber of women with infection
Ninumber of observed women in each group
interceptcolumn consisting of ones
plannedCaesarean birth planned (1 = yes, 0 = no)
riskfactorsrisk factors present (1 = yes, 0 = no)
antibioticsantibiotics given (1 = yes, 0 = no)
The binary data set caesarean_binary consists of 251 binary observations and the following 5 variables:
yinfection (1 = yes, 0 = no)
plannedCaesarean birth planned (1 = yes, 0 = no)
riskfactorsrisk factors present (1 = yes, 0 = no)
antibioticsantibiotics given (1 = yes, 0 = no)
interceptcolumn consisting of ones
To run auxiliary mixture sampling in the individual dRUM representation of the binomial logit model the binary data set should have the same form as the binomial data set. For this purpose a column consisting of ones is added to the binary data set. The data set caesarean_aux then consists of 251 observations and the following 6 variables:
yinumber of women with infection
Ninumber of observed women in each group, which is equal to 1 for all observations
plannedCaesarean birth planned (1 = yes, 0 = no)
riskfactorsrisk factors present (1 = yes, 0 = no)
antibioticsantibiotics given (1 = yes, 0 = no)
interceptcolumn consisting of ones
Fahrmeir, L. and Tutz, G. (2001) Multivariate Statistical Modelling based on Generalized Linear Models, 2nd Ed. Springer Series in Statistics. Springer, New York/Berlin/Heidelberg.
dRUMIndMH, dRUMAuxMix, dRUMHAM, IndivdRUMIndMH
1 2 3 4 5 | data(caesarean)
data(caesarean_binary)
data(caesarean_aux)
## see dRUMIndMH, dRUMAuxMix, dRUMHAM and IndivdRUMIndMH documentation
## for examples using these data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.