rats {DPpackage}R Documentation

Rats

Description

This example is taken from section 6 of Gelfand and Smith (1990), and concerns 30 young rats whose weights were measured weekly for five weeks.

Usage

data(rats)

Format

A data frame with 150 observations on the following 3 variables.

weight
a numeric vector giving the weight of the rat
day
a numeric vector giving the day of the weight evaluation
rat
an ordered factor giving a unique identifier for the subject in the study

Source

Gelfand, A.E. (with S. Hills, A. Racine-Poon and A.F.M. Smith) 1990. Illustration of Bayesian Inference in Normal Data Models Using Gibbs Sampling. Journal Amer. Stat. Assoc., 85, 972-985.

References

Gelfand, A.E. (with S. Hills, A. Racine-Poon and A.F.M. Smith) 1990. Illustration of Bayesian Inference in Normal Data Models Using Gibbs Sampling. Journal Amer. Stat. Assoc., 85, 972-985.

Examples

data(rats)
## maybe str(rats) ; plot(rats) ...

[Package DPpackage version 1.0-7 Index]