Download Statistics Toolbox User's Guide

Transcript
poisspdf
Purpose
2poisspdf
Poisson probability density function (pdf).
Syntax
Y = poisspdf(X,LAMBDA)
Description
poisspdf(X,LAMBDA) computes the Poisson pdf with parameter settings
LAMBDA at the values in X. The arguments X and LAMBDA must be the same size
except that a scalar argument functions as a constant matrix of the same size
of the other argument.
The parameter, λ, must be positive.
The Poisson pdf is:
x
λ –λ
y = f ( x λ ) = -----e I ( 0, 1, … ) ( x )
x!
x can be any non-negative integer. The density function is zero unless x is an
integer.
Examples
A computer hard disk manufacturer has observed that flaws occur randomly in
the manufacturing process at the average rate of two flaws in a 4 Gb hard disk
and has found this rate to be acceptable. What is the probability that a disk will
be manufactured with no defects?
In this problem, λ = 2 and x = 0.
p = poisspdf(0,2)
p =
0.1353
2-185