Medical Statistics. David Machin. Читать онлайн. Newlib. NEWLIB.NET

Автор: David Machin
Издательство: John Wiley & Sons Limited
Серия:
Жанр произведения: Медицина
Год издания: 0
isbn: 9781119423652
Скачать книгу
of Addition and Multiplication Rules – Using Dice Rolling

      If we throw a six‐sided die the probability of throwing a 6 is 1/6 and the probability of a 5 is also 1/6. We cannot throw a 5 and 6 at the same time (these events are mutually exclusive) using 1 die so the probability of throwing either 5 or a 6 is (by the addition rule):

equation

      Suppose we throw two six‐sided dice together. The probability of throwing a 6 is 1/6 for each die. The outcome of each die is independent of the other. Therefore, the probability of throwing two 6s together (by the multiplication rule) is:

equation

      Probability Distributions for Discrete Outcomes

      If we toss a two‐sided coin it comes down either heads or tails. In a single toss of the coin you are uncertain whether you will get a head or a tail. However, if we carry on tossing our coin, we should get several heads and several tails. If we go on doing this for long enough, then we would expect to get as many heads as we do tails. So, the probability of a head being thrown is a half, because in the long run a head should occur on half the throws. The number of heads which might arise in several tosses of the coin is called a random variable, that is a variable which can take more than one value, each with a given probability attached to them.

Bar charts depicting four examples of probability distributions. (a) Probability distribution for the number of heads shown in one toss of a coin. (b) Probability distribution for the number of heads shown in two tosses of a coin. (c) Probability distribution for the number of heads in four tosses of a coin. (d) Probability distribution for the number of heads in ten tosses of a coin.

      What happens if we toss two coins at once? We now have four possible events: HH, HT, TH, and TT. There are all equally likely and each has probability ¼. If we let Y be the number of heads then Y has three possible values 0, 1, and 2. Y = 0 only when we get TT and has probability ¼. Similarly, Y = 2 only when we get HH, so has probability ¼. However, Y = 1 either when we get HT or TH and so has probability ¼ + ¼ = ½. The probability distribution for Y is shown in Figure 4.3b. The distribution for the number of heads becomes more symmetrical as the number of coin tosses increases (Figures 4.3c and d).

      In general, we can think of the tosses of the coin as trials, each of which can have an outcome of success (H) or failure (T). These distributions are all examples of what is known as the Binomial distribution. In addition, we will discuss two more distributions that are the backbone of medical statistics: the Poisson and the Normal. Each of the distributions is known as the probability distribution function, which gives the probability of observing an event. The corresponding formulas are given in Section 4.7. These formulas contain certain constants, known as parameters, which identify the particular distribution, and from which various characteristics of the distribution, such as its mean and standard deviation, can be calculated.

Bar charts depicting the binomial distribution for pi equal to 0.25 and various values of n. The horizontal scale in each diagram shows the value of r the number of successes.

      Figure 4.4 illustrates the shape of the Binomial distribution for various n and π = 0.25. When n is small (here 5 and 10), as in Figure 4.4a and b, the distribution is skewed to the right. The distribution becomes more symmetrical as the sample size increases (here 20 and 50) as in Figure 4.4c and d. We also note that the width of the bars decreases as n increases since the total probability of unity is divided amongst more and more possibilities.

      If π were set equal to 0.5, then all the distributions corresponding to those of Figure 4.4 would be symmetrical whatever the size of n. On the other hand, if π = 0.75 then the distributions would be skewed to the left.

      We can use the properties of the Binomial distribution when making inferences about proportions, as we shall see in subsequent chapters.

      Example – Probability of Corn Resolving

      Farndon et al. (2013) give the successful response rate to scalpel treatment in 94 patients with foot corns as 21%. From their data we have p = 20/94 = 0.21. Suppose