A question about an expression definition in Monte Carlo

Click For Summary

Discussion Overview

The discussion revolves around the definition and understanding of the term "computer experiment" in the context of Monte Carlo simulations. Participants explore what constitutes an experiment within this framework, particularly in relation to estimating parameters such as magnetization curves. The conversation also touches on how to determine the number of Monte Carlo experiments needed to achieve reliable results.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that a "computer experiment" in a Monte Carlo simulation refers to the entire process of estimating parameters, similar to physical experiments conducted in a lab.
  • Others argue that the term may also relate to specific paths taken during the simulation, such as those used to derive a magnetization curve.
  • One participant explains that the number of Monte Carlo experiments required for trustworthy results depends on the statistical methods applied and the nature of the data being analyzed.
  • A later reply provides a mathematical framework for determining sample size based on desired confidence intervals and precision, emphasizing the importance of setting a margin of error.
  • Another participant highlights the need to consider the worst-case scenario when estimating sample size for confidence intervals.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the precise definition of "computer experiment" or the best approach to determining the number of experiments needed. Multiple competing views remain regarding these aspects.

Contextual Notes

The discussion includes assumptions about statistical methods and confidence intervals, which may vary based on the specific context of the Monte Carlo simulations being discussed. There are also unresolved details regarding the application of these statistical concepts to different types of data.

UFSJ
Messages
13
Reaction score
2
Hi,
my question is about the correct means of the expression "computer experiment" in a Monte Carlo simulation. What specifically is an "experiment" in a Monte Carlo simulation? Is the same of "Monte Carlo path" or is the whole process adopted to found a magnetization curve, for example?

If the second answer is the correct, how to know how many Monte Carlo experiments I have to do to obtain a trustworthy result??

Thanks a lot!
 
Technology news on Phys.org
UFSJ said:
Hi,
my question is about the correct means of the expression "computer experiment" in a Monte Carlo simulation. What specifically is an "experiment" in a Monte Carlo simulation? Is the same of "Monte Carlo path" or is the whole process adopted to found a magnetization curve, for example?
In the context of a Monte Carlo simulation, the word "experiment" usually refers to the whole process of estimating one or more parameters. It is analogous to an experiment you might do in a physics lab. To conduct your experiment you set up your equipment and conduct multiple trials, measuring the results at each trial. You may vary the inputs to see how the outputs vary. Then you apply statistical methods to estimate the uncertainty of your results.

A Monte Carlo experiment follows a similar process. You code a computer model and run multiple trials, measuring the results at each trial. You may vary the inputs of the model to see how the outputs vary. Then you use the same statistical methods as you would in a physical experiment to determine uncertainty.

UFSJ said:
If the second answer is the correct, how to know how many Monte Carlo experiments I have to do to obtain a trustworthy result??

For this you need to use statistics. This is going to depend on what form your data takes. If you are estimating a single parameter for example, you can calculate a 95% confidence interval based on the number of trials. For an output curve, you could calculate a 95% confidence interval for each data point and plot error bars.

Here is a tutorial on Monte Carlo methods that gives a quick summary of most of the important aspects. http://statweb.stanford.edu/~owen/pubtalks/MCQMC2012-Owen-Tutorial.pdf
 
As I understand a Monte Carlo Method, you set up a random experiment so that the probability of a given event is proportional to the quantity you wish to calculate.

For example, to determine the area of a triangle, I would place the triangle in a larger rectangle and my random experiment would be to select a point with uniform random distribution in the rectangle. I would then carry out the experiment a number of times and determine the proportion within the triangle. That number \hat{p} would be approximately the ratio of their areas and so the triangle area would be estimated as the product of the proportion times the rectangular area.

The question of how any you need to obtain a "trustworthy result" is relative to how precise you need to be and how trustworthy you mean. You need to set up a confidence interval for the proportion and map that interval to a confidence interval for the quantity you're seeking to estimate. You can select an a priori degree of confidence (say 95% or 99%) and then decide on the precision you want (width of the confidence interval) and solve for the sample size.

The relation is:
p = \hat{p} \pm \varepsilon,\quad \varepsilon = z_{\alpha/2} \cdot \sqrt{ \frac{\hat{p}(1-\hat{p})}{n}}
where \varepsilon is your margin of error with \alpha being the degree of uncertainty, one minus the confidence. Thus for 95% confidence \alpha = 0.05. The z_{\alpha/2} is a critical z-score, tables of which you can find on the internet.

You can, for purposes of solving for n, work with the "worst case scenario" where the proportion is about 1/2.
\varepsilon = z_{\alpha/2}\sqrt{\frac{1}{4n}}
so
n \approx \left(\frac{\varepsilon}{4z_{\alpha/2}}\right)^2
Note that this \varepsilon, margin of error is for the proportion and you must scale it for/from the actual quantity you seek to determine.
 
I understood!

Thanks guys!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
67
Views
8K
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K