Question

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."

Answer #1

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 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 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 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...

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...

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...

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...

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:...

Context: You own three Chick-Fil-A franchises. In your
sales district, you know that the average weekly sales are
$542,000. One of your stores (Clarkesville store) brought in an
average of $530,000 each week in the last year.
Assume that you conducted the most appropriate test and found
the following:
Z = 3.32
Lower Critical Value = -2.00
Upper Critical Value = 2.00
P-value = 0.0015
Level of significance = 0.05
-----------------------------------------------------------
1a) Based on this information, which of the following...

Do the following problems. 1. Each of three barrels from a
manufacturing line are classified as either above (a) or below (b)
the target weight. Provide the ordered sample space. 2. The heat on
each of two soldered parts is measured and labeled as either low
(l), medium (m), or high (h). State the number of elements in the
ordered sample space. 3. Consider the set of Beatles songs with a
primary writer as either Paul McCartney (P) or John...

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 7 minutes ago

asked 21 minutes ago

asked 23 minutes ago

asked 42 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago