Code
unrounded_vot <- c(18.37, 18.62, 19.14)
stored_vot <- round(unrounded_vot)
data.frame(unrounded_vot, stored_vot)The discrete variable page treated separate, listable support values. Suppose instead that V maps each stop consonant token to its measured voice onset time in milliseconds. Two tokens might have values 18.4 and 18.41. Between them lie 18.401, 18.402, and indefinitely many other values.
A random variable X is absolutely continuous when there is a nonnegative function f_X such that
\mathbb{P}(X\in A)=\int_A f_X(x)\,\mathrm{d}x
for every measurable set A. We use continuous random variable for this class. This definition is stronger than merely requiring an uncountable range.
For a voice onset time measure that permits negative and positive values, a simple modeled support might be
\operatorname{supp}(V)=\mathbb{R}.
A vowel duration variable might instead have support (0,\infty) because durations are positive. The appropriate interval depends on the measurement and the scientific representation.
Consider the point event
V=18.417.
Under a continuous model, one point receives probability zero:
\mathbb{P}(V=18.417)=0.
This statement does not make a voice onset time near 18.417 ms impossible. An interval around the point may receive positive probability:
\mathbb{P}(18<V<19)>0.
The fact that a single point has zero probability follows because an integral over a singleton is zero. Intervals may nevertheless have positive probability.
Suppose an instrument reports values to the nearest millisecond. A stored token may appear as 18 ms even if its underlying measured quantity before rounding was 18.37 ms. The integer in the file does not force the model to make V discrete.
We have at least two possible representations.
The choice depends on the target. If differences smaller than one millisecond matter and rounding is part of measurement error, the continuous representation may be useful. If only the instrument’s reported categories matter, a discrete representation may be sufficient.
unrounded_vot <- c(18.37, 18.62, 19.14)
stored_vot <- round(unrounded_vot)
data.frame(unrounded_vot, stored_vot)Several interval values can map to the same stored integer. The code illustrates rounding; it does not decide which support the scientific model should use.
| question | discrete variable | continuous variable |
|---|---|---|
| possible values | separate and listable | commonly represented across an interval |
| one value | may have positive probability | has probability zero |
| several values | probability found by adding masses | probability assigned across a region |
The distinction concerns the modeled support. It does not follow from whether a spreadsheet column is stored as an integer or decimal.
The precision of values stored in a file does not determine whether the modeled support is discrete or continuous. A column with values 18, 19, and 20 may record rounded measurements of a continuous quantity. Conversely, a slider rendered as a line may permit only seven selectable responses and thus remain discrete.
To avoid the conflation, state what the observation process can produce and what distinctions the analysis aims to represent. The display format alone does not answer either question.
A continuous support cannot be represented by a PMF over individual points. The next page represents probability by area across intervals.