Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: NEED HELP! Mathematica seems to "forget" that a package has been loaded

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26495] Re: [mg26487] NEED HELP! Mathematica seems to "forget" that a package has been loaded
  • From: BobHanlon at aol.com
  • Date: Thu, 28 Dec 2000 21:31:29 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

You did not give any examples so I will just give you some examples to check 
your syntax.

Needs["Statistics`DiscreteDistributions`"];

dist = PoissonDistribution[mu];

Sum[PDF[dist, x], {x, Sequence @@ Domain[dist]}]

1

Mean[dist] == Sum[x*PDF[dist, x], {x, Sequence @@ Domain[dist]}]

True

{PDF[dist, x], CDF[dist, x], Variance[dist], PDF[PoissonDistribution[7], 10]}

{mu^x/(E^mu*x!), GammaRegularized[Floor[x] + 1, mu], mu, 
  40353607/(518400*E^7)}

N[PDF[PoissonDistribution[7], 5]]

0.12771666829228964


Bob Hanlon

In a message dated 12/28/00 3:40:42 AM, raygunprez at earthlink.net writes:

>I am still relatively new to the Mathematica environment, so I please 
>request that you have some patience.
>
>I am encountering a situation where when I issue the command 
><<Statistics`DiscreteDistributions` and attempt to use any of the 
>functions therein that during the evaluation of that cell that it does
>
>NOT evaluate to a numerical answer.
>
>This is just one example but there are several other packages such as 
>Graphics and Geometry where this is the case...Mathematica responds that
>
>such package has loaded.  However, the functions don't evaluate.
>
>If you happen to know of any tips, tricks, or procedures to overcome 
>this I would truly appreciate it.
>


  • Prev by Date: Re: Can I make this shape?
  • Next by Date: Re: Reading only numbers
  • Previous by thread: NEED HELP! Mathematica seems to "forget" that a package has been loaded
  • Next by thread: HELP! Working version of "The Knife" package?