Question

In: Statistics and Probability

A robbery has just been committed at the Corner Market in the downtown area of the...

  1. A robbery has just been committed at the Corner Market in the downtown area of the city. The market owner was able to activate the alarm, and the robber fled on foot. Police officers arrived a few minutes later and asked the owner, “How long ago did the robber leave?” “He left about 9 minutes ago and headed east.”, the owner responded. “He’s probably nine blocks away by now.”, one of the officers said to the other. “Not likely”, said the store owner. “He was so stoned on drugs that I bet he’s still only within a few blocks of here! He’s probably just running in circles!”

Perform a simulation experiment that will test the store owner’s hypothesis. Assume the following:

  • It takes him 1 minute to walk each block (they are short).
  • At the end of each minute interval he is at a corner. There is a 32% chance that he will fall asleep for 1 minute, and an 17% chance that he will walk east, or north, or west, or south. 3

My suggestion is to run at least 1000 trials of the nine-minute journey of the robber.

  1. On average how many block has he walked?
  2. On average how far away is he (using blocks - not “diagonals”) from the store?
  3. What is the probability he is two blocks or less (walking on streets) from the store?
  4. What is a 95% confidence interval estimate of this probability?

Solutions

Expert Solution

Running the simulations, we get:

a. Average blocks walked = 6.126

Note that if he walks back a block, it is still counted. So, this is the steps he is not sleeping

b. Average distance from the store = 2.744

Note that this is the block distance from the store.

c. Probability that he is two blocks or less from the store = 0.4670

0d. The standard deviation of the probability s is 0.4989

The sample size n is 1000. Since the number of samples is large, we use the normal distribution.

A 95% confidence interval CI corresponds to a z-score of 1.96. So, the CI will be:

Note: Results will vary slightly if the simulation is done again.

Here is a python program for parts a to c:

from random import random
import numpy as np

cnt = 1000
smbwk = 0
smwlk = 0
awlk = []

for simulation in range(cnt):
    x = 0
    y = 0
    bwk = 0

    for i in range(9):
        p = random()
        if p <= 0.32:
            pass
        elif p <= 0.49:
            x += 1
            bwk += 1
        elif p <= 0.66:
            y += 1
            bwk += 1
        elif p <= 0.83:
            x -= 1
            bwk += 1
        elif p <= 1.00:
            y -= 1
            bwk += 1

    wlk = abs(x) + abs(y)

    smbwk += bwk
    smwlk += wlk
    if wlk <= 2:
        pwlk = 1
    else:
        pwlk = 0
    awlk.append(pwlk)

print(smbwk/cnt)
print(smwlk/cnt)
print(np.mean(awlk))
print(np.std(awlk))


Related Solutions

A robbery has just been committed at the Corner Market in the downtown area of the...
A robbery has just been committed at the Corner Market in the downtown area of the city. The market owner was able to activate the alarm, and the robber fled on foot. Police officers arrived a few minutes later and asked the owner, “How long ago did the robber leave?” “He left about 10 minutes ago and headed east.”, the owner responded. “He’s probably ten blocks away by now.”, one of the officers said to the other. “Not likely”, said...
Please solve in excel A robbery has just been committed at the Corner Market in the...
Please solve in excel A robbery has just been committed at the Corner Market in the downtown area of the city. The market owner was able to activate the alarm, and the robber fled on foot. Police officers arrived a few minutes later and asked the owner, “How long ago did the robber leave?” “He left about 9 minutes ago and headed east.”, the owner responded. “He’s probably nine blocks away by now.”, one of the officers said to the...
Many individuals have been to a corner market in a city and noticed soggy lettuce, a...
Many individuals have been to a corner market in a city and noticed soggy lettuce, a moldy cucumber or other far from fresh produce being offered to that community in that specific area. Until now, many may not have known that this is what is referred to as a Food Desert. Why is it that we do not see similar grocery stores in these areas as we do in more rural communities? As a result, what does this do to...
Your hospital has been approached by a major employer in your market area to negotiate a...
Your hospital has been approached by a major employer in your market area to negotiate a preferred provider arrangement. The employer is seeking a 25% discount from your current charges. Describe a structure that you might use to summarize the financial implications of this decision. Describe the factors that are critical in this decision.
You are employed by a market research agency that has just been contracted by Woolworths in...
You are employed by a market research agency that has just been contracted by Woolworths in South Africa to conduct a study examining the relationship between retail crowding and shopping satisfaction. Write an essay in which you discuss the research methods you propose to employ to conduct the research. The term ‘research methods’ refers to a number of factors that need to be discussed. Please structure your essay using the following headings:  Research approach and design;  Participants and...
You are employed by a market research agency that has just been contracted by Woolworths in...
You are employed by a market research agency that has just been contracted by Woolworths in South Africa to conduct a study examining the relationship between retail crowding and shopping satisfaction. Write an essay in which you discuss the research methods you propose to employ to conduct the research. The term ‘research methods’ refers to a number of factors that need to be discussed. Please structure your essay using the following headings:  Research approach and design;  Participants and...
The City Council of a regional area with a population of 15,240 people is committed to...
The City Council of a regional area with a population of 15,240 people is committed to do a lockdown of the region if more than 3% of its population contracts the Covid-19 virus. To investigate whether more than 3% of the population have contracted the virus, the health authority conducted a random Covid-19 test over 1000 people living in the region; 32 people tested positive to the virus. a) You were recently hired as a junior statistician working for the...
The City Council of a regional area with a population of 15,240 people is committed to...
The City Council of a regional area with a population of 15,240 people is committed to do a lockdown of the region if more than 3% of its population contracts the Covid-19 virus. To investigate whether more than 3% of the population have contracted the virus, the health authority conducted a random Covid-19 test over 1000 people living in the region; 32 people tested positive to the virus. a) You were recently hired as a junior statistician working for the...
The City Council of a regional area with a population of 15,240 people is committed to...
The City Council of a regional area with a population of 15,240 people is committed to do a lockdown of the region if more than 3% of its population contracts the Covid-19 virus. To investigate whether more than 3% of the population have contracted the virus, the health 5|Page authority conducted a random Covid-19 test over 1000 people living in the region; 32 people tested positive to the virus. a) You were recently hired as a junior statistician working for...
Halloween is just around the corner, but it will be hard for the kids to go...
Halloween is just around the corner, but it will be hard for the kids to go out for trick-or-treats or adults to go for Halloween night party because of the COVID-19 pandemic. According to the National Retail Federation (NRF) is U.S., in 2019, Americans planned to spend a near-record $8.8 billion on Halloween, the third most expensive Halloween postrecession. a) What can you expect about the Halloween expenditures this year? Will it go up or down or remain the same?...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT