This function estimates the parameters of the Singh--Maddala (Burr Type XII) distribution given the L-moments of the data in an L-moment object such as that returned by lmoms
. The L-moments in terms of the parameters are complicated and solved numerically. Extensive study of the computational limits of the R implementation are incorporated within the source code of the function. The file lmomco/inst/doc/domain_of_smd.R
contains the algorithmic sweep used to compute the L-skew and L-kurtosis attainable domain of the distribution.
parsmd(lmom, checklmom=TRUE, checkbounds=TRUE, snap.tau4=TRUE, ...)
An R
list
is returned.
The type of distribution: smd
.
The parameters of the distribution.
The last or final iteration of the parameters that are the same as para
if ifail
is zero. This provides a way to preserve where the parameter left off or gave up.
The source of the parameters: “parsmd”.
The number of iteration attempts looping on the optim()
call.
The output of the optim()
call.
A message from parsmd
, which generally involves checkbounds=TRUE
and snap.tau4=TRUE
on the resetting or snapping of the \(\tau_3\) and \(\tau_4\) to the computational bounds for the distribution.
A interger flag to status of the operations: -1 means that the L-moments are invalid (if they are checked), 0 means that the parameter estimation appears successful, and 1 means that the parameter estimation appears to have failed.
An L-moment object created by lmoms
or vec2lmom
.
Should the lmom
be checked for validity using the are.lmom.valid
function. Normally this should be left as the default and it is very unlikely that the L-moments will not be viable (particularly in the \(\tau_3\) and \(\tau_4\) inequality,
are.lmom.valid
). However, for some circumstances or large simulation exercises then one might want to bypass this check.
Should the lower bounds of \(\tau_4\) be verified and if sample \(\hat\tau_3\) and \(\hat\tau_4\) are outside of these bounds, then NA
are returned for the solutions.
A logical to trigger the application of the empirical limits of the distribution in terms of \(\tau_3\) and \(\tau_4\) wherein parameter estimation appears numerically possible and such parameters return the given values of these L-moment ratios. The lower and upper limits of \(\tau_4\) are defined by separate polynomials as functions of \(\tau_3\). If the logical is true, then \(\tau_4\) in excess of the upper bounds are assigned to the upper bounds and \(\tau_4\) in deficit of the lower bounds are assigned to the lower bounds. Messages within the returned parameter object are provided if the snapping occurs.
Other arguments to pass.
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, tools:::Rd_expr_doi("10.14419/ijasp.v1i3.1206").
lmomsmd
, cdfsmd
, pdfsmd
, quasmd
lmr <- lmoms(rnorm(20))
parsmd(lmr, snap.tau4=TRUE)
Run the code above in your browser using DataLab