Solving Asymetric Probability Distribution w/68% Interval

  • Thread starter Thread starter gaby287
  • Start date Start date
  • Tags Tags
    Distribution
gaby287
Messages
14
Reaction score
0
I have an asymetric probability distribution function (pdf), in this case we know that the concept of an error bar does not seem appropriate. Well I'm finding the shortest interval that enclosed the 68% of probability. My problem is that my pdf couldn't be integrated analytically and I'm using Mathematica but I don't know how to find the intervals.
 
Physics news on Phys.org
I'm not familiar with mathematica, but here are my two cents:
Since there is no analytic way to solve it, a search technique will have to be used. Here is one simple-minded approach.
1) Generate the cumulative distribution function (use EmpiricalDistribution?)
2) Start with the lower interval point at the lower limit of the distribution (within reason) and with the upper interval point one step above the lower. Keep increasing the upper interval point till you get 68% in between lower and upper. Pick a step size that will give you the accuracy you want. If you want to get fancy, you may be able to get an answer with a large step size and then reduce the size to refine your answer.
3) Increase the lower point up one step and increase the upper point (if necessary) step by step till you again get 68% in between lower and upper. If it is a shorter interval, record it.
4) Keep repeating step 3 till the upper interval point hits the upper limit of the distribution (within reason).
5) The final recorded shortest interval is your answer.
 
gaby287 said:
. Well I'm finding the shortest interval that enclosed the 68% of probability..

Saying the "shortest" interval doesn't specify a unique interval. For a given length, there can be two or more different intervals that have the same probability. You need to add other conditions if you want to define a unique solution.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top