Question

If you wanted to run a simulation for something with a 25% (1 in 4) chance...

If you wanted to run a simulation for something with a 25% (1 in 4) chance of success, then you could generate random numbers 1 – 4, and arbitrarily choose one of the numbers to represent a “success.” You could choose “1” to be a “success,” for instance.

a. Suppose you want to simulate something with 6.25% (1 in 16) chance of success. The most efficient way to simulate that with whole numbers would be to generate the numbers from 1 to ___, and arbitrarily choose ___ number(s) to represent a "success."

b. Suppose you want to simulate something with a 40% (2 in 5) chance of success.

The most efficient way to simulate that with whole numbers would be to generate the numbers from 1 to ___, and arbitrarily choose ___ number(s) to represent a "success."

c. Suppose you want to simulate something with a 2 in 29 chance of success.

The most efficient way to simulate that with whole numbers would be to generate the numbers from 1 to ___, and arbitrarily choose ___ number(s) to represent a "success."

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
If you wanted to run a simulation for something with a 25% (1 in 4) chance...
If you wanted to run a simulation for something with a 25% (1 in 4) chance of success, then you could generate random numbers 1 – 4, and arbitrarily choose one of the numbers to represent a “success.” You could choose “1” to be a “success,” for instance. 1. Suppose you want to simulate something with a 80% (4 in 5) chance of success.The most efficient way to simulate that with whole numbers would be to generate the numbers from...
Conducting a Simulation For example, say we want to simulate the probability of getting “heads” exactly...
Conducting a Simulation For example, say we want to simulate the probability of getting “heads” exactly 4 times in 10 flips of a fair coin. One way to generate a flip of the coin is to create a vector in R with all of the possible outcomes and then randomly select one of those outcomes. The sample function takes a vector of elements (in this case heads or tails) and chooses a random sample of size elements. coin <- c("heads","tails")...
1.) Work through code on finding QQ-plot of a sequence of numbers shown on kaggle (no...
1.) Work through code on finding QQ-plot of a sequence of numbers shown on kaggle (no need to submit). Generate 10000 random numbers from N(50,4), store them as a vector. It is expected that the sample mean of this vector should be close to the population mean 50. Verify this. Suppose X~NB(3,0.8). More specificly, let X be the total numbers needed to achieve 3rd success in a sequence of independent repeated Bernoulli trials with success probability 0.8. Report the probability...
Q1d08A.) Edward Shack is conducting a simulation of a serial production line for Lowliner Foods in...
Q1d08A.) Edward Shack is conducting a simulation of a serial production line for Lowliner Foods in St John’s, NL. The line processes fresh fish into frozen fish fingers. The line operates on three shift basis, 7.5 hours per shift, with a half-hour between shifts. Machines are idled between the shifts. a.) Mr. Shack is very interested in determining the effect of unscheduled downtime of the flash freezing unit on shift output. Eddie has implemented a data collection procedure that will...
   QUESTION 6 1.   If we wanted something like the python else statement for a counter...
   QUESTION 6 1.   If we wanted something like the python else statement for a counter controlled loop in Java, what would it look like?        Since there is no way for a loop in Java to tell you if it completed without breaks or continues, you'd need to set a boolean flag to indicate that and check it after the loop was completed.        We simply check either break or continue flags to see if either is...
PROJECT B 1. Flip a coin 120 times. In order to be organized, please record the...
PROJECT B 1. Flip a coin 120 times. In order to be organized, please record the results of this experiment in 5 rows, with 24 flips per row. For example, the first row may be HTHTTTHTTHTTHHHTTHTHHHHT If you do not desire to flip a coin manually, STATDISK can be used to simulate the process. To use STATDISK, go to “Data” at the top of the STATDISK window, and then choose “Coins Generator”. The “Coin Toss Simulator” window will appear. Then...
Create in JAVA Suppose you are designing a game called King of the Stacks. The rules...
Create in JAVA Suppose you are designing a game called King of the Stacks. The rules of the game are as follows:  The game is played with two (2) players.  There are three (3) different Stacks in the game.  Each turn, a player pushes a disk on top of exactly one of the three Stacks. Players alternate turns throughout the game. Each disk will include some marker to denote to whom it belongs.  At the end...
CASE – 1: (Based on Ch-1: Investing Setting) – Soon after your graduation, you would be...
CASE – 1: (Based on Ch-1: Investing Setting) – Soon after your graduation, you would be all set for your career path. As you have studied and learnt several investment and portfolio related theories and concepts, you would be interested to start investing and creating portfolio right from the beginning phase of your career. Before you start doing so, it would be ideal to recap those important concepts and theories. You may want to write down those in brief especially...
1.1 Suppose you want to make a scale model of a hydrogen atom. You choose, for...
1.1 Suppose you want to make a scale model of a hydrogen atom. You choose, for the nucleus, a small ball bearing with a radius of [01] mm. The radius of the hydrogen atom is 0.529 × 10−10 m and the radius of the nucleus is 1.2 × 10−15 m. (a) What would be the radius (m) of the model? (b) Suppose that now you want to make a scale model of the solar system using the same ball bearing...
If you run summary() command on a result of linear model fitting returned by lm(), you...
If you run summary() command on a result of linear model fitting returned by lm(), you will see a column Pr(>t). You could guess that it is a result of some t-test. How does it apply here? So far we have seen t-tests in the settings of testing sample locations. The ingredients were: 1) null hypothesis: in earlier cases we looked into the null that stated that two samples came from the distribution(s) with the same mean(s); 2) test statistic:...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT