are.parsmd.valid | R Documentation |
Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdfsmd
, pdfsmd
, quasmd
, and lmomsmd
) require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the are.parsmd.valid
function. The parameter constraints are simple a > 0
(scale), b > 0
(shape), and q > 0
(shape).
are.parsmd.valid(para, nowarn=FALSE)
para |
A distribution parameter list returned by |
nowarn |
A logical switch on warning suppression. If |
TRUE |
If the parameters are |
FALSE |
If the parameters are not |
This function calls is.smd
to verify consistency between
the distribution parameter object and the intent of the user.
W.H. Asquith
Shahzad, M.N., and Zahid, A., 2013, Parameter estimation of Singh Maddala distribution by moments: International Journal of Advanced Statistics and Probability, v. 1, no. 3, pp. 121–131, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.14419/ijasp.v1i3.1206")}.
is.smd
, parsmd
#para <- parsmd(lmoms(c(123, 34, 4, 654, 37, 78)))
#if(are.parsmd.valid(para)) Q <- quasmd(0.5, para)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.