Solving Asymetric Probability Distribution w/68% Interval

  • Context: Graduate 
  • Thread starter Thread starter gaby287
  • Start date Start date
  • Tags Tags
    Distribution
Click For Summary
SUMMARY

The discussion focuses on finding the shortest interval that encloses 68% of an asymmetric probability distribution function (pdf) using Mathematica. Due to the inability to integrate the pdf analytically, a numerical search technique is proposed. The method involves generating a cumulative distribution function using EmpiricalDistribution, iteratively adjusting the lower and upper interval points until the desired probability is achieved. It is emphasized that additional conditions are necessary to define a unique interval, as multiple intervals can yield the same probability.

PREREQUISITES
  • Understanding of asymmetric probability distributions
  • Familiarity with cumulative distribution functions
  • Experience using Mathematica for numerical analysis
  • Knowledge of EmpiricalDistribution in Mathematica
NEXT STEPS
  • Learn how to implement EmpiricalDistribution in Mathematica
  • Explore numerical integration techniques for probability distributions
  • Study optimization methods for defining unique intervals in probability
  • Investigate advanced features of Mathematica for statistical analysis
USEFUL FOR

Statisticians, data scientists, and researchers working with probability distributions, particularly those dealing with asymmetric data and requiring numerical methods for analysis.

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.
 

Similar threads

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