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

  Slope of the true regression line

1. Testing the null hypothesis that the slope of the true regression line equals zero is equivalent to testing whether the true coefficient of correlation could be zero. Why?

  Using a z-test for the population mean

Tthe sample standard deviation is 11 months. We will be using a z-test for the population mean at α = 0.05 to check the manufacturer's claim.

  When using a multiple regression model the first decision

problemprovide me a half page response to each of the following two discussion posts. tell me what you agree with

  Probability requirement of binomial distribution

Each of four tasters picks one coffee anyway (not knowing which is which, because the coffee is in identical cups). What is the probability that a) All four tasters choose Tasty Bean?

  Significant difference in average defect rate of factories

Proportions of defective chips are 4.0% and 6.0% respectively. Using a confidence level of 95%. Which statement is supported by data?

  Raul received a score of 80 on a history test for which the

raul received a score of 80 on a history test for which the class mean was 70 with standard deviation 10. he received a

  What would we predict for the number of hours

João is 24 years old. What would we predict for the number of hours he studies per week?- Kimberly is 19 years old. What would we predict for the number of hours she studies per week?

  Problem-record the gestation times of a sample of women

Human gestation times have a mean of about 266 days, with a standard deviation of about 16 days. If we record the gestation times of a sample of 100 women.

  Components of thrust exerted on the speedboat

A speedboat is powered by the jet drive shown. Seawater is drawn into the pump housing at the rate of 20 ft3 /s through a 6-in.-diameter intake A. An impeller accelerates the water flow and forces it out horizontally through a 4-in.- diameter nozz..

  Example of four types of probability

Explain in detail and give an original example of the four types of probability.

  Find probability that the student selected is a male

There are 200 students in a particular graduate program at a state university. Of them, 110 are female and 125 are out-of-state students.

  If we have a 95 confidence interval we have alpha2 below

if we have a 95 confidence interval we have alpha2 below the confidence interval and alpha2 above the confidence

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