0

Hi Iam looking for the cumulative distribution function for truncated poisson random variable. I can find it for the regular "poisson cdf", MATLAB gives this:

p = poisscdf(x,lambda) returns the Poisson cdf at each value in x using the corresponding mean parameters in lambda

Is there an analogue to a truncated poisson poisson distribution ?

Danny
  • 203
  • 1
  • 9
  • Well, for a truncated CDF you just take the truncated _x_ interval and scale it up so that the maximum value of the CDF (at the upper endpoint of the interval) is `1`. – Luis Mendo Feb 02 '15 at 15:09

1 Answers1

2

I would suggest first using the Matlab truncate function to adjust your distribution:

pd = makedist('poiss')
trunc = truncate(pd,1,3) 

for Poisson, it can only be positive.

set a discrete range:

x = 0:.1:4;
distribution = pdf(trunc,x);
cummulative = cdf(trunc,x);

alternatively, you could integrate the pdf function using matlab integrate

GameOfThrows
  • 4,510
  • 2
  • 27
  • 44