rtppn | R Documentation |
Density, distribution function, quantile function and random generation for the two-piece power normal distribution with parameters teta, s1, s2 and c.
rtppn(n, teta, s1, s2, c)
n |
positive number of observations |
teta |
position parameter |
s1 |
positive scale parameter |
s2 |
positive scale parameter |
c |
shape parameter (c>=1) |
Probability density function see formula (4) in the article Cumulative distribution function see formula (5) Quantile functon see formula (10) Random number generator see formula (21)
The function returns random generator values for the two-piece power normal distribution.
Piotr Sulewski, piotr.sulewski@upsl.edu.pl, Pomeranian UNiwersity in Slupsk.
Sulewski, P. (2021). Two-Piece Power Normal Distribution, Communications in Statistics - Theory and Method 50(11), 2619-2639.
dtppn(2,1,1,1,2)
ptppn(2,1,1,1,2)
qtppn(0.5,1,1,1,2)
rtppn(10,1,1,1,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.