library(datasets)
data(morley)
The classical data of Michaelson and Morley on the speed of light. The data consists of five experiments, each consisting of 20 consecutive ‘runs’. The response is the speed of light measurement, suitably coded.The measurements were done in 1879 on the speed of light.
summary(morley)
## Expt Run Speed
## Min. :1 Min. : 1.00 Min. : 620.0
## 1st Qu.:2 1st Qu.: 5.75 1st Qu.: 807.5
## Median :3 Median :10.50 Median : 850.0
## Mean :3 Mean :10.50 Mean : 852.4
## 3rd Qu.:4 3rd Qu.:15.25 3rd Qu.: 892.5
## Max. :5 Max. :20.00 Max. :1070.0
For the given dataset Morley, looking at the above summary table we can see, A summary table of the dataset is presented above. The dataset has 3 variables:
The plot below shows an speed of light more clustered for the 2nd, 4th and the 5th experiment and we can see outliers present for the 3rd experiment. For the 1st experiment we can notice a dispersing pattern and speed of light is evenly distributed across for the 1st experiment.
The plot below shows an speed of light more scattered across for the runs within the experiment. There is no pattern observed within the plot. However, outliers are present in the dataset Morley which is evident in the plot below as well.