<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Michelson Speed of Light Data</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>

<table width="100%" summary="page for morley"><tr><td>morley</td><td align="right">R Documentation</td></tr></table>

<h2>Michelson Speed of Light Data</h2>

<h3>Description</h3>


<p>A classical data of Michelson (but not this one with Morley) on
measurements done in 1879 on the speed of light.  The data consists of
five experiments, each consisting of 20 consecutive &lsquo;runs&rsquo;.
The response is the speed of light measurement, suitably coded
(km/sec, with <code>299000</code> subtracted).
</p>


<h3>Usage</h3>

<pre>morley</pre>


<h3>Format</h3>


<p>A data frame contains the following components:
</p>

<dl>
<dt><code>Expt</code></dt><dd><p>The experiment number, from 1 to 5.</p>
</dd>
<dt><code>Run</code></dt><dd><p>The run number within each experiment.</p>
</dd>
<dt><code>Speed</code></dt><dd><p>Speed-of-light measurement.</p>
</dd>
</dl>



<h3>Details</h3>


<p>The data is here viewed as a randomized block experiment with
&lsquo;experiment&rsquo; and &lsquo;run&rsquo; as the factors.  &lsquo;run&rsquo; may
also be considered a quantitative variate to account for linear (or
polynomial) changes in the measurement over the course of a single
experiment.
</p>


<h3>Note</h3>


<p>This is the same dataset as <code>michelson</code> in package <span class="pkg">MASS</span>.
</p>


<h3>Source</h3>


<p>A. J. Weekes (1986)
<EM>A Genstat Primer</EM>.
London: Edward Arnold.
</p>
<p>S. M. Stigler (1977)
Do robust estimators work with real data?
<EM>Annals of Statistics</EM> <B>5</B>, 1055&ndash;1098. (See Table 6.)
</p>
<p>A. A. Michelson (1882)
Experimental determination of the velocity of light made at the United
States Naval Academy, Annapolis.
<EM>Astronomic Papers</EM> <B>1</B> 135&ndash;8.
U.S. Nautical Almanac Office.  (See Table 24.)
</p>


<h3>Examples</h3>

<pre>
require(stats); require(graphics)
morley$Expt &lt;- factor(morley$Expt)
morley$Run &lt;- factor(morley$Run)

xtabs(~ Expt + Run, data = morley)# 5 x 20 balanced (two-way)
plot(Speed ~ Expt, data = morley,
     main = "Speed of Light Data", xlab = "Experiment No.")
fm &lt;- aov(Speed ~ Run + Expt, data = morley)
summary(fm)
fm0 &lt;- update(fm, . ~ . - Run)
anova(fm0, fm)
</pre>


</body></html>
