TruncPois: Truncated Poisson distribution

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/EBS.R

Description

Given a parameter lambda and a number Kmax, computes the distribution of the truncated Poisson(lambda) up to Kmax.

Usage

1
TruncPois(lambda,Kmax)

Arguments

lambda

Value of the Poisson parameter wanted

Kmax

Maximum number of segments considered

Details

Given a parameter lambda and a number Kmax, computes the distribution of the truncated Poisson(lambda) up to Kmax.

Value

A vector of probabilities of size Kmax with truncated poisson probability.

Author(s)

Alice Cleynen

References

Rigaill, Lebarbier & Robin (2012): Exact posterior distributions over the segmentation space and model selection for multiple change-point detection problems Statistics and Computing

Cleynen & Robin (2014): Comparing change-point location in independent series Statistics and Computing

See Also

EBSPostK

Examples

1
2
# truncated Poisson with parameter 3.5 and Kmax=20
priorK<-TruncPois(3.5,20)

EBS documentation built on May 2, 2019, 4:55 p.m.