MathGroup Archive 1993

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

Search the Archive

MATHEMATICA - STATISTICS - DISCRETE & CONTINUOUS DISTRIBUTIONS



     MATHEMATICA - STATISTICS - DISCRETE & CONTINUOUS DISTRIBUTIONS

I have managed to answer part of my question of two days ago - with the help of Stan Wagon's book.

The problem was that the function PDF has

Attributes[ PDF ] = {}

My problem goes away if you set

Attributes[ PDF ] = { Listable }


HOWEVER, this does not explain why, with Attributes[ PDF ] = {},

PDF[ NormalDistribution[0,1],  {1} ]

works while

PDF[ POissonDistribution[1], {1} ]

does not!!

A final point - it does seem perverse to have the Attributes of PDF set to {}.  This seems wrong-headed 
to me.

Iain Currie





  • Prev by Date: quadrat method?
  • Next by Date: Eigensystem ordering
  • Previous by thread: quadrat method?
  • Next by thread: Eigensystem ordering