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.
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...
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:...
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...
(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...
Suppose a random sample of size 11 was taken from a normally distributed population, and the...
Suppose a random sample of size 11 was taken from a normally distributed population, and the sample standard deviation was calculated to be s = 6.5. We'll assume the sample mean is 10 for convenience. a) Calculate the margin of error for a 90% confidence interval for the population mean. Round your response to at least 3 decimal places. Number b) Calculate the margin of error for a 95% confidence interval for the population mean. Round your response to at...
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...
Given two independent random samples with the following results: n1=11 x‾1=128 s1=23   n2=13 x‾2=110 s2=32 Use...
Given two independent random samples with the following results: n1=11 x‾1=128 s1=23   n2=13 x‾2=110 s2=32 Use this data to find the 95%95% confidence interval for the true difference between the population means. Assume that the population variances are equal and that the two populations are normally distributed. Copy Data Step 1 of 3: Find the critical value that should be used in constructing the confidence interval. Round your answer to three decimal places. Step 2 of 3: Find the standard...
Q1d08A.) Edward Shack is conducting a simulation of a serial production line for Lowliner Foods in...
Q1d08A.) Edward Shack is conducting a simulation of a serial production line for Lowliner Foods in St John’s, NL. The line processes fresh fish into frozen fish fingers. The line operates on three shift basis, 7.5 hours per shift, with a half-hour between shifts. Machines are idled between the shifts. a.) Mr. Shack is very interested in determining the effect of unscheduled downtime of the flash freezing unit on shift output. Eddie has implemented a data collection procedure that will...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT