mOP: Odd Parteo G distribution

mOPR Documentation

Odd Parteo G distribution

Description

The $n$th incomplete moment (E[X^n|X<y]) of the OPAG distribution for any base distribution

Usage

mOP(n,par,y,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).

y

upper limit of X

Value

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

Author(s)

Mohamed Hussein

Examples

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

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