Learn R Programming

ACSWR (version 1.0)

caesareans: The Cesarean Cases

Description

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.

Usage

data(caesareans)

Arguments

Format

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

Source

http://www.oxfordjournals.org/our_journals/tropej/online/ma_chap13.pdf

Examples

Run this code
data(caesareans)
names(caesareans)
cae_pois <- glm(Caesareans~Hospital_Type+Births,data=caesareans,family='poisson')
summary(cae_pois)

Run the code above in your browser using DataLab