Learn R Programming

GLDreg (version 1.1.2)

qqgld.default: QQ plot for GLD

Description

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

Usage

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

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.

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

Author

R, with modifications from Steve Su

Details

This is an adaptation of the default qq plot in R

See Also

qqplot.gld, qqplot.gld.bi

Examples

Run this code
x<-rnorm(100)
fit1<-fun.RMFMKL.ml.m(x)
qqgld.default(x,fit1,param="fmkl")

Run the code above in your browser using DataLab