# An extremely basic question about statistics

We do statistics on data which we assume to be outcome of random trials. The question however, is -- are we assuming that the outcome can be represented as a random variable?

The outcome of an experiment is representable as a random variable if that function is measurable. If the mapping from the event space, to the set of real numbers, is a measurable function, then we can even think of assigning a probability to that random variable.

Thought experiments are fine. We can assume that the outcome of a thought experiment, like rolling a dice, has an outcome that can be represented by a measurable function which we designate as the random variable.

When dealing with real data, don't we assume that the process that generates that data, can be represented as a random variable? Is that simply an assumption, or are there concrete reasons/tests to believe that it is indeed measurable?

• Are you confusing "measurable" in colloquial with measurable mathematically? Measurable is a mathematical definition and not your belief.
– user318514
Jun 2, 2022 at 19:45
• Data generation "processes" aren't measurable, but random variables are. Measurability becomes an issue when modeling stochastic processes in continuous time, where it is related to what kinds of variables can be well-defined and given meaningful properties. As in any field of applied mathematics, a model is used to reason about the data and a theory. There no reason to put it on some elevated ontological plane to be worshiped as "real" or denigrated as "simply an assumption."
– whuber
Jun 2, 2022 at 21:22
• @whuber All I wanted to ask was how do we even assume that a certain process has a probability distribution? A random variable is a "measurable function" from the sample space to a measurable space. I am aware that there are tests to check if the data is normally distributed (the normality tests) but how do you even test for something as basic as whether the given data set can be represented as realizations of a "random variable"? For all we know, the mapping from an event space to a measurable space, if it exists for that process, may not be a measurable function right? Jun 3, 2022 at 3:52
• @Germania In statistics, there is a dataset and they are usually assumed to be realizations of a certain distribution. For the dataset to be realizations of a certain random variable, there must be a corresponding set function that is measurable to begin with. That such a measurable set function even exists must then be an assumption correct? What is the basis? I mean you can define whatever you want but then, to use it in practice, there must be a basis. What is that basis? Jun 3, 2022 at 5:37
• The map is not the territory and the model is not the reality. The formal construct of observations as realisations of a random variable is used for prediction or explanation purposes, it does not imply a belief that it is real. Take for instance the SIER modelling of COVID propagation, a useful if artificial representation of the real thing. Jun 3, 2022 at 6:49