QQ plot for GLD

Share:

Description

This is an updated QQ plot function for GLD comparing fitted distribution with empirical data

Usage

1
2
3
qqgld.default(y, vals, param, ylim, main = "GLD Q-Q Plot", 
xlab = "Theoretical Quantiles", ylab = "Sample Quantiles", 
plot.it = TRUE, datax = FALSE, ...)

Arguments

y

A vector of empirical data observations

vals

A vector representing four parameters of GLD

param

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

ylim

A vector of two numerical values, specifying the upper and lower bound of y axis

main

Title of the qq plot

xlab

Label for X axis

ylab

Label for Y axis

plot.it

Whether to plot the QQ plot, default is TRUE

datax

Whether data values should be on x axis, default is FALSE

...

Additional graphical parameters

Details

This is an adaptation of the default qq plot in R

Value

A list with components:

x

The x coordinates of the points that were/would be plotted

y

The original y vector, i.e., the corresponding y coordinates including NAs.

Author(s)

R, with modifications from Steve Su

See Also

qqplot.gld, qqplot.gld.bi

Examples

1
2
3
x<-rnorm(100)
fit1<-fun.RMFMKL.ml.m(x)
qqgld.default(x,fit1,param="fmkl")