# Application of Random Numbers

There are many uses of random numbers in statistics. One of the important uses is in the selection of a simple random sample from a finite population. Suppose there are 80 students in a class and we want to select 8 students at random. The students can be numbered from 01 to 80. Then we consult the random number table.

Let us see Table 8.1. We shall read two – digit columns. If any number is between 01 and 80, we shall note it down for the sample. If any random number is above 80, we shall ignore it because it is not in our population. We can read the random number table from any place. We may move column – wise or row – wise. Let us read the random numbers from Table 8.1. We read the first column. The random numbers are *51, *72, 57, 38, 22,.45, 18, 69. Two random numbers 92 and 95 have been ignored because they are above 80. The remaining eight random numbers represent those eight students who have been selected for the sample. If the number of units in the population is in hundreds, say 800 we shall read three – digit column of the random number table. If we have 100 units in the population, we shall number them from 00 to 99 so that we have to read 2 – digit columns. If we number them as 001, 002 ... 100, we shall have to read 3 – digit columns. In three digit column, most of the random numbers will be above 100 and a lot of time will be wasted in getting the required size of the sample. Further use of random number table for the selection of a simple random sample will be discussed in sampling.

Random number table can also be used to generate data without performing the actual experiment. Suppose we want to toss a coin 10 times to see the number of heads. We can do it by

**(i)** tossing the coin and counting the number of heads.

**(ii)** By using random number table. The even digits 0, 2, 4, 6, 8 will stand for the head and the odd digits 1, 3, 5, 7, 9 will be for the tail. The first ten digits of the first row of pervious table are reproduced below. **H** is for head and **T** is for tail

Digits |
5 |
1 |
2 |
2 |
0 |
9 |
1 |
2 |
7 |
2 |

Outcomes |
T |
T |
H |
H |
H |
T |
T |
H |
T |
H |

There are 5 heads and 5 tails. It is just a chance that number of heads is equal to the number of tails. If we read the next row, the result in general would be different.

This process of getting the results of an experiment from random number table is called simulation. In simulation the actual experiment is not performed.