8.2.57.13 tblish.dataset.chickwts

Static Method: out = chickwts ()

Chicken Weights by Feed Type

Description

An experiment was conducted to measure and compare the effectiveness of various feed supplements on the growth rate of chickens.

Newly hatched chicks were randomly allocated into six groups, and each group was given a different feed supplement. Their weights in grams after six weeks are given along with feed types.

Format

weight

Chick weight at six weeks (gm).

feed

Feed type.

Source

Anonymous (1948) Biometrika, 35, 214.

References

McNeil, D. R. (1977). Interactive Data Analysis. New York: Wiley.

Examples

# This example requires the statistics package from Octave Forge

t = tblish.dataset.chickwts

# Boxplot by group
figure
g = groupby (t, "feed", {
  "weight", @(x) {x}, "weight"
});
boxplot (g.weight, 1);
xlabel ("feed"); ylabel ("Weight at six weeks (gm)");
xticklabels ([{""} cellstr(g.feed')]);

# Linear model
# TODO: This linear model thing and anova