The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.stat.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: When should I stop the simulation?
Replies: 3   Last Post: Jun 20, 2012 5:36 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 119
Registered: 12/13/04
When should I stop the simulation?
Posted: Jun 16, 2012 6:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I do a simulation to calculate a parameter of an experiment.

I generate N normally distributed random numbers and then I calculate
the parameter from these numbers (it's a correlation coefficient and in
my case its value is always big: 0.98...0.9999).

As the simulation goes on, I periodically print the parameter and I see
that it converges to the real value (the left column is the number of
the samples I use to calculate the parameter):

262144) 0.9988634
524288) 0.9988620
2359296) 0.9988636
2621440) 0.9988639
2883584) 0.9988641
3145728) 0.9988642
3407872) 0.9988642
3670016) 0.9988641

Is there any method to decide when to stop the simulation?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.