For 30 rows with both measurements available, the mean of yield was 704.56 in the trt group “T1” and 731.43 in “T2”. The signed difference from the former to the latter is 26.87 in the original outcome units.

Reading the original field record

The original data dictionary describes the grouping or predictor field, trt, as “treatment, 2 levels”. It describes the response, yield, as “milk yield, pounds”. All numerical comparisons use the source scale. The complete table contains 30 rows, of which 0 were excluded for missing or unusable values in these two fields.

The table retains the 2 observed group labels. Each row in the original file contributes equal weight to its group mean. A second statistic, the median, helps show how much an unusually large or small measurement influences that mean.

What the measurements show

Group “T1” contains 15 observations, with a median of 717.6 and recorded limits of 362.9 and 1,007.4. Group “T2” contains 15, with a median of 717 and limits of 413.7 and 1,101.8. These groups have the lowest and highest observed means across the displayed categories.

Milk-yield comparisons in a dairy switchback trial. The mean yield is 704.56 for T1 and 731.43 for T2, on the source scale.
Milk-yield comparisons in a dairy switchback trial. The mean yield is 704.56 for T1 and 731.43 for T2, on the source scale. Figure by Industry Applied.

What changes when observations are matched?

Using cow (cow, 10 levels) as the matching field gives 10 units represented at both “T1” and “T2”. Average repeated measurements inside each unit and group first. Then subtract the first group from the second for each unit. The median of those signed within-unit differences is 23.43. This calculation preserves one design dimension. Other treatments, seasons or field positions can still account for part of the difference.

Worked data

trt group

Observations

Mean yield

Median yield

Minimum yield

Maximum yield

T1

15

704.56

717.6

362.9

1007.4

T2

15

731.4333

717

413.7

1101.8

Taking the question back to the field

The switchback design follows animals across periods. Compare within cow and retain the period sequence. Milk production can drift over time, so a simple treatment contrast should be distinguished from a sequence-adjusted estimate.

For a follow-up, keep the unit of observation with each record and decide before collection how a missing reading will be handled. Retain a reference treatment or measurement, the sampling dates and the original field layout. The GRDC paddock trial design guide describes replication and the planning of comparisons under farm conditions.

Data and original research

The study is credited to A.E. Brandt (1938). Kevin Wright’s agridat study record and original source credits document the experimental data. Underlying observation file. Download the chart calculations.