MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mode of InverseChiSquareDistribution


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


  • Prev by Date: Re: Relational operators on intervals: bug?
  • Next by Date: Euclidean distance of all pairwise combinations (redundants)
  • Previous by thread: Re: Mode of InverseChiSquareDistribution
  • Next by thread: Re: Mode of InverseChiSquareDistribution