Learn R Programming

spaMM (version 4.5.0)

freight: Freight dataset

Description

A set of data on airfreight breakage. Data are given on 10 air shipments, each carrying 1000 ampules of some substance. For each shipment, the number of ampules found broken upon arrival, and the number of times the shipments were transferred from one aircraft to another, are recorded.

Usage

data("freight")

Arguments

Format

The data frame includes 10 observations on the following variables:

broken

number of ampules found broken upon arrival.

transfers

number of times the shipments were transferred from one aircraft to another.

id

Shipment identifier.

References

Kutner MH, Nachtsheim CJ, Neter J, Li W (2005, p. 35). Applied Linear Regression Models, Fourth Edition. McGraw-Hill.

Sellers KF, Shmueli G (2010) A Flexible Regression Model for Count Data. Ann. Appl. Stat. 4: 943–961

Examples

Run this code
## see ?COMPoisson for examples

Run the code above in your browser using DataLab