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

  Finding mean-variance by creating probability distribution

Use frequency distribution to create a probability distribution, determine the (b) mean,(c) variance and (d) standard deviation of probability distribution and (e) interpret results in context of real life situation.

  Use normal for binomial with a correction for continuity

If a random sample of 40 voters is chosen, approx. the probability that more than 20 favor this candidate. Use the normal approximation to the binomial with a correction for continuity.

  A personnel manager has a computer-generated list of all

A personnel manager has a computer-generated list of all employees that indicates that 70 percent are full-time employees, 20 percent are part-time employees, and 10 percent are furloughed or laid-off employees.

  Simplex method for maximum profits

The Roller Products Company produces roller skates and skateboards. It has three production lines. Production line 1 makes skateboard platforms.

  Students in a random sample who binge drink

A recent national study showed that approximately 30% of college students binge-drink. Let x equal the number of students in a random sample size of n=12 who binge drink. Find the probability that

  Correlation and rank corelation

What information is provided by the sign (= or -) of the Pearson correlation? What information is provided by numerical value of the Pearson correlation?

  Interval or ratio level of measurement

When we have data that are measured at the interval/ratio level of measurement, there are:

  Penetrability of compressed-intermediate soil

Farmers know that driving heavy equipment on wet soil compresses the soil and injures future crops. Here are data on the "penetrability" of the same type of soil at 2 levels of compression.

  Determining number of possible routes for airline

You have just started own airline. You have one plane for a route connecting Austin, Boise, and Chicago. One route is Austin-Boise-Chicago and a second route is Chicago-Boise-Austin.

  Approximate of cameras sold

The camera department of a large department store sells three different brands of cameras: Proxima, Yakima, and Tetron. Approximately 60% of the cameras sold are Yakimas with Tetrons accounting for 30% of sales and Proxima the remaining 10%.

  A multiple choice test consists of 25 questions with possibl

A multiple choice test consists of 25 questions with possible answers of a, b, c, d, and e. Estimate the probability that with random guessing, the number of correct answers is between 3 and 10 inclusive.

  Main points of central limit theorem for mean

Why is population shape of concern when estimating a mean? What does sample size have to do with it?

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