[Solved]Chose 3 M 4999please Last Question Particularly Simulate Joint Probability Q37295782
here I chose a = 3 and m=4999.please just do the last question, particularly, how tosimulate joint probability.
Problem 1. Choose m є {150, 151, , 5000) and an a є {2,3, plicative Congruential PRNG (MCPRNG) , m} such that the Multi- has full period. (The Matlab function isprime may be helpful.) For the seed Ro 1, generate R1, R2,., Rm-1 and define Nk to be the number of Rj’s that are equal to k, That is N,-#{j : R,-k,j ,m-1} 1,2, What should Nk be for each k 1,2,,m 1? Plot Nk vs k, k 1,2,m 1. Call your PRNG a large number of times and make a histogram. Does it look like what you would expect? Choose two intersecting but not identical intervals I and I2 in (0,1), and see if your PRNG exhibits independence by using simulation and your PRNG to test whether or Show transcribed image text Problem 1. Choose m є {150, 151, , 5000) and an a є {2,3, plicative Congruential PRNG (MCPRNG) , m} such that the Multi- has full period. (The Matlab function isprime may be helpful.) For the seed Ro 1, generate R1, R2,., Rm-1 and define Nk to be the number of Rj’s that are equal to k, That is N,-#{j : R,-k,j ,m-1} 1,2, What should Nk be for each k 1,2,,m 1? Plot Nk vs k, k 1,2,m 1. Call your PRNG a large number of times and make a histogram. Does it look like what you would expect? Choose two intersecting but not identical intervals I and I2 in (0,1), and see if your PRNG exhibits independence by using simulation and your PRNG to test whether or
Expert Answer
Answer to here I chose a = 3 and m =4999.please just do the last question, particularly, how to simulate joint probability…. . . .
OR

