moOP: Odd Parteo G distribution

moOPR Documentation

Odd Parteo G distribution

Description

The $n$th ordinary moment of the OPAG distribution for any base distribution

Usage

moOP(n,par,distr)

Arguments

n

moment of order n

par

named vector or list of the distribution parameters.

distr

a character string specifying the base distribution (for example, "exp" for exponential base distribution).

Value

An object of the same length as x, giving the rth moment

Author(s)

Mohamed Hussein

Examples

moOP(n=2,par=c(rate=2,a=3,c=2),distr="exp")
moOP(n=3,par=c(rate=0.2,a=1,c=2),distr="exp")
moOP(n=1,par=c(scale=2,shape=2,a=3,c=2),distr="weibull")

MHussein-S/OPAG documentation built on June 2, 2022, 12:29 p.m.