out =
chickwts ()
¶Chicken Weights by Feed Type
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.
weight
Chick weight at six weeks (gm).
feed
Feed type.
Anonymous (1948) Biometrika, 35, 214.
McNeil, D. R. (1977). Interactive Data Analysis
. New York: Wiley.
# 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