Finding an expression for the standard deviation.

Click For Summary

Discussion Overview

The discussion revolves around finding a closed form for the expectation (mu) and standard deviation (sigma) of a specific probability density function defined using Bessel functions. Participants explore theoretical approaches and numerical methods related to the calculation of these statistical measures.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents an expression for the mean (mu) derived from the probability density function, using integration and substitution techniques.
  • Another participant suggests calculating the second moment to help find the variance (sigma), but notes they were unable to find a solution.
  • A participant challenges the validity of the probability density function, claiming it does not integrate to one for any value of the variable a.
  • Another participant counters that the integral does indeed equal one for a > 0, confirming the function is a valid probability density function.
  • A later reply verifies the calculation of the mean using a different software tool and provides a numerical method for calculating the variance, while noting the absence of an analytical solution.
  • One participant expresses a belief that the standard deviation is proportional to the mean, but is uncertain about the proportionality constant, suggesting it may involve Bessel functions.

Areas of Agreement / Disagreement

Participants generally agree on the validity of the probability density function for a > 0 and confirm the calculation of the mean. However, there is no consensus on the closed form for the standard deviation, with multiple competing views and unresolved questions regarding the proportionality constant.

Contextual Notes

Some limitations include the dependence on specific values of a and the unresolved nature of the variance calculation, which remains a topic of exploration among participants.

AdVen
Messages
71
Reaction score
0
The problem is to find a closed form for the expectation (mu) and standard deviation (sigma) of the probability density function underneath (Maple notation):

f(t) = a*exp(a*t)*BesselK(0, 2*sqrt(exp(a*t)))/BesselK(1, 2)

I was able to find an expression for mu::

mu = Int(t*a*exp(a*t)*BesselK(0, 2*sqrt(exp(a*t)))/BesselK(1, 2), t = 0 .. infinity)

Substitution with x = exp(a*t) leads to:

mu = Int((1/(x*a))*ln(x)*x*BesselK(0, 2*sqrt(x))/BesselK(1, 2),x=1..infinity)

Partial integration integration leads to:

-ln(x)*sqrt(x)*BesselK(1, 2*sqrt(x))/(a*BesselK(1, 2))-Int((-sqrt(x)*BesselK(1,
2*sqrt(x))/(a*BesselK(1, 2)))*(1/x),x)

Integration leads to:

-(ln(x)*sqrt(x)*BesselK(1, 2*sqrt(x))+BesselK(0, 2*sqrt(x)))/(a*BesselK(1, 2))

Finally the following closed form can be obtained:

mu = BesselK(0, 2)/(a*BesselK(1, 2))

I was not able to find a closed form for sigma. I suspect, however, that the solution must be proportional to: BesselK(0, 2)/(a*BesselK(1, 2)).

Who can help me?

Ad van der Ven.

PS. Mijnhomepage: http://www.socsci.ru.nl/~advdv/
 
Physics news on Phys.org
Did you try to get the second moment?
mu2 = Int(t2*a*exp(a*t)*BesselK(0, 2*sqrt(exp(a*t)))/BesselK(1, 2), t = 0 .. infinity)
 
Yes, I did, but I was not able to find a solution.
 
There is something wrong with your PDF f(x), since
int(f(x), t = 0 .. infinity)
does not equal one for any value of the variable a (thus f(x) is not a PDF).
 
I am sorry to tell you, but according to Maple 12

Int(a*exp(a*t)*BesselK(0, 2*sqrt(exp(a*t)))/BesselK(1, 2),t=0..infinity) = 1.

Note, that f(t) is only defined for 0 < t.
 
f(t) = a*exp(a*t)*BesselK(0, 2*sqrt(exp(a*t)))/BesselK(1, 2) is defined for 0 < t and for 0 < a.
 
You are right, f(t) does indeed integrate to 1 for a>0 (on 0<t<inf). I was using an older version of Maple that does not think the integral of the PDF converges.

Your calculation of the mean is correct (I have verified now using Mathematica). I have not been able to find an analytical solution for the variance, but you can easily calculate it numerically, e.g. in Maple by

evalf(
Int(x*x*exp(x)*BesselK(0, 2*exp(x/2)),x=0..infinity)/BesselK(1, 2)/a^2
-(Int(x*exp(x)*BesselK(0, 2*exp(x/2)),x=0..infinity)/BesselK(1, 2)/a)^2
);

ans = 0.3715365403*1/(a^2)

Don't know if that is of any help... (in above, I have moved the variable "a" out of the integrals using variable substitution)

-Emanuel
 
Hi Emanuel,

Thanks a lot for looking into the problem. I already kwew, that you can calculate it numerically using Maple. I also know for certain, that the solution for the standard deviation is proportional to the mean. However, I do not know the expression for the proportionality constant. At the same time I am also rather sure, that the proportionality constant is some function of Bessel functions of the second kind (BesselK(v, x)). But I am aware that this will not be much of a help.

Thanks again.
 

Similar threads

  • · Replies 42 ·
2
Replies
42
Views
7K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K