pgdstable | R Documentation |
Computes probability generating function of a discrete stable distribution DS(alpha,lambda)
.
pgdstable(z, alpha, lambda = 1)
z |
argument of probability generating function, |
alpha |
tail index parameter |
lambda |
positive location parameter |
Returns value of probability generating function of DS(alpha,lambda)
. A warning is displayed for invalid parameter values.
Steutel_1979dstabledist
pgdstable(c(-1,0,1),0.5,1)
pgdstable(c(-1,0,1),1,1) #This is Poisson
curve(pgdstable(x,1,lambda=1), c(-1,1),col=1,ylab='prob. gen. fun.',xlab='z')
curve(pgdstable(x,0.5,lambda=1), c(-1,1),col=2,add=TRUE)
curve(pgdstable(x,0.2,lambda=1), c(-1,1),col=4,add=TRUE)
legend('topleft',legend=c(1,0.5,0.1), col=c(1,2,4), lty = 1, title='alpha')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.