Re: binomial distribution
- To: mathgroup at smc.vnet.net
- Subject: [mg28003] Re: [mg27968] binomial distribution
- From: BobHanlon at aol.com
- Date: Wed, 28 Mar 2001 02:40:31 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Needs["Statistics`DiscreteDistributions`"];
Needs["Graphics`Graphics`"];
n = 8; p = .2;
BarChart[Table[PDF[BinomialDistribution[n, p], x], {x, 0, n}],
Ticks -> {Table[{x+1, x}, {x, 0, n}], Automatic}];
Bob Hanlon
In a message dated 2001/3/27 1:44:16 AM, kpassi at mum.edu writes:
>i have been using the binomial distribution function in the statistics
>
>packages and I wonder if there is a way to graph the binomial distribution
>
>when the same size and the probability of a success is known.
>