Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calcium

The Calcium in Soil


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

data(calcium)

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

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

ACSWR

A Companion Package for the Book "A Course in Statistics with R"

v1.0
GPL-2
Authors
Prabhanjan Tattar
Initial release
2015-09-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.