Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Monte Carlo method
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== A formula when simulations' results are bounded ==== An alternative formula can be used in the special case where all simulation results are bounded above and below. Choose a value for <math>\epsilon</math> that is twice the maximum allowed difference between <math>\mu</math> and <math>m</math>. Let <math>0 < \delta < 100</math> be the desired confidence level, expressed as a percentage. Let every simulation result <math>r_1, r_2, \ldots, r_i, \ldots, r_n</math> be such that <math>a \leq r_i \leq b</math> for finite <math>a</math> and <math>b</math>. To have confidence of at least <math>\delta</math> that <math>|\mu - m| < \epsilon/2</math>, use a value for <math>n</math> such that: :<math>n\geq 2(b-a)^2\ln(2/(1-(\delta/100)))/\epsilon^2</math> For example, if <math> \delta = 99\% </math>, then <math>n \geq 2(b - a)^2 \ln(2/0.01)/\epsilon^2 \approx 10.6(b - a)^2/\epsilon^2</math>.<ref name=":1" />
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Monte Carlo method
(section)
Add topic