[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: AW: mean of a distribution |

Date |
Sun, 18 Oct 2009 20:06:39 +0200 |

<> In this particular case, there is a shortcut to the mean which makes your life easier. If no such shortcut existed, you would indeed have to calculate the integral... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von carol white Gesendet: Sonntag, 18. Oktober 2009 20:05 An: statalist@hsphsun2.harvard.edu Betreff: st: mean of a distribution Hi, How to calculate the mean of the distribution of a random variable? Take the exponential distribution with the probability density function f(x)=lambda.exp(-lambda.x) where lambda is a constant and x is a random variable. The mean of this distribution is the reciprocal of lambda. If the mean is the expected value of x, which for a continuous random variable E(x) = Integral (x.f(x))dx, how could E(x) be the reciprocal of lambda? Regards, Carol * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: mean of a distribution***From:*carol white <wht_crl@yahoo.com>

- Prev by Date:
**st: mean of a distribution** - Next by Date:
**st: RE: mean of a distribution** - Previous by thread:
**st: mean of a distribution** - Next by thread:
**st: RE: mean of a distribution** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |