# Experimental Design and the Basics of Statistics: Signal Detection Theory (SDT)

## Abstract

What is a good performance measure? The most frequently used measure is the percentage of correct responses. Here, we will see that percent correct confuses two variables, namely, sensitivity and criterion, and should therefore be used with care. We will introduce the sensitivity measure *d′*, which turns out to be a crucial term in much of statistics.

### What You Will Learn in This Chapter

What is a good performance measure? The most frequently used measure is the percentage of correct responses. Here, we will see that percent correct confuses two variables, namely, sensitivity and criterion, and should therefore be used with care. We will introduce the sensitivity measure *d′*, which turns out to be a crucial term in much of statistics.

## 2.1 The Classic Scenario of SDT

A probability distribution corresponds to each of the two conditions, rock vs. no-rock, that indicates how likely it is that a certain value of the sonar measure, indicated on the *x*-axis, is elicited.^{1} As is often the case in statistics, we assume that Gaussian distributions adequately describe the situation. A Gaussian distribution is fully determined by its mean value *μ* and the standard deviation *σ*, which determines the width of the Gaussian. A large *σ* means that for the very same rock condition, very different signals can be reflected with a high probability. As the other extreme, if *σ* = 0, there is no variability. We always receive the same value of the sonar measure. Hence, *σ* reflects how noisy the situation is and that is why *σ* is also called the noise. We call the no-rock condition the *noise alone condition* because there is no signal from the rock and we call the rock condition the *signal plus noise* condition.

*μ*

_{1}and

*μ*

_{2}, of the two Gaussians divided by the standard deviation

*σ*, which is assumed to be the same for both distributions

^{2}:

*d*

^{′}is called sensitivity or discriminability and it measures how well we can discriminate between two alternatives, i.e.,

*d′*is a measure of the signal (

*μ*

_{1}−

*μ*

_{2}) to noise (

*σ*) ratio. The overlap depends on both the difference of the means and the standard deviation. Hence,

*d′*can be increased by both increasing the mean value difference or decreasing the standard deviation (Fig. 2.1c). Importantly, the notion of sensitivity here is different from the notion in Chap. 1, where it is identical with the Hit rate. In the following, we will use sensitivity only for Hit rate and not

*d*

^{′}.

When should we stop the engine? A decision criterion *c* is needed. In Fig. 2.1b, the criterion is set at 40, i.e., if the sonar measure is larger than 40, we stop the engine, if the sonar measure is smaller than 40, we continue cruising. Where we set the criterion is our choice. If a rock is as likely as a no-rock situation, then the optimal criterion is at the intersection point of the two Gaussians, in the sense that it maximizes the number of correct decisions.

## 2.2 SDT and the Percentage of Correct Responses

There are four outcomes in a classic SDT experiment

If the stimulus is presented in half of the trials, the percentage of correct responses is computed by the average of the Hit rate and Correct Rejection rate: \(\frac {Hit + CR}{2}\). Let us consider “percent correct” in terms of SDT. As in the submarine example, we assume that decision making is noisy. Contrary to the submarine example, we do not know how the perceptual processes are coded in the human brain, i.e., we do not explicitly know the probability distributions. The good thing about SDT is that it is very flexible. For example, we assume that we can focus on one neuron, which codes for the brightness of the stimuli. A value of 0.0 corresponds to a blank screen and a positive value to a light patch with a certain brightness. We use a decision criterion that determines whether we decide for the light patch or the blank. If we are more conservative, we set the criterion to a higher value, i.e., we respond ‘light patch present’ only when we are quite sure. If we are more risky, we set the criterion to a lower value, i.e., respond ‘light patch present’ when there is the slightest evidence for a light being present. We can set the criterion to any value we wish. For example to optimise the percentage of correct responses, we can set the criterion at the intersection of the Gaussians. In this case, we respond equally often for ‘light patch present’ and ‘light patch absent’ when both stimulus alternatives are presented with the same frequency. If there are more patch absent than patch present situations, we may want to move the criterion towards more “patch absent” responses, i.e., towards the right in this case. In addition, we may want to take the costs of our decision into account. If a “patch absent” response is less rewarded than a “patch present” response, we may want to move the criterion so that more “patch present” responses occur.

*d*

^{′}(Fig. 2.2). We start with a criterion set to 2.0, i.e., at the intersection point. If we now move the criterion a bit from optimal, e.g., to the right, the percentage of correct responses deteriorates and it does so the more we move the criterion. If we move the criterion to the far right, performance approaches 50%, i.e., chance level. In this case we always give the same response, say, “light patch absent”, i.e., we have a large

*response bias*. Importantly, the discriminability

*d*

^{′}has not changed, i.e., our visual abilities are constant. Only our decision behavior has changed.

Hence, the percentage of correct responses confounds decision criterion and discriminability. For a certain performance level, say 75%, we cannot tell whether there is high discriminability and a suboptimal criterion or an optimal criterion with a lower discriminability. For this reason, the percentage of correct responses can be a dangerous measure, which can easily obliterate true effects or lead to false positives. Conclusions based on the percentage of correct responses are based on partial information!

## 2.3 The Empirical *d*^{′}

*d′*and

*b*, the

*bias*of the criterion:

To compute *d′*, we simply need to *z*-transform the Hit and False Alarm rate. The *z*-transformation is the inverse cumulative Gaussian function. If you are not familiar with the *z*-transformation just treat it as a function you can find on your computer. *b*_{emp} tells you how much the current criterion differs from the optimal one, i.e., how far it is from the intersection point of the Gaussians. Hence, *b*_{emp} measures the bias of the criterion.

*d*

^{′}is criterion free but not model free. There are three assumptions:

- 1.
The underlying probability distributions are Gaussians.

- 2.
The Gaussians have the same variance.

- 3.
The criterion is not changed during the measurements.

Assumption 1 is crucial since we compute the *z*-transform, i.e., the inverse Gaussian distribution, which only makes sense when the data are Gaussian distributed. Assumption 1 is often fulfilled. Assumption 2 is usually fulfilled since the stimulus alternatives are similar. Assumption 3 is crucial and is not easy to check.

### Attention

- 1.
Mainly in the medical literature, sensitivity is the same as Hit Rate.

- 2.
In SDT, sensitivity corresponds to discriminability, i.e.,

*d′*=*z*(*Hit*) −*z*(*FA*). We will use the term discriminability rather than sensitivity in the context of SDT.

### Example 1 (Automated System)

*d*

^{′}is almost as simple to compute as percent correct: one only needs to z-transform Hit and FA. As it turns out, performance in terms of

*d*

^{′}, contrary to the percentage correct, is strongly different. Is the doctor or the AI system better? Usually, discriminability is an inbuilt, hard to change, characteristic of a system. Your eyes are as good as they are. On the other hand, changing the decision criterion is easy, one just needs to respond more often for one than the other alternative. Obviously, the AI system is strongly biased towards “yes” responses, thereby avoiding misses but leading to a higher false alarm rate. Hence, the AI’s system criterion is far from being optimal. Setting the criterion to optimal strongly increases performance in terms of percent correct.

### Example 2 (Learning)

In a learning experiment, observers are shown either a left or right tilted line. Since the difference is small, observers perform poorly. To improve performance, observers train on the task with 10 blocks, each containing 80 trials. We consider the number of correct responses for each of the 10 blocks, by averaging the 80 trials. Performance improves strongly. Does this imply that perception has improved? Improvements can be caused by changes in both discriminability or criterion. For example, training with the stimuli may lead to a decrease of the variance *σ* of the Gaussians, i.e., people can more clearly discriminate the tilt of the lines. A decrease of the variance leads to an increase in *d′*, i.e., an increase in discriminability (Fig. 2.2). An increase in discriminability can also occur when the means of the Gaussians are pulled apart. Performance can also improve when the decision criterion of the participants is not optimal in block 1. During training, participants may learn to adjust the criterion. A change of *perception* is generally considered to be related to a change of discriminability. When we analyze the data with the percentage of correct responses, we cannot make proper conclusions since we cannot disentangle changes in discriminability from changes in criterion. Hence, for all learning experiments, it is important to plot the results as *d′* and *bias*.

### Example 3 (Sensitivity and Specificity)

In Chap. 1, the HIV test had a very high sensitivity and specificity. Determining sensitivity and specificity also depends on a criterion. In fact, it is in no way different than determining percent correct. Recall that sensitivity is Hit rate and specificity is the rate of Correct rejections. Thus, the situation is exactly the same as in the above example with the submarine, except that on the *x*-axis we have HIV anti-body concentration (as measured by the test). We need a criterion that determines whether or not the test is positive for a certain antibody concentration. Hence, we can increase sensitivity at the cost of specificity and vice versa. Just to mention, (sensitivity + specificity)/2 is percent correct.

### Example 4 (Speed-Accuracy Trade-Off)

In many experiments, responses are speeded, i.e., observers need to respond as fast as possible. Often, slow observers, e.g., older people, have a higher *d′* than fast observers, e.g., younger people; a so called speed-accuracy trade-off. So the situation is even more complicated because we need to pit Reaction Times against *d′* and bias to reach proper conclusions. Experiments with a clear speed-accuracy trade-off are often hard to interpret.

### Example 5 (Floor and Ceiling Effects)

One additional issue involves so called floor and ceiling effects. In a (non-sense) experiment, the experimenter holds up one hand, with all fingers clearly visible. When asked, all observers correctly identify the 5 fingers, i.e., 100% correct responses. Can we conclude that all observers have the same good eyes, i.e., the same discriminability? Of course not; the task was too simple and for this reason observers performed in a ceiling regime, i.e., close to 100%. Conclusions are useless. Computing *d′* does not help in this situation because the false alarm rate is 0.0 and *d′* is infinity.

The very same is true for floor effects, i.e., when performance is close to chance level (50%). It is therefore important to make sure that stimulus alternatives are in a range where the differences between participants can be detected.

### Example 6 (Standardized Effects)

*d′* is also often called a standardized effect because the division by *σ* converts the measurement to units of standard deviation. As a result, *d*^{′} is insensitive to the original units (e.g., it does not matter whether the original measurements are in meters or inches). Moreover, a standardized effect size can also be insensitive to some experimental variations. For example, if a reaction time experiment can be manipulated to make everything slower by a common factor, then both the difference of means will increase (signal) and the standard deviation will increase (noise) by an equal factor. The ratio, *d′*, will be unchanged.

### Take Home Messages

- 1.
Be aware of partial information. The percentage of correct responses confounds discriminability

*d′*and decision criterion*c*. - 2.
Be aware of partial information. The same is true for many other measures such as Sensitivity and Specificity in medical tests.

- 3.
You can disentangle discriminability and criterion by using \(d^{\prime }_{emp}\).

- 4.
\(d^{\prime }_{emp}\) is criterion free but not model free. There is no free lunch.

## Footnotes

- 1.
Strictly speaking, the probability is zero that the sonar measure is

*exactly*80. The probability function shows the probability that a value close to 80 occurs (a value from a very narrow interval around 80). Whereas these aspects are crucial for mathematical statistics, they hardly play a role for the basic understanding of statistics. - 2.In Signal Detection Theory (SDT),
*d′*is usually defined by the absolute value of the difference of the means:$$\displaystyle \begin{aligned} d' = |\frac{\mu_1-\mu_2}{\sigma}|\end{aligned} $$(2.1)We use the definition without the absolute values because it is better suited when we apply

*d′*to statistics in Chap. 3.

## Copyright information

**Open Access** This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence and indicate if changes were made.

The images or other third party material in this chapter are included in the chapter's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.