calcium: The Calcium in Soil

Description Usage Format Source References Examples

Description

Kramer and Jensen (1969) collected data on three variables at 10 different locations. The variables of interest are available calcium in the soil, y1, exchangeable soil calcium, y2, and turnip green calcium, y3. The hypothesis of interest is whether the mean vector is [15.0 6.0 2.85].

Usage

1

Format

A data frame with 10 observations on the following 4 variables.

Location.Number

a numeric vector

y1

a numeric vector

y2

a numeric vector

y3

a numeric vector

Source

Kramer, C. Y., and Jensen, D. R. (1969). Fundamentals of Multivariate Analysis, Part I. Inference about Means. Journal of Quality Technology, 1 (2), 120-133.

References

Rencher, A.C. (1990-2002). Methods of Multivariate Analysis, 2e. J. Wiley.

Examples

1
2
3
4
5
6
7
data(calcium)
n <- nrow(calcium)
meanx <- colMeans(calcium[,-1])
varx <- var(calcium[,-1])
mu0 <- c(15,6,2.85)
t2 <- n*t(meanx-mu0)
t2

Example output

      y1   y2   y3
[1,] 131 11.8 2.39

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