Question

In: Statistics and Probability

Recently, the ‘‘leap year virus’’ has been spreading over the Internet and infecting the random number...

Recently, the ‘‘leap year virus’’ has been spreading over the Internet and infecting the random number generators on many computers. If your computer is infected with this virus, then whenever you attempt to generate a U(0,1) pseudorandom sequence U1, U2, U3, ... the reported value of Ui is forced to be greater than 0.5 (by reporting its ‘‘true value’’ plus 0.5, if necessary) whenever i is divisible by 4, unless it is divisible by 100 but not by 400. Note that the virus only affects the reported values, and does not change the internal state of the generator.

Describe a method for testing your random number generation that will detect this infection. Explain how you would decide whether the random number generator ‘‘passes’’ or ‘‘fails’’ the test. Don’t forget that half the time an uninfected random number generator will also produce a value greater than 0.5 under the same conditions.

Solutions

Expert Solution


Related Solutions

a virus is spreading on a small deserted island. The total number of people infected by...
a virus is spreading on a small deserted island. The total number of people infected by the virus t days after the outbreak is given by the model p(t)=5200/(1+20^(-t+15)). the different parts can be solved independently. a. How many people will be infected in the long run? (hint: compute the limit of p as t goes too infinity.) b. The island only has a small hospital with a capacity of 250 patients. When will the total number of infections reach...
Describe how the internet has been spreading around the world connecting countries at faster bandwidths and...
Describe how the internet has been spreading around the world connecting countries at faster bandwidths and explain what sorts of things are being carried by it between countries.
A patient has recently been diagnosed as positive for human immunodeficiency virus (HIV). The patient is...
A patient has recently been diagnosed as positive for human immunodeficiency virus (HIV). The patient is unsure whether the medication regimen prescribed is actually helping. The patient complains of several adverse effects and is especially upset because he or she was asymptomatic before beginning treatment. How would you respond? What information about the progression of HIV/AIDS could you provide that will aid the patient in sticking to the treatment regimen?
There has been a substantial increase in recent years of the number of lawsuits over negligence....
There has been a substantial increase in recent years of the number of lawsuits over negligence. Do you think many of these truly pass the “Reasonable Person” doctrine or not? Is this a positive direction for the Unites States to be heading? Please provide examples from your own experience and/or current events.
The random variable x is the number of occurrences of an event over an interval of...
The random variable x is the number of occurrences of an event over an interval of ten minutes. It can be assumed that the probability of an occurrence is the same in any two-time periods of an equal length. It is known that the mean number of occurrences in ten minutes is 5.3. The probability that there are 8 occurrences in ten minutes is a. .0771 b. .0241 c. .1126 d. .9107
Describe the evolution of the Internet and the impact this has had on marketing over the...
Describe the evolution of the Internet and the impact this has had on marketing over the past 5-10 years. Provide specific industry examples to illustrate your ideas. in 250-350 words please
Clarets Inc. has recently been losing competitive advantage over its closest rivals. Senior management has historically...
Clarets Inc. has recently been losing competitive advantage over its closest rivals. Senior management has historically relied upon a superior reward system to gain competitive advantage, but that no longer appears to be sustaining. Which internal analytical tool could they use to help find out if this may be the case, and to also uncover what they could be leveraging instead?
1. A new virus of lobster has been found, and you have been told that they...
1. A new virus of lobster has been found, and you have been told that they suspect it is a herpesviruses. Which of these would NOT be expected if it really is a herpesviruses? A. It is a naked virus B. It has a double stranded DNA genome C. It has icosahedral capsids D. It has a large DNA genome 2. A woman comes in for a prenatal check up and casually mentions she brought her three year old with...
Given that computers have been around for so long and that the internet has been in...
Given that computers have been around for so long and that the internet has been in existence for over 25 years, why are we just starting to apply data science to healthcare data? In a detailed post, provide a few reasons that you think healthcare data science is lagging compared to other industry sectors.
An outbreak of a new virus has swept across a large city with over a million...
An outbreak of a new virus has swept across a large city with over a million residents. City officials do not yet have the ability to conduct widespread testing of residents to determine the scope to which the virus has spread. In a random sample of 200 residents, city health officials find that 32 test positive for the virus. a) In a random sample of 200 residents city health officials find that 32 test positive for the virus. Construct and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT