Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and
3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and M2 are strategically chosen >0, assign nM1+1 rn Else, assign On M1+1 Using the parameters Al = 3. = 2. B = 7. B2 = 3, M = 31, M2 = 23 and the seeds 20 = 0,X1 = (a) Generate 500 numbers only using the method X,-(Aix,-2-A2Xn-3) modMi. Did you observe (b) Generate 500 numbers only using the method Yn (BiYn-1- B2Yn-3)modM2. Did you observe (c) Generate 500 numbers using the whole algorithm and plot (i, Zi). Compare all three plots. Which a cycle? Plot the values you generated in a scatter plot for (i, X;) a cycle? Plot the values you generated in a scatter plot for (i, Yi) method seems to generate better quality pseudo-random numbers? Explain your comparison. 3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and M2 are strategically chosen >0, assign nM1+1 rn Else, assign On M1+1 Using the parameters Al = 3. = 2. B = 7. B2 = 3, M = 31, M2 = 23 and the seeds 20 = 0,X1 = (a) Generate 500 numbers only using the method X,-(Aix,-2-A2Xn-3) modMi. Did you observe (b) Generate 500 numbers only using the method Yn (BiYn-1- B2Yn-3)modM2. Did you observe (c) Generate 500 numbers using the whole algorithm and plot (i, Zi). Compare all three plots. Which a cycle? Plot the values you generated in a scatter plot for (i, X;) a cycle? Plot the values you generated in a scatter plot for (i, Yi) method seems to generate better quality pseudo-random numbers? Explain your comparison
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started