getQuantilesParams: A function to extract the quantiles and parameters

Description Usage Arguments Details Value References Examples

Description

This extracts the quantiles and parameters.

Usage

1
2
3
getQuantilesParams(fit.i, qFunc = qLOGNO, quantiles = seq(0.006, 
0.996, length.out = 1000), linksq = c(identity, exp, NULL, 
NULL), freeParams, fixedParams)

Arguments

fit.i

a (non-empty) object of class gamlss, which is the fitted distribution.

qFunc

a (non-empty) quantile generating function from gamlss.

quantiles

an optional numeric vector of the desired quantiles.

linksq

a (non-empty) vector is link functions.

freeParams

a (non-empty) logical vector inidicating whether parameters are fixed == FALSE or free == TRUE.

fixedParams

a (non-empty) numeric vector of fixed parameter values.

Details

Extracts the quantile and parameter estimates.

Value

Returns a list with: samps = the quantiles extracted at the locations specified in quantiles and params = the parameter values of the fitted model.

References

FIXME - references

Examples

1
#not run, this function is used internally

Example output

Loading required package: gamlss
Loading required package: splines
Loading required package: gamlss.data
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
 **********   GAMLSS Version 5.0-2  ********** 
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.

Loading required package: gamlss.cens
Loading required package: survival

binequality documentation built on May 2, 2019, 9:58 a.m.