`qqPlot`

creates a QQ plot of the values in x including a line which passes through the first and third quartiles.

1 2 |

`x` |
the sample for qqPlot |

`y` |
character string specifying the distribution of x. The function -
“beta” -
“cauchy” -
“chi-squared” -
“exponential” -
“f” -
“gamma” -
“geometric” -
“log-normal” -
“lognormal” -
“logistic” -
“negative binomial” -
“normal” -
“Poisson” -
“t” -
“weibull”
By default |

`confbounds` |
boolean value: ‘TRUE’ if confidence bounds should be drawn (default value). |

`alpha` |
significance level for the confidence bounds, set on ‘0.05’ by default. |

`main` |
an overall title for the plot: see |

`xlab` |
a title for the x axis: |

`ylab` |
a title for the y axis: |

`xlim` |
vector giving the range of the x-axis. |

`ylim` |
vector giving the range of the y-axis. |

`border` |
numerical value or single character string giving the color of interpolation line. |

`bounds.col` |
numerical value or single character string giving the color of confidence bounds lines. |

`bounds.lty` |
numerical value giving the color of confidence bounds lines. |

`start` |
A named list giving the parameters to be fitted with initial values. Must be supplied for some distribution: (see Details). |

`...` |
further graphical parameters: (see |

Distribution fitting is deligated to function `fitdistr`

of the R-package MASS.

For computation of the confidence bounds the variance of the quantiles is estimated using the delta method,

which implies estimation of observed Fisher Information matrix as well as the gradient of the CDF of the fitted distribution.

Where possible, those values are replaced by their normal approximation.

a list containing the x and y quantiles

`x` |
sample quantiles |

`y` |
theoretical quantiles |

For an example in context which shows the usage of the function `qqPlot()`

please read the vignette for the package `qualityTools`

at http://www.r-qualitytools.org/html/Analyze.html.

Thomas Roth thomas.roth@tu-berlin.de

`ppPlot`

`fitdistr`

in R-package MASS

http://www.r-qualitytools.org/html/Analyze.html

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
#set up the plotting window for 6 plots
par(mfrow = c(3,2))
#generate random data from weibull distribution
x = rweibull(20, 8, 2)
#Quantile-Quantile Plot for different distributions
qqPlot(x, "log-normal")
qqPlot(x, "normal")
qqPlot(x, "exponential", DB = TRUE)
qqPlot(x, "cauchy")
qqPlot(x, "weibull")
qqPlot(x, "logistic")
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.