Re: Mode of InverseChiSquareDistribution
- To: mathgroup at smc.vnet.net
- Subject: [mg128654] Re: Mode of InverseChiSquareDistribution
- From: Paul von Hippel <paulvonhippel at yahoo.com>
- Date: Wed, 14 Nov 2012 01:28:46 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20121113050258.8E2766992@smc.vnet.net> <CAEtRDSdekE-buhQ=R5YTGDH9Vyf2W_4+C9-2cWoL3FHsoTGR8Q@mail.gmail.com>
- Reply-to: Paul von Hippel <paulvonhippel at yahoo.com>
Thank you. Why doesn't the ArgMax function find the mode?
________________________________
From: Bob Hanlon <hanlonr357 at gmail.com>
To: paul <paulvonhippel at yahoo.com>
Mode of InverseChiSquareDistribution
D is a reserved word and cannot be used for a variable name. The mode
is the value of x for which the derivative of the PDF is zero.
dist = InverseChiSquareDistribution[d - 1];
mode = x /. Solve[
Simplify[
D[PDF[dist, x], x] == 0,
x > 0],
x][[1]]
1/(1 + d)
Bob Hanlon
- References:
- Mode of InverseChiSquareDistribution
- From: paul <paulvonhippel@yahoo.com>
- Mode of InverseChiSquareDistribution