Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1993
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1993

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

Search the Archive

MATHEMATICA - STATISTICS - DISCRETE & CONTINUOUS DISTRIBUTIONS

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: MATHEMATICA - STATISTICS - DISCRETE & CONTINUOUS DISTRIBUTIONS
  • From: Iain "D." Currie <iain at cara.ma.hw.ac.uk>
  • Date: Thu, 23 Sep 93 09:32:07 BST


     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