The dice game craps is played

Assignment Help Basic Statistics
Reference no: EM13311893

The dice game craps is played as follows. The player throws two dice, and if the sum is seven or eleven, then he wins. If the sum is two, three, or twelve, then he loses. If the sum is anything else, then he continues throwing until he either throws that number again (in which case he wins) or he throws a seven (in which case he loses).
Write a program to simulate a game of craps. You can use the following snippet of code to simulate the roll of two (fair) dice: x <- sum(ceiling(6*runif(2)))

Reference no: EM13311893

Questions Cloud

Calculate the sample size needed given these factors : Calculate the sample size needed given these factors
In calculating the ucr rape rates in new york city : In calculating the UCR rape rates in New York City, which of the following would appear to be the best data for the denominator?
Formulate a linear programming model to maximize : The Charm City Fan Company manufactures two products: large fans and medium fans. Each large fan requires 3 hours of wiring and 2 hours of drilling. Each medium fan requires 2 hours of wiring and 1 hour of drilling. There are 480 hours of wiri..
What is the conclusion : If a recent news report indicated that out of 105 people polled, 65 men and 15 women had given the president a high approval rating, while 15 men and 10 women had given the president a low approval rating. A chi-square test yields these resul..
The dice game craps is played : The dice game craps is played as follows. The player throws two dice, and if the sum is seven or eleven, then he wins. If the sum is two, three, or twelve, then he loses. If the sum is anything else, then he continues throwing until he either thro..
What percentage of the observations fall in the intervals : A sample of 3000 observations has a mean of 85 and a standard deviation of 10. The distribution is bell-shaped. Using the empirical rule, find what percentage of the observations fall in the intervals
A firm uses a computer-based training module to prepare : a. A firm uses a computer-based training module to prepare 20 machinist to use new numerically controlled lathes. The module contains a test at the end of the course; X is the number who perform satisfactorily on the test.
A criminal psychologist wants to examine the level of narcis : 3. (SPSS) A criminal psychologist wants to examine the level of narcissistic personality traits between those who are diagnosed with antisocial personality disorder (ASPD) and those who do not qualify for ASPD. She administers a measure of nar..
A cable manufacturer has historically average : A cable manufacturer has historically averaged 2.6 flaws per 1000 meters length of wire production.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Expected return of individual stock-portfolio

You're considering investing in a portfolio of the common stocks of four publicly-traded companies with betas as follows:

  Anova-regression and hypothesis testing

If the sample size is 36 with three treatment means (response variables) and you are performing an ANOVA, then the degrees of freedom for the error term will be:

  Probability based on central limit theorem

Assume that you choose a 50 families sample. Which is the form expected from the distribution of the average or median of the sample?

  Goup or class midpoints in the formula

Calculate the standard deviation for this data = since it is a case of grouped data with classes. use group or class midpoints in the formula in place of x values.

  Completing the square or the quadratic formula

Give an example using either completing the square or the quadratic formula and explain each step as if you were teaching someone who had never used the method before.

  Find probability that half of obese will develop diabetes

Approximately 30% of obese patients develop diabetes. If a physician sees 10 patients who are obese, a) What is the probability that half of them will develop diabetes?

  Probability that at least one of the cd is defective

Find out the probability that at least one of the CD's is defective?

  Advantages of non-parametric methods

Discuss the advantages of non-parametric methods. As an educator, how would they be useful to you? In what situations would you use them?

  Expected number of bulbs

A certain type of lightbulb has an average life of 500 hours with a standard deviation of 100 hours. The length of life of the bulb can be closely approximated by a normal curve.

  Descriptive statistics-computation and analysis

A psychologist interested in political behavior measured the square footage of the desks in the official office of four U.S. governors and of four chief executive officers (CEOs) of major U.S. corporations.

  Null and alternative hypothesis for one-sample testing

Discuss how the null and alternative hypothesis for one-sample testing differs from two-sample testing; and explain how these two hypothesis' are the same, and provide a numerical example?

  Find probability of the sample mean that exceeds given value

Tthe probability distribution of each of his readings had a mean of 128 and a standard devation of 9. what is the probability of the sample mean that exceeds 140?

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