Write a computer program that implements betting system

Assignment Help Basic Statistics
Reference no: EM13970329

A fair coin is tossed repeatedly. Before each toss, you are allowed to decide whether to bet on the outcome. Can you describe a betting system with infinitely many bets which will enable you, in the long run, to win more than half of your bets? (Note that we are disallowing a betting system that says to bet until you are ahead, then quit.)

Write a computer program that implements this betting system. As stated above, your program must decide whether to bet on a particular outcome before that outcome is determined. For example, you might select only outcomes that come after there have been three tails in a row. See if you can get more than 50% heads by your "system."

Reference no: EM13970329

Questions Cloud

Find a lower bound for the probability : Find a lower bound for the probability that the student's score will fall between 65 and 75 - If 100 students take the final, find a lower bound for the probability that the class average will fall between 65 and 75.
Find a range of r which you will not take anything : Determine whether it is true or false. Justify your answer providing either a short proof or a (counter) example as appropriate. Given two  bonds with the same price, face value, expiration date and yield means that their coupons payments are iden..
What is the function of the body of an essay : Latisha is writing an essay on the subject of increasing the minimum wage, and wants to ensure that her essay will engage or entice readers. Which method of organization will most likely support her aim?
Find an upper bound for the probabilities : Let X be a continuous random variable with mean µ = 10 and variance σ2 = 100/3. Using Chebyshev's Inequality, find an upper bound for the probabilities.
Write a computer program that implements betting system : Write a computer program that implements betting system. As stated above, your program must decide whether to bet on a particular outcome before that outcome is determined.
Develop an aggregate plan and input all values : Develop an aggregate plan and input all values below (you may use formulas as you wish):
How many tosses suffice to make us 95 percent sure : Does the Law of Large Numbers allow us to predict the proportion of heads that will turn up in the long run? After we have observed a large number of tosses, can we tell which coin was chosen? How many tosses suffice to make us 95 percent sure?
The market for cellular phone service : Marisol is new to town and is in the market for cellular phone service.  She has settled on Wildcat Cellular, which will give her a free phone if she signs a one-year contract.  Wildcat offers several calling plans.  One plan that she is considering ..
Write a program to toss a coin : Write a program to toss a coin 10,000 times. Let Sn be the number of heads in the first n tosses. Have your program print out, after every 1000 tosses, Sn - n/2. On the basis of this simulation

Reviews

Write a Review

Basic Statistics Questions & Answers

  If a player wagers say 10 on red and wins then the house

a roulette wheel has 38 slots 18 of which are black 18 are red and 2 are green. each time the roulette wheel is spun

  Suppose the lifetime of a particular appliance follows an

suppose the lifetime of a particular appliance follows an exponential distribution with a mean of 10 years. what is the

  Diamonds and hearts are red and clubs and spades are black

Diamonds and Hearts are red and Clubs and Spades are black. Suppose you randomly select three cards from the deck. The outcome of interest is the colour of each of the selected cards.

  What is the probability of a type two error

Suppose that the actual mean value in the population is mu =120 , what is the probability of a Type II error (incorrectly accepting a false null hypothesis)?

  Statistical analysis-sat scores

A random sample of 225 SAT scores has a mean of 1522. Assume that SAT scores have a population standard deviation of 300. construct a 95% confidence interval estimate of the mean SAT scores.

  Does study give evidence that serotonin levels are different

What is your opinion: Does this study provide evidence that the postmortem serotonin levels are different between patients who die of heart disease and patients who die of other causes?

  Fertilizer and yield-correlation and regression

The following data show levels of fertilizer use (lbs) and wheat yield (bushels) on repeated trials on a six acre plot.

  Recommend for a frequency distribution

A data set consists of 83 observations. How many classes would you recommend for a frequency distribution?

  Chance number who say yes in properly drawn random sample

What is the chance that the number who say "yes" in a properly drawn random sample of 500 will be smaller than 360?

  Select a company maybe your employer and assess how it uses

select a company maybe your employer and assess how it uses data in marketing its products or services. if it is not

  Problem regarding the independent samples

The following information is obtained from two independent samples.

  Identify problem by scientifically crafted research proposal

Profitability at a bank is declining as customers are shifting to other banks. As a researcher, identify the problem (root cause of the symptom) through a scientifically crafted research proposal.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd