rats: Rats

Description Usage Format Source References Examples

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

1

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

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

DPpackage documentation built on May 1, 2019, 10:23 p.m.

Related to rats in DPpackage...