- Understand the definition of random sampling.
- 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 a subset or sample of the population. The main reason a sample of the population is only taken rather than the entire population (a census) is because it is less costly and it can be done more quickly than a census. In addition, because of the inability to actually reach everyone in a census, a sample can actually be more accurate than a census.
Once a statistician decides that a sampling is appropriate, the next step is to decide how to select the sample. That is, what procedure should we use to select the sample from the population? 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. It would not be also reasonable to estimate the average income of the entire state of California by sampling the average income of the wealthy residents of Beverly Hills. Therefore, the goal of sampling is to obtain a representative sample. For now, we will only study one powerful way of taking a sample from a population. It is called random sampling.
A random sampling is a procedure in which each sample of a given size is equally likely to be the one selected. Any sample that is obtained by random sampling is called a random sample.
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 random sample.
Suppose you randomly select from an ordinary deck of and all the cards selected are kings. Would you conclude that the deck is still an ordinary deck or do you conclude that the deck is not an ordinary one and probably contains more than kings?
The answer depends on how the cards were drawn. It is possible that the kings were intentionally put on top of the deck and hence drawing kings is not unusual, it is actually certain. However, if the deck was shuffled well, getting kings is highly improbable. The point of this example is that if you want to select a random sample of to draw an inference about a population, the deck, it is important that you know how the sample was selected from the deck.
Suppose a lottery consists of 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 that is mixing all the tickets in a container and blindly picking 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, say a million tickets, and we were asked to select winning tickets. There are several standard procedures for obtaining random samples using a computer or a calculator.
Sometimes experiments have so many simple events that it is impractical to list them. However, in some experiments we can develop a counting rule, with the use of tree diagrams that can aid us to do that. The following examples show how that is done.
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 set it aside. Then we will draw another one, record its color. With the aid of a tree diagram, calculate the probability of each outcome of the experiment.
We first draw a tree diagram to aid us see all the possible outcomes of this experiment.
The tree diagram shows us the two stages of drawing two balls without replacing them back into the box. In the first stage, we pick a ball blindly. Since there are red, blue, and yellow, then the probability of getting a red is The probability of getting a blue is and the probability of getting a yellow 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 of getting the second ball, we look back at the tree diagram and observe the followings.
There are eight possible outcomes for the experiment:
RR: red on the and red on the
RB: red on the and blue on the
And so on. Here are the rest,
Next, we want to calculate the probabilities of each outcome.
Notice that all the probabilities must add up to , as they should.
The method used to solve the example above can be generalized to any number of stages. This method is called the Multiplicative Rule of Counting.
The Multiplicative Rule of Counting
(I) 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 .
Another way of stating it:
(II) You have sets of elements, in the first set, in the second set,..., and in the th set. Suppose you want to take one sample from each of the sets. The number of different samples that can be formed is the product
A restaurant offers a special dinner menu every day. There are three entrées to choose from, five appetizers, and four desserts. A costumer 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 dinner meals that can be selected. We simply multiply all the number of choices per item together:
There are different dinners that can be ordered by the customers.
Here is a classic example. In how many different ways can you seat 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 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 and its own symbol. So we say “eight factorial,” and we write .
Suppose there are candidates that are competing for three executive positions. How many different ways can you fill the three positions?
This is a more difficult problem than the examples above and we will use the second version of the Multiplicative Rule of Counting. We need to analyze it in the following way:
The executive positions can be denoted by sets of elements that correspond to
The number of candidates that are available to fill the first position
The number of candidates remaining to fill the second position
The number of candidates remaining to fill the third position
The number of different ways to fill the three positions is
The arrangement of elements in distinct order, as the example above shows, is called the permutation. Thus, from the example above there are possible permutations of three positions drawn from a set of elements.
Counting Rule for Permutations
The number of ways to arrange in order different objects within positions is
Let’s go back to the previous example but this time we want to compute the number of ordered seating arrangements we have for people for only 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,
Another way of solving this problem is to use the Multiplicative Rule of Counting,
Since there are only seats available for people, then for the first seat, there are eight people. For the second seat, there are seven remaining people, since one person has already been seated. For the third seat, there are people, since two people are already seated. For the fifth seat, there are people. After that we run out of seats. Thus
Of course, the permutation rule is more powerful since it has the advantage of using the factorial. Most scientific calculators can do factorials permutations, so make sure to know how to do them on your calculator.
The board of directors at The Orion Foundation has members. Three officers will be elected from the members to hold the positions of a provost, a general director and a treasure. 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 treasure. If, for example, Mr. Smith, Mr. Hale, and Ms. Osborn wish to be on a slate together, there are several different slates possible, depending on which one will run for provost, general director and treasurer. So we are not just asking for the number of different groups of three names on a slate but we are also asking for a specific order, since it makes a difference which name is listed in which position.
Using the permutation formula,
There are different slates of officers.
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 members of the 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 people taken at a time. The permutation rule will not work here since order is not important. We have a new formula that will compute different combinations.
Counting Rule for Combinations
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.
Back to our example above. How many different groups of three are there, taken out of people?
As explained in the previous paragraph, we are interested in combinations rather than permutations of people taken at a time. We use the combination formula
There are different groups of to go to the convention.
In the above computation you can see that the difference between the formulas for and is in the factor in the denominator of the fraction. Since is the number of different orders of things, and combinations ignore order, then we divide by the number of different orders.
You are taking a philosophy course that requires you to read books out of a list of books. You are free to select any five books and read them in whichever order that pleases you. How many different combinations of books are available from a list of ?
Since considerations of order in which the books are selected are not important, we compute the number of combinations of books taken at a time. We use the combination formula
There are different groups of books that can be selected from a list of books.
The TI-83/84 calculators and the EXCEL spreadsheet have commands for factorials, permutations, and combinations.
Using the TI-83/84 Calculators
Press [MATH] and then choose PRB (Probability). You will see the following choices, among others: and ! The screens show the menu and the proper uses of these commands.
In Excel the above commands are entered as follows:
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 the one selected.
- The Multiplicative Rule of Counting states: 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, ' ! ', means
- 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
- Look for a pattern in the results of a) through c) and try to figure out the number of outcomes for tossing a coin times.
- Flying into Los Angeles from Washington DC, you can choose one of three airlines and can choose either first class or economy. How many travel options do you have?
- How many different card hands can be chosen from a 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?