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

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

Topic: Standard deviation over observed sample
Replies: 1   Last Post: Feb 28, 2013 1:00 AM

Advanced Search

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

Posts: 18
Registered: 7/14/09
Standard deviation over observed sample
Posted: Feb 27, 2013 8:04 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

First of all, apologies for errors in my terminology, it's been a while.

I play online poker with the help of a HUD (heads-up display) that collects cumulative statistics on how the opponent plays. For instance, the HUD might tell me about what percentage of hands the opponent raised first-in. I played a bit with Matlab to figure out what the error margin on those statistics could be, based on the number of samples that I have.

I wrote a very simple Monte Carlo simulation. In the figure below, the true value of the statistic (eg, the value which would be observed if the opponent played an infinite number of hands) is 0.09. I generated 10k sequences of 100 samples each, then computed the standard deviation for each of the 10k data points-long vectors, and plotted them below.

This tells me that, given that the true value for a statistic is 0.09, the observed statistic will have approx. a 68% chance of lying between the two red lines (1-sigma) and approx. a 95% chance of lying between the two green lines (2-sigma). Is this correct?

This visualization is useful in some respects, however I then realized that it wasn't what I actually needed in the first place. What I need to know is to answer this scenario: given that the observed value of the statistic is, say, 0.09 after n samples, then what are the one-sigma and two-sigma confidence levels for the statistic? In other words, how do I calculate/compute the intervals that I am, respectively, 68% and 95% confident that the true value lies in?

I believe (correct me if I'm wrong) that the above graph cannot be used to answer this question at all. So how do I solve/compute this? Is this a trivial problem? Can I solve this analytically or do I have to use a computer simulation?

Thank you

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.