is.smd: Is a Distribution Parameter Object Typed as Singh-Maddala

is.smdR Documentation

Is a Distribution Parameter Object Typed as Singh–Maddala

Description

The distribution parameter object returned by functions of lmomco such as by parsmd are typed by an attribute type. This function checks that type is smd for the Singh–Maddala distribution.

Usage

is.smd(para)

Arguments

para

A parameter list returned from parsmd or vec2par.

Value

TRUE

If the type attribute is smd.

FALSE

If the type is not smd.

Author(s)

W.H. Asquith

See Also

parsmd

Examples

para <- parsmd(lmoms(c(123, 34, 4, 654, 37, 78)))
if(is.smd(para) == TRUE) {
  Q <- quasmd(0.5, para)
}

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.