answersLogoWhite

0


Best Answer

If the population is of size N, then you allocate the numbers 1 to N to them: one per element of the population. Then generate random numbers in the range 1 - N. The element whose number is thrown up by the generator is in the sample. In the unlikely event that a number is repeated, you ignore the repeat and continue drawing the sample until you have the required correct number in the sample.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: HELP How does a random number generator choose a sample of people?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

What does RNG stands for?

random number generator


How is a random sample selected?

There are a few ways to do this, but one of the most common ways is by giving each of your subjects a number. If there are 100 of them, number them 001-100. If there are 1000, number them 0001-1000 and so on. Then, randomly choose numbers for each group using random number generator.


What is the difference between the functions rand random srand and randomize?

RAND: Rand uses a multiplicative congruential random number generator with period232 to return successive pseudo-random numbers in the range 0 to RAND_MAX. Return Value: Rand returns the generated pseudo-random number. RANDOM(): Random returns a random number between 0 and (num-1).random(num) is a macro defined in STDLIB.H. RANDOMIZE(): Randomize initializes the random number generator with a random value. Because randomize is implemented as a macro that calls the time function prototyped in TIME.H, you should include TIME.H when you use this routine SRAND(): The random number generator is reinitialized by calling srand with an argument value of 1.The generator can be set to a new starting point by calling srand with a given seed number.


The output of the pseudo-random number generator?

Is a set of numbers that look random and will pass most tests of randomness.


How can you choose a random sample of teachers?

The first step is to establish a sampling frame. This is a list of all teachers in the domain that you are interested in. Next you allocate a different number to each teacher. Then you use a random number generator to generate random numbers. You select each teacher whose number is generated. If the teacher has already been selected for inclusion in the sample, you ignore the duplicate and continue until you have a sample of the required size.

Related questions

What is Hardware random number generator?

In computing, a hardware random number generator is an apparatus that generates random numbers from a physical process.


What does RNG stands for?

random number generator


Is used in the calculation that returns the next random number in the series?

A pseudo-random number generator.


How is a random sample selected?

There are a few ways to do this, but one of the most common ways is by giving each of your subjects a number. If there are 100 of them, number them 001-100. If there are 1000, number them 0001-1000 and so on. Then, randomly choose numbers for each group using random number generator.


What is the difference between the functions rand random srand and randomize?

RAND: Rand uses a multiplicative congruential random number generator with period232 to return successive pseudo-random numbers in the range 0 to RAND_MAX. Return Value: Rand returns the generated pseudo-random number. RANDOM(): Random returns a random number between 0 and (num-1).random(num) is a macro defined in STDLIB.H. RANDOMIZE(): Randomize initializes the random number generator with a random value. Because randomize is implemented as a macro that calls the time function prototyped in TIME.H, you should include TIME.H when you use this routine SRAND(): The random number generator is reinitialized by calling srand with an argument value of 1.The generator can be set to a new starting point by calling srand with a given seed number.


The output of the pseudo-random number generator?

Is a set of numbers that look random and will pass most tests of randomness.


How do you get a random number generator on Microsoft Excel?

"=rand()" in a cell gives a random number between 0 and 1. Every time the sheet is recalculated (F9 key) a new random number is generated.


What is a random number?

* A number generated for or part of a set exhibiting statistical randomness. * A random sequence obtained from a stochastic process. * An algorithmically random sequence in algorithmic information theory. * The output of a random number generator. * The least random number (17), according to the Hacker's Jargon File.


Has this number been used 108722108854563?

If you generated this number using a random numers list or random numbers generator, then the best guess would be that your use of it is the first.


Write a c program to print different number into a random order at number of compile times?

This program generates so called pseudo random numbers, and it used srand() function to connect the seed for the random number generator to the current. Which makes it less predictable but cannot claimed as a real random number generator.#include #include #include int main(){srand((unsigned) time(NULL));std::cout


How can you choose a random sample of teachers?

The first step is to establish a sampling frame. This is a list of all teachers in the domain that you are interested in. Next you allocate a different number to each teacher. Then you use a random number generator to generate random numbers. You select each teacher whose number is generated. If the teacher has already been selected for inclusion in the sample, you ignore the duplicate and continue until you have a sample of the required size.


How do slots work?

Slot machines are just a random number generator attaching labels to the symbols on the reels. This means their is a random chance of winning on each spin.