13  Overview

Last modified on 11. January 2026 at 09:07:20

“A quote.” — Dan Meyer

Imagine you are standing on a globe but still believe it is flat. You are standing on solid ground, with boiling rocks a few kilometers below you. A few kilometers above, you cannot breathe anymore. You are not moving, but the Earth is moving at speeds of up to 828,000 km/h, depending on the reference point. Your reality is a serious misinterpretation.

13.1 What is a model in statistics?

I would like to start with a simple example of a statistical model. Perhaps you would like to see a more concrete example of a model. But first, I will show you the most general form of a statistical model. The model is simple and contains only two terms combined with a tilde. The following Figure 13.1 shows how the left-hand side and the right-hand side are connected.

Figure 13.1: Visualisation of a theoretical statistical model with respect to the programming language R, with the outcome shown on the left-hand side (LHS) and the influencer pictured on the right-hand side (RHS). The two terms are combined by a tilde.

On the left-hand side (LHS) we find the outcome. The result of an experiment is called the outcome. The outcome is the measured value. Sometimes, using these words can cause you confusion, but for now we’ll stick to the idea that the result of something is measured in an experiment. We will discover the outcome on the y-axis later on. Therefore, we abbreviate the outcome to Y. On the right side (RHS), you will find the influencer. The influencer is the thing we are trying to change in the experiment. If you change the influencer, the statistical model will show you the change in the outcome. As the change will be on the x-axis, we abbreviate the influencer to X. More often than not, we have one outcome and multiple influencers.

The world would be much easier, if there would be only one term for the measures y-values and the influencial values on the x-axis. But this is not true. Each scientific field has its own wording and the wording is changing, if you change the algorithm. So it is a real mess. I decided to use the words outcome and influencer for the y-values and x-values throughout the book for the general usage.

Table 13.1: Table of terms used in the statistical modelling for the left hand side and right hand side. The terms in bold are used here. Depending on the scientific background, the usage of these terms can vary widely.
Name Symbol Description
outcome, response, endpoint, dependent variable \(y\) The right-hand side (abbr. RHS) of the model. Describing the values measured in an experiment or study. The majority of statistical models should typically have only one outcome variable.
influencer, influential variable, risk factor, fixed effect, independent variable \(x\) The left-hand side (abbr. LHS) of the model. Describing the influential variables in an experiment or study. A statistical model can include more than one influencer.

text

Table 13.2: Table of terms used in the statistical modelling. The terms in bold are used here. Depending on the scientific background, the usage of these terms can vary widely.
Name Symbol Description
explanator, explanatory variable \(x\) ExplanationThe influencer is used to describe or explain the change of the outcome.
predictor, predictive variable \(x\) PredictionThe influencer is used to predict values of the outcome.
focal explanator, focal predictor, focal variable \(x\) Main effectIn a model with multiple influencers, the focal variable is the variable of primary interest.

text

Table 13.3: Table of terms used in the statistical modelling. The terms in bold are used here. Depending on the scientific background, the usage of these terms can vary widely.
Name Symbol Description
covariate, covariable \(c\) Continuous \(\boldsymbol{x}\)The influencer is a numeric variable with continuous values.
factor A, factorial variable, categorical variable \(f_A\) Categorical \(\boldsymbol{x}\)The influencer is discrete, functioning as a grouping variable, such as an experimental group or a treatment.
levels, groups, treatment groups \(A.1\) to \(A.j\) The discrete groups included in one factor \(\boldsymbol{f_A}\).

A sentence why we use \(y\) and not \(x\) for mean and other stuff.

1 What is a statistical model?

2 What do we mean by a statistical model?

3 What Is the Purpose of Statistical Modeling?

4 Where do statistical models come from? Revisiting the problem of specification

5 Statistical modelling

Figure 13.2: Visualisation of the causal and predictive model in statistical modelling for a simple model. In all cases, the outcome \(Y\) is normally distributed. (A) Explanatory model: How does the outcome y change when the continuous influencer \(X\) changes? What is the numerical relationship between \(Y\) and \(X\)? This is a question about the slope of the line. (B) Explanatory model: How does the outcome \(Y\) change when the categorical influencer as factor \(f_A\) changes? What is the numerical relationship between \(Y\) and \(f_A\)? This is a question about the slope of the line and the difference between the predicted means of each group. (C) Predictive model: If \(Y\) and \(X\) have been measured, what are the values of \(Y\) for new \(X\) values? Can we use the influencer \(X\) to predict new \(Y\) outcomes?

13.2 Theoretical background

Figure 13.3: foo
Figure 13.4: foo
Figure 13.5: foo
Figure 13.6: foo
Figure 13.7: foo
Figure 13.8: foo
Figure 13.9: foo
Figure 13.10: foo
Figure 13.11: foo

“Twistin’, shake it, shake it, shake it, shake it, baby; Hey, we gonna Loop de Loop Shake it out, baby; Hey, we gonna Loop de La” — The Blues Brothers (1980) – Shake a Tail Feather

13.3 R packages used

13.4 Data

13.5 Alternatives

Further tutorials and R packages on XXX

13.6 Glossary

term

what does it mean.

13.7 The meaning of “Models of Reality” in this chapter.

  • itemize with max. 5-6 words

13.8 Summary

References

[1]
McCullagh P. What is a statistical model? The Annals of Statistics. 2002;30(5):1225-1310.
[2]
Appleton DR. What do we mean by a statistical model? Statistics in medicine. 1995;14(2):185-197.
[3]
Hand D. What is the purpose of statistical modeling? Harvard Data Science Review. 2019;1(1).
[4]
Spanos A. Where do statistical models come from? Revisiting the problem of specification. Lecture Notes-Monograph Series. Published online 2006:98-119.
[5]
Gilchrist W. Statistical Modelling. Wiley Chichester; 1984.