Question

Suppose we create a linear congruential pseudorandom number generator with a=11, b=12, m=23 and we use...

Suppose we create a linear congruential pseudorandom number generator with a=11, b=12, m=23 and we use it to generate a random number uniformly distributed between 0 and 1 with seed s=15. What is the first random number that we will generate? (give your answer to 4 decimal places).

Homework Answers

Answer #1

Using Excel

Step 1: Click the “Data” tab and then click “Data Analysis.” If you don’t see Data Analysis

Step 2: Type how many columns you want to populate in the Number of Variables Box. Say 1

Step 3: Type how many random numbers you want in each column into the Number of Random Numbers box Say 1

Step 4: Select a distribution, " Uniform Distribution "

Step 5: enter seed value in seed box say 15

Step 6: Tell Excel where you want the output, Say A1

Step 7: Press ok

you get single random number between 0 to 1 from uniform distribution.

It may varry from person to person or every trial it may different value.

My answer is 0.318278 upto foru decimal places it will be 0.3183

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1) Consider a linear congruential random number generator with parameters a = 35, c = 20...
1) Consider a linear congruential random number generator with parameters a = 35, c = 20 and m = 100. a- Generate 5 random numbers by using this method. Use 84. b- By using inverse transform method, generate 2 random variate for an exponential distribution with parameter λ = 0.5. Use the first two random numbers you generated in part a.
A random number generator is supposed to produce random numbers that are uniformly distributed on the...
A random number generator is supposed to produce random numbers that are uniformly distributed on the interval from 0 to 1. If this is true, the numbers generated come from a population with μμ = 0.5 and σσ = 0.2887. A command to generate 169 random numbers gives outcomes with mean x¯¯¯x¯ = 0.4366. Assume that the population σσ remains fixed. We want to test H0:μ=0.5 Ha:μ≠0.5 (a) Calculate the value of the Z test statistic. (b) Use Table C:...
Suppose that the length of research papers is uniformly distributed from 12 to 27 pages. We...
Suppose that the length of research papers is uniformly distributed from 12 to 27 pages. We survey a class in which 55 research papers were turned in to a professor. The 55 research papers are considered a random collection of all papers. We are interested in the average length of the research papers. a) Round your answer to four decimal places. σX = b) Give the distribution of x̄ . (Round your standard deviation to three decimal places.) c) Give...
Use another random decimal fraction generator at Random.org, linked here to generate a list of ten...
Use another random decimal fraction generator at Random.org, linked here to generate a list of ten two-digit random numbers between 10 and 30. Calculate the z-score of the median of the data set. (12, 15, 17, 18, 19, 21, 23, 24, 25, 28) σ: 4.6647615158762 Mean: 20.2 Median: 20 Z-score: -0.043 1. What does the z-score of the data set median just above tell you about the shape of the distribution? How do you know this? 2. If you were...
Question (2) [5 marks] (Use R) Suppose you have a company producing cupcakes. Each cupcake is...
Question (2) [5 marks] (Use R) Suppose you have a company producing cupcakes. Each cupcake is supposed to contain 10 grams of sugar. The cupcakes are produced by a machine that adds the sugar in a bowl before mixing everything. You believe the machine does not add 10 grams of sugar for each cupcake. If your assumption is true, the machine needs to be fixed. You stored the level of sugar of thirty cupcakes. Note: You can create a randomized...
(1) Using a generator for a binomial distribution, we will test the results of Example 3.8.2....
(1) Using a generator for a binomial distribution, we will test the results of Example 3.8.2. Using software generate 500 random deviates for X from a B(10, 0.3) distribution and 500 random deviates for Y from a B(5, 0.3) distribution. Add corresponding random deviates from each distribution to form an empirical W=X+Y. Then use the theoretical result of Example 3.8.2 and directly generate another 500 random deviates for W from a B(15, 0.3). Order the result of the sum of...
x: 23, 17, 15, 30, 27 (a) Find the range. (Enter an exact number.) (b) Verify...
x: 23, 17, 15, 30, 27 (a) Find the range. (Enter an exact number.) (b) Verify that Σx = 112 and Σx2 = 2,672. (For each answer, enter an exact number.) Σx = Σx2 = (c) Use the results of part (b) and appropriate computation formulas to compute the sample variance s2 and sample standard deviation s. (For each answer, enter a number. Round your answers to two decimal places.) s2 = s = (d) Use the defining formulas to...
A random sample of 11 technicians produced the following data, where x is the number of...
A random sample of 11 technicians produced the following data, where x is the number of tasks assigned, and y is the number incomplete tasks at the end of the first shift. The data are presented below in the table of values. x y 12 2 14 4 15 5 16 5 19 9 22 8 25 11 27 16 29 14 32 14 35 18 What is the value of the slope of the regression line, m, rounded to...
In a certain dormitory, for various nights, we compare the number of residents who go to...
In a certain dormitory, for various nights, we compare the number of residents who go to bed with their shoes on with the number who wake up in the morning with headaches. #sleep with shoes 10 12 8 20 16 5 15 20 #headaches 12 9 5 15 12 3 11 17 Find the correlation between these two variables: sum of X's: sum of X squared's: sum of Y's: sum of Y squared's: sum of X*Y's: SS(X)= SS(Y)= SS(XY)= All...
Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns,...
Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns, each 20 points long and use the following parameters: Number of variables (10), number of data point (20), Distribution (Normal), Mean (40), Standard Deviation (10), Random seed (1234). The data should be in columns: A,B,C,….,I,J. Randomly pick two columns (say Column B and Column H) and perform 2-sided t-test on these two data columns. Record the P-value and repeat this procedure several times (at...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT