Calculating the inverse of a function involving the error function

ergospherical
Science Advisor
Homework Helper
Education Advisor
Insights Author
Messages
1,098
Reaction score
1,385
I have a probability distribution over the interval ##[0, \infty)## given by $$f(x) = \frac{x^2}{2\sqrt{\pi} a^3} \exp\left(- \frac{x^2}{4a^2} \right)$$From this I want to derive a formula for the inverse cumulative density function, ##F^{-1}##. The cumulative density function is a slightly nasty-looking but doable integral involving the error function,$$F(x) = \mathrm{erf}\left( \frac{x}{2a} \right) - \frac{x}{\sqrt{\pi} a} \exp \left( -\frac{x^2}{4a^2} \right)$$So it remains to invert this. Ideally I would like to find an analytic expression, but I haven't had much success.
 
Physics news on Phys.org
For a=1 the plot is
1712272242615.png


So the expected plot of the inverse function is

1712272420660.png

It seems difficult to get the anaytical form if not impossible.
 
  • Like
Likes   Reactions: Gavran
I think it might be. Was just checking if there is a clever way.
 
  • Skeptical
Likes   Reactions: Gavran
The inverse function $$ F^{-1}(x) $$ of the cumulative density function $$ F(x) = erf(\frac{x}{2a}) – \frac{x}{\sqrt\pi a} exp(-\frac{x^2}{4a^2}) $$ can not be expressed in an analytic form.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K