Methods of generating pseudorandom numbers

Assignment Help Basic Statistics
Reference no: EM131731455

Question: One of the most commonly used (but not one of the best) methods of generating pseudorandom numbers is the linear congruential method, which works as follows. Let x0 be an initial number (the "seed"). The sequence is generated recursively as

xn = (axn-1 + c) mod m

a. Choose values of a, c, and m, and try this out. Do the sequences "look" random?

b. Making good choices of a, c, and m involves both art and theory. The following are some values that have been proposed:

(1) a = 69069, c = 0, m = 231;

(2) a = 65539, c = 0, m = 231.

The latter is an infamous generator called RANDU. Try out these schemes, and examine the results.

Reference no: EM131731455

Questions Cloud

What role do you see the career counselor taking in future : Do you believe it is important for the career counselor to have a clear understanding of his/her own culture? Why or why not?
Discuss the impact of using immune modulators : Divide student in to three groups. Discuss the impact of using immune modulators in children, adults and older adults
The aspirin contraindicated in children with viral illness : Why is aspirin contraindicated in children with viral illness if the child has a fever and can not use aspirin, what antipyretic would be recommended
The significant legislative events in united states history : Choose two significant legislative events in United States history, and explain how those events had an impact on the field of psychological testing.
Methods of generating pseudorandom numbers : One of the most commonly used (but not one of the best) methods of generating pseudorandom numbers is the linear congruential method, which works as follows.
What is jeremy tax liability : What is Jeremy's tax liability including the tax on the capital gain? Assume the original facts except that Jeremy's total income tax liability
Find the marginal distribution of the number of white balls : An urn contains p black balls, q white balls, and r red balls; and n balls are chosen without replacement.
Contrast diazepam to the three other benzodiazepine : Compare and contrast diazepam to the three other benzodiazepines. Discuss any significant similarities and differences related to therapeutic action
What is the relationship between z-scores and percentages : When comparing data from different distributions, what is the benefit of transforming data from these distributions to conform to the standard distribution?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Formulate a linear programming mode

(b) Use the simplex method to solve this model. Use the resulting optimal solution to identify an optimal policy.

  Bmi in children is approximately normally distributed with

bmi in children is approximately normally distributed with a mean of 24.5 and a standard deviation of 6.2. 1 a bmi

  Recognizing midpoint of the first class

Recognize the midpoint of the first class. Recognize the class boundaries of the first class.

  Find the probability distribution of x

Find the probability distribution of X. -  Find the probability that two or fewer heads are observed in three tosses.

  Whether the given study is observational or experimental

A teacher divides her class into two groups. One group is taught a lesson on the computer and the other is taught by traditional lecture. The teacher then gives a test to see that group has better grades.

  Probability of a rating credit card

A bank's loan officer rates applicants for credit. The ratings are normally distributed with a mean of 175 and a standard deviation of 15. If an applicant is randomly selected, find the probability of a rating that is between 150 and 200.

  Do we know that the null hypothesis must be true

If our decision in a hypothesis test is to fail to reject the null hypothesis, then do we know that the null hypothesis must be true?

  Write the null and alternative hypotheses to test population

A sample of 21 observations selected from a normally distributed population produced a sample variance of 1.97.

  Find ci for all people who had a tv in the room

Give 95% confidence intervals for the proportion of all people in this age group who had a TV in their room at the time of the poll and the proportion.

  How a probability value is related to the normal curve

Then, define probability value in your own words and explain how a probability value of .05 in this example is related to the normal curve.

  Describe distribution and summarize the important features

Describe the distribution and summarize the important features. What is it about running that might account for the shape you see?

  Find the probability of one brown and one green m&m

STA101 - Statistics for Business Individual Assignment. M&Ms are blended in a ratio of 13 percent brown, 14 percent yellow, 13 percent red, 24 percent blue, 20 percent orange, and 16 percent green. Find the probability of one brown and one green M&..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd