dtppn: Two-Piece Power Normal Distribution

View source: R/dtppn.R

dtppnR Documentation

Two-Piece Power Normal Distribution

Description

Density, distribution function, quantile function and random generation for the two-piece power normal distribution with parameters teta, s1, s2 and c.

Usage

dtppn(x, teta, s1, s2, c)

Arguments

x

real argument

teta

position parameter

s1

positive scale parameter

s2

positive scale parameter

c

shape parameter (c>=1)

Details

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)

Value

The function returns the value of the probability density function for the two-piece power normal distribution.

Author(s)

Piotr Sulewski, piotr.sulewski@upsl.edu.pl, Pomeranian UNiwersity in Slupsk.

References

Sulewski, P. (2021). Two-Piece Power Normal Distribution, Communications in Statistics - Theory and Method 50(11), 2619-2639.

Examples

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)


PSDistr documentation built on Sept. 13, 2023, 5:07 p.m.