Learn R Programming

PSDistr (version 0.0.1)

rdsn: DS Normal Distribution

Description

Density, distribution function, quantile function and random generation for the DS normal distribution with parameters a, b, c and d.

Usage

rdsn(n, a, b, c, teta)

Value

The function returns random generator values for the DS normal distribution

Arguments

n

positive number of observations

a

non-negative multipurpose parameter and a+b>0

b

non-negative multipurpose parameter and a+b>0

c

real multipurpose parameter

teta

real position parameter

Author

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

Details

Probability density function in Latex see formula (5) in the paper Cumulative distribution function in Latex see formula (6) Quantile function see formulas (8,9,10) Random number generator see Theorem (5)

References

Sulewski P. (2021). DS Normal Distribution: properties and applications. Lobachevskii Journal of Mathematics 42(12), 2980-2999.

Examples

Run this code
ddsn(-0.5,2,2,2,0)
pdsn(-0.5,2,2,2,0)
qdsn(0.5,2,2,2,0)
rdsn(10,2,2,2,0)

Run the code above in your browser using DataLab