Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fun.minmax.check.gld

Check whether the specified GLDs cover the minimum and the maximum values in a dataset


Description

This function checks the lowest and highest quantiles of the specified GLDs against the specified dataset

Usage

fun.minmax.check.gld(data, lambdas, param, lessequalmin = 1, 
greaterequalmax = 1)

Arguments

data

A vector of numerical dataset

lambdas

A matrix of four columns representing lambda 1 to lambda 4 of the GLD

param

Can be "rs", "fkml" or "fmkl"

lessequalmin

Can be 0 or 1

greaterequalmax

Can be 0 or 1

Details

lessequalmin==1 means the lowest value of GLD <= minimum value of data lessequalmin==0 means the lowest value of GLD < minimum value of data greaterequalmin==1 means the highest value of GLD >= maximum value of data greaterequalmin==0 means the highest value of GLD > maximum value of data

Value

A vector of logical values indicating whether the specified data the specified GLDs cover the minimum and the maximum values in a dataset

Author(s)

Steve Su

Examples

fun.minmax.check.gld(runif(100,.9,1),matrix(1:12,ncol=4),param="rs",0,0)
fun.minmax.check.gld(runif(100,.98,1),matrix(1:12,ncol=4),param="fkml",1,1)

GLDEX

Fitting Single and Mixture of Generalised Lambda Distributions (RS and FMKL) using Various Methods

v2.0.0.7
GPL (>= 3)
Authors
Steve Su, with contributions from: Diethelm Wuertz, Martin Maechler and Rmetrics core team members for low discrepancy algorithm, Juha Karvanen for L moments codes, Robert King for gld C codes and starship codes, Benjamin Dean for corrections and input in ks.gof code and R core team for histsu function.
Initial release
2020-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.