- Understand the definition of simple random sample.
- Calculate ordered arrangements using factorials.
- Calculate combinations and permutations.
- Calculate probabilities with factorials.
Inferential Statistics is a method of statistics that consists of drawing conclusions about a population based on information obtained from samples. Samples are used because it can be quite costly in time and money to study an entire population. In addition, because of the inability to actually reach everyone in a census, a sample can be more accurate than a census.
The most important characteristic of any sample is that it must be a very good representation of the population. It would not make sense to use the average height of basketball players to make an inference about the average height of the entire US population. Likewise, it would not be reasonable to estimate the average income of the entire state of California by sampling the average income of the wealthy residents of Beverly Hills. The goal of sampling is to obtain a representative sample. There are a number of different methods for taking representative samples, and in this lesson, you will learn about simple random samples. You will also be presented with the various counting rules used to calculate probabilities.
Simple Random Sample
A simple random sample of size is one in which all samples of size are equally likely to be selected. In other words, if elements are selected from a population in such a way that every set of elements in the population has an equal probability of being selected, then the elements form a simple random sample.
Example: Suppose you randomly select 4 cards from a deck of playing cards, and all the cards selected are kings. Would you conclude that the deck is an ordinary deck, or would you conclude the deck is not an ordinary one and probably contains more than 4 kings?
The answer depends on how the cards were drawn. It is possible that the 4 kings were intentionally put on top of the deck, and hence, the drawing of the 4 kings was not unusual, and in fact, it was actually certain. However, if the deck was shuffled well, getting 4 kings is highly improbable.
Example: Suppose a lottery consists of 100 tickets, and one winning ticket is to be chosen. What would be a fair method of selecting a winning ticket?
First, we must require that each ticket has an equal chance of winning. That is, each ticket must have a probability of of being selected. One fair way of doing this is to mix up all the tickets in a container and blindly pick one ticket. This is an example of random sampling.
However, this method would not be too practical if we were dealing with a very large population, such as, say, a million tickets, and we were asked to select 5 winning tickets. One method of picking a simple random sample is to give each element in the population a number. Then use a random number generator to pick 5 numbers. The people who were assigned one of the five numbers would then be the winners.
Some experiments have so many simple events that it is impractical to list them all. Tree diagrams are helpful in determining probabilities in these situations.
Example: Suppose there are six balls in a box. They are identical, except in color. Two balls are red, three are blue, and one is yellow. We will draw one ball, record its color, and then set it aside. Next, we will draw another ball and record its color. With the aid of a tree diagram, calculate the probability of each of the possible outcomes of the experiment.
We first draw a tree diagram to aid us in seeing all the possible outcomes of this experiment.
The tree diagram shows us the two stages of drawing two balls without putting the first one back into the box. In the first stage, we pick a ball blindly. Since there are 2 red balls, 3 blue balls, and 1 yellow ball, the probability of getting a red ball is , the probability of getting a blue ball is , and the probability of getting a yellow ball is .
Remember that the probability associated with the second ball depends on the color of the first ball. Therefore, the two stages are not independent. To calculate the probabilities when selecting the second ball, we can look back at the tree diagram.
When taking the first ball and the second ball into account, there are eight possible outcomes for the experiment:
: red on the and red on the
: red on the and blue on the
: red on the and yellow on the
: blue on the and red on the
: blue on the and blue on the
: blue on the and yellow on the
: yellow on the and red on the
: yellow on the and blue on the
We want to calculate the probability of each of these outcomes. This is done as is shown below.
Notice that all of the probabilities add up to 1, as they should.
When using a tree diagram to compute probabilities, you multiply the probabilities as you move along a branch. In the above example, if we are interested in the outcome , we note that the probability of picking a red ball on the first draw is . We then go to the second branch, choosing a red ball on the second draw, the probability of which is . Therefore, the probability of choosing is . The method used to solve the example above can be generalized to any number of stages.
Example: A restaurant offers a special dinner menu every day. There are three entrées, five appetizers, and four desserts to choose from. A customer can only select one item from each category. How many different meals can be ordered from the special dinner menu?
Let’s summarize what we have.
We use the Multiplicative Rule above to calculate the number of different dinners that can be selected. We simply multiply each of the numbers of choices per item together: . Thus, there are 60 different dinners that can be ordered by the customers.
The Multiplicative Rule of Counting
The Multiplicative Rule of Counting states the following:
(I) If there are possible outcomes for event and possible outcomes for event , then there are a total of possible outcomes for event followed by event .
Another way of stating this is as follows:
(II) Suppose you have sets of elements, with elements in the first set, elements in the second set, and elements in the set, and you want to take one sample from each of the sets. The number of different samples that can be formed is the product .
Example: In how many different ways can you seat 8 people at a dinner table?
For the first seat, there are eight choices. For the second, there are seven remaining choices, since one person has already been seated. For the third seat, there are 6 choices, since two people are already seated. By the time we get to the last seat, there is only one seat left. Therefore, using the Multiplicative Rule above, we get .
The multiplication pattern above appears so often in statistics that it has its own name, which is factorial, and its own symbol, which is '!'. When describing it, we say, “Eight factorial,” and we write, "8!."
Example: Suppose there are 30 candidates that are competing for three executive positions. How many different ways can you fill the three positions?
Since there are three executive positions and 30 candidates, let the number of candidates that are available to fill the first position, the number of candidates remaining to fill the second position, and the number of candidates remaining to fill the third position.
Hence, we have the following:
The number of different ways to fill the three executive positions with the given candidates is .
The arrangement of elements in a distinct order, as the example above shows, is called a permutation. Thus, from the example above, there are 24,360 possible permutations of three elements drawn from a set of 30 elements.
Counting Rule for Permutations
The Counting Rule for Permutations states the following:
The number of ways to arrange different objects in order within positions is .
Example: Let’s compute the number of ordered seating arrangements we have with 8 people and only 5 seats.
In this case, we are considering a total of people, and we wish to arrange of these people to be seated. Substituting into the permutation equation, we get the following:
Another way of solving this problem is to use the Multiplicative Rule of Counting. Since there are only 5 seats available for 8 people, for the first seat, there are 8 people available. For the second seat, there are 7 remaining people available, since one person has already been seated. For the third seat, there are 6 people available, since two people have already been seated. For the fourth seat, there are 5 people available, and for the fifth seat, there are 4 people available. After that, we run out of seats. Thus, .
Example: The board of directors at The Orion Foundation has 13 members. Three officers will be elected from the 13 members to hold the positions of a provost, a general director, and a treasurer. How many different slates of three candidates are there if each candidate must specify which office he or she wishes to run for?
Each slate is a list of one person for each of three positions: the provost, the general director, and the treasurer. If, for example, Mr. Smith, Mr. Hale, and Ms. Osborn wish to be on the slate together, there are several different slates possible, depending on which one will run for provost, which one will run for general director, and which one will run for treasurer. This means that we are not just asking for the number of different groups of three names on the slate, but we are also asking for a specific order, since it makes a difference which name is listed in which position.
When computing the answer, and .
Using the permutation formula, we get the following:
Thus, there are 1,716 different slates of officers possible.
Notice that in our previous examples, the order of people or objects was taken into account. What if the order is not important? For example, in the previous example for electing three officers, what if we wish to choose 3 members of the 13 member board to attend a convention. Here, we are more interested in the group of three, but we are not interested in their order. In other words, we are only concerned with different combinations of 13 people taken 3 at a time. The permutation formula will not work here, since, in this situation, order is not important. However, we have a new formula that will compute different combinations.
Counting Rule for Combinations
The Counting Rule for Combinations states the following:
The number of combinations of objects taken at a time is .
It is important to notice the difference between permutations and combinations. When we consider grouping and order, we use permutations, but when we consider grouping with no particular order, we use combinations.
Example: How many different groups of 3 are possible when taken out of 13 people?
Here, we are interested in combinations of 13 people taken 3 at a time. To find the answer, we can use the combination formula:
This means that there are 286 different groups of 3 people to go to the convention.
In the above computation, you can see that the difference between the formulas for and is the factor in the denominator of the fraction. Since is the number of different orders of objects, and combinations ignore order, we divide by the number of different orders.
Example: You are taking a philosophy course that requires you to read 5 books out of a list of 10 books. You are free to select any 5 books and read them in whichever order that pleases you. How many different combinations of 5 books are available from a list of 10?
Since consideration of the order in which the books are selected is not important, we compute the number of combinations of 10 books taken 5 at a time. We use the combination formula as is shown below:
This means that there are 252 different groups of 5 books that can be selected from a list of 10 books.
Inferential Statistics is a method of statistics that consists of drawing conclusions about a population based on information obtained from a subset or sample of the population.
A random sampling is a procedure in which each sample of a given size is equally likely to be selected.
The Multiplicative Rule of Counting states that if there are possible outcomes for event and possible outcomes for event , then there are a total of possible outcomes for the series of events followed by .
The factorial sign, or ‘!’, is defined as .
The number of permutations (ordered arrangements) of different objects within positions is .
The number of combinations (unordered arrangements) of objects taken at a time is .
- Determine the number of simple events when you toss a coin the following number of times. (Hint: As the numbers get higher, you will need to develop a systematic method of counting all the outcomes.)
- Three times
- Five times
times (Look for a pattern in the results of a) through c).)
- Flying into Los Angeles from Washington DC, you can choose one of three airlines and can also choose either first class or economy. How many travel options do you have?
- How many different 5-card hands can be chosen from a 52-card deck?
- Suppose an automobile license plate is designed to show a letter of the English alphabet, followed by a five-digit number. How many different license plates can be issued?
Technology Note: Generating Random Numbers on the TI-83/84 Calculator
Press [MATH], and then scroll to the right and choose PRB. Next, choose '1:rand' and press [ENTER] twice. The calculator returns a random number between 0 and 1. If you are taking a sample of 100, you need to use the first two digits of the random number that has been returned. If the calculator returns the same first two digits more than once, you can ignore them and press [ENTER] again.
Technology Note: Computing Factorials, Permutations and Combination on the TI-83/84 Calculator
Press [MATH], and then scroll to the right and choose PRB. You will see the following choices, among others: '2:nPr', '3:nCr'. and '4:!'. The screenshots below show the menu and the proper uses of these commands.
Technology Note: Using EXCEL to Computer Factorials, Permutations and Combinations
In Excel, the commands shown above are entered as follows:
Additive Rule of Probability
Counting Rule for Combinations
Counting Rule for Permutations
Intersection of events
Multiplicative Rule of Counting
Multiplicative Rule of Probability
Natural frequencies approach
Simple random sample
Union of events