Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12340

Re: Mode of InverseChiSquareDistribution

From Paul von Hippel <paulvonhippel@yahoo.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mode of InverseChiSquareDistribution
Date 2012-11-14 20:21 +0000
Message-ID <k80ugj$32m$1@smc.vnet.net> (permalink)
References <20121113050258.8E2766992@smc.vnet.net> <CAEtRDSdekE-buhQ=R5YTGDH9Vyf2W_4+C9-2cWoL3FHsoTGR8Q@mail.gmail.com>
Organization Time-Warner Telecom

Show all headers | View raw


Thank you. Why doesn't the ArgMax function find the mode?


________________________________

From: Bob Hanlon <hanlonr357@gmail.com>
To: paul <paulvonhippel@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Mode of InverseChiSquareDistribution Paul von Hippel <paulvonhippel@yahoo.com> - 2012-11-14 20:21 +0000

csiph-web