flight: Injuries in Airflights

Description Usage Format References Examples

Description

Injuries in airflights, road accidents, etc, are instances of rare occurrences which are appropriately modeled by a Poisson distribution. Two models, before and after transformation, are fit and it is checked if the transformation led to a reduction to the variance.

Usage

1

Format

A data frame with 9 observations on the following 2 variables.

Injury_Incidents

Count of injury incidents

Total_Flights

Total number of flights

References

Chatterjee, S., and Hadi, A. S. (1977-2006). Regression Analysis by Examples, 4e. J. Wiley.

Examples

1
2
3
4
5
6
data(flight)
names(flight)
injurylm <- lm(Injury_Incidents~Total_Flights,data=flight)
injurysqrtlm <- lm(sqrt(Injury_Incidents)~Total_Flights,data=flight)
summary(injurylm)
summary(injurysqrtlm)

ACSWR documentation built on May 2, 2019, 6:53 a.m.