Question

In: Math

How to do the monte carlo method on a calculator? step by step method.

How to do the monte carlo method on a calculator? step by step method.

Solutions

Expert Solution

A definition and general procedure for Monte Carlo simulation.

This is what we shall mean by the term Monte Carlo simulation when discussing problems in probability: Using the given data-generating mechanism (such as a coin or die) that is a model of the process you wish to understand, produce new samples of simulated data, and examine the results of those samples. That’s it in a nutshell. In some cases, it may also be appropriate to amplify this procedure with additional assumptions. This definition fits both problems in pure probability as well as problems in statistics, but in the latter case the process is called resampling. The reason that the same definition fits is that at the core of every problem in inferential statistics lies a problem in probability; that is, the procedure for handling every statistics problem is the procedure for handling a problem in probability.

The following series of steps should apply to all problems in probability. I’ll first state the procedure straight through without examples, and then show how it applies to individual examples.

Step A. Construct a simulated “universe” of cards or dice or some other randomizing mechanism whose composition is similar to the universe whose behavior we wish to describe and investigate. The term “universe” refers to the system that is relevant for a single simple event.

Step B. Specify the procedure that produces a pseudo-sample which simulates the real-life sample in which we are interested. That is, specify the procedural rules by which the sample is drawn from the simulated universe. These rules must correspond to the behavior of the real universe in which you are interested. To put it another way, the simulation procedure must produce simple experimental events with the same probabilities that the simple events have in the real world.

Step C. If several simple events must be combined into a composite event, and if the composite event was not described in the procedure in step B, describe it now.

Step D. Calculate the probability of interest from the tabulation of outcomes of the resampling trials. Now let us apply the general procedure to some examples to make it more concrete.

Here are four problems to be used as illustrations:

  1. If on average 3 percent of the gizmos sent out are defective, what is the chance that there will be more than 10 defectives in a shipment of 200?
  2. What are the chances of getting three or more girls in the first four children, if the probability of a female birth is 106/ 206?
  3. What are the chances of Joe Hothand scoring 20 or fewer baskets in 57 shots if his long-run average is 47 percent?
  4. What is the probability of two or more people in a group of 25 persons having the same birthday—i. e., the same month and same day of the month?


Related Solutions

Make a program in C++ and write explanations. Monte-Carlo methods Calculating pi with Monte-Carlo method is...
Make a program in C++ and write explanations. Monte-Carlo methods Calculating pi with Monte-Carlo method is NOT allowed.
How and when do you use the Monte Carlo analysis? Does it have anything to do...
How and when do you use the Monte Carlo analysis? Does it have anything to do with understanding the probability of a risk occurring as well?
Describe the purpose of Monte Carlo simulations. How can these be used in designs?
Describe the purpose of Monte Carlo simulations. How can these be used in designs?
Write a matlab program that determines the value of pi using the monte carlo technique. do...
Write a matlab program that determines the value of pi using the monte carlo technique. do this for a loop of multiple fixed points. (i.e 100-10000) Plot the computed value of pi and the difference from the true value as this number increases. Time the execution of your code for various numbers of points, and plot the precision vs the computational cost.
Describe the steps needed to perform the Monte Carlo Simulation.
Describe the steps needed to perform the Monte Carlo Simulation.
Why the Monte Carlo Method is so important today Article ID Dirk P. Kroese The University...
Why the Monte Carlo Method is so important today Article ID Dirk P. Kroese The University of Queensland Tim Brereton Ulm University Thomas Taimre The University of Queensland Zdravko I. Botev The University of New South Wales Keywords: Monte Carlo method, simulation, MCMC, estimation, randomized optimization Abstract: Since the beginning of electronic computing, people have been interested in carrying out random experiments on a computer. Such Monte Carlo techniques are now an essential ingredient in many quantitative investigations. Why is...
What is the code for running the Monte Carlo integration technique for the integral of the...
What is the code for running the Monte Carlo integration technique for the integral of the standard normal distribution at 2? Please include a graph of sample size vs relative error in the solution.
Under what conditions is it necessary to use Monte Carlo analysis in the study of a...
Under what conditions is it necessary to use Monte Carlo analysis in the study of a queuing system?
in Matlab, Use the Monte Carlo analysis to compute the area of a circle with radius...
in Matlab, Use the Monte Carlo analysis to compute the area of a circle with radius 1. print out your code, at least one figure on which the circle and ‘dart hits’ are shown, and numerical results for N=10, 100,1000. For each N, repeat the calculation at least 5times.
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must...
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must use the following fact: a circle inscribed in a unit square has as radius of 0.5 and an area of ?∗(0.52)=?4.π∗(0.52)=π4. Therefore, if you generate num_trials random points in the unit square, and count how many land inside the circle, you can calculate an approximation of ? For this problem, you must create code in python (A) Draw the diagram of the unit square...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT