29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
---
|
|
layout: default
|
|
title: Essentials
|
|
---
|
|
|
|
If you measure any quantity twice---and precisely enough, you will get two different results. This is true even for quantities that should be constant, like the speed of light (below).
|
|
|
|
This phenomenon, called _variation_, is the beginning of data science. To understand anything you must decipher patterns of variation. But variation does more than just obscure, it is an incredibly useful tool. Patterns of variation provide evidence of causal relationships.
|
|
|
|
The best way to study variation is to collect data, particularly rectangular data: data that is made up of variables, observations, and values.
|
|
|
|
* A _variable_ is a quantity, quality, or property that you can measure.
|
|
|
|
* A _value_ is the state of a variable when you measure it. The value of a
|
|
variable may change from measurement to measurement.
|
|
|
|
* An _observation_ is a set of measurements you make under similar conditions
|
|
(usually all at the same time or on the same object). Observations contain
|
|
values that you measure on different variables.
|
|
|
|
Rectangular data provides a clear record of variation, but that doesn't mean it is easy to understand. The human mind isn't built to process tables of data. This section will show you the best ways to comprehend your own data, which is the most important challenge of data science.
|
|
|
|
```{r, echo = FALSE}
|
|
|
|
mat <- as.data.frame(matrix(morley$Speed + 299000, ncol = 10))
|
|
|
|
knitr::kable(mat, caption = "*The speed of light is* the *universal constant, but variation obscures its value, here demonstrated by Albert Michelson in 1879. Michelson measured the speed of light 100 times and observed 30 different values (in km/sec).*", col.names = c("\\s", "\\s", "\\s", "\\s", "\\s", "\\s", "\\s", "\\s", "\\s", "\\s"))
|
|
```
|