Learn R Programming

BSDA (version 1.2.0)

Corn: Comparison of the yields of a new variety and a standard variety of corn planted on 12 plots of land

Description

Data for Exercise 7.77

Usage

Corn

Arguments

Format

A data frame/tibble with 12 observations on three variables

new

corn yield with new meathod

standard

corn yield with standard method

differences

new minus standard

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
boxplot(Corn$differences)
qqnorm(Corn$differences)
qqline(Corn$differences)
shapiro.test(Corn$differences)
t.test(Corn$new, Corn$standard, paired = TRUE, alternative = "greater")

# }

Run the code above in your browser using DataLab