# Random Sample Generator

Instructions: Use this random sample generator to create random sample from a dataset you provide. Please input your sample data and the desired sample size:

Type the data (space separated)
Desired sample size ($$n$$) (integer) =

## Random Sample Generator

This online generator is a very handy tool that allows you to draw a random sample from a dataset you provide.

In order to do so, you need to provide a dataset, and you need to indicate the size of the sample that you wish to draw.

### How is this different from a Random number generator

Actually, this tool is using a random number generator in order to select a sample. You see, all the values from a dataset are assigned a unique index that identifies them.

Then, a random sample of non-repeated indexes is selected, and the values from the original dataset associated to those random indexes will be the random sample you are looking for.

If you want to generate a simple list of random numbers that are purely random and repeats can happen, you can use this regular random number generator or you can also use this random number generate with no repeats.

### Is the same as a random sample obtained from Excel?

The principle is the same: you essentially generate a random list of positions and find the values on those positions in order to get the random sample.

Now, if that is what you are looking for, probably you should take a look at our random sample generator.