Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Load the Wichman-Hill pseudorandom number generator into R and generate 10000 random numbers, assigning them to a vector x. (a) Test the sequence for uniformity.
Load the Wichman-Hill pseudorandom number generator into R and generate 10000 random numbers, assigning them to a vector x.
(a) Test the sequence for uniformity. Write out your conclusion clearly.
(b) Check the autocorrelations. Is there any indication of sequential linear dependence?
(c) Construct a lag plot a way of applying the spectral test in two dimensions. What do you conclude?
(d) Use plot3d() to apply the spectral test in three dimensions. What do you conclude?
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