Description Usage Format Source Examples
An increasing concern has been the number of cesarean deliveries, especially in the private hospitals. Here, we know the number of births, the type of hospital (private or Government hospital), and the number of cesareans. We would like to model the number of cesareans as a function of the number of births and the type of hospital. A Poisson regression model is fitted for this data set.
1 |
A data frame with 20 observations on the following 3 variables.
Births
total number of births
Hospital_Type
type of hospital, private or government
Caesareans
number of caesareans
http://www.oxfordjournals.org/our_journals/tropej/online/ma_chap13.pdf
1 2 3 4 | data(caesareans)
names(caesareans)
cae_pois <- glm(Caesareans~Hospital_Type+Births,data=caesareans,family='poisson')
summary(cae_pois)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.