Learn R Programming

Dowd (version 0.12)

NormalQQPlot: Normal Quantile Quantile Plot

Description

Produces an emperical QQ-Plot of the quantiles of the data set 'Ra' versus the quantiles of a normal distribution. The purpose of the quantile-quantile plot is to determine whether the sample in 'Ra' is drawn from a normal (i.e., Gaussian) distribution.

Usage

NormalQQPlot(Ra)

Arguments

Ra
Vector data set

References

Dowd, K. Measuring Market Risk, Wiley, 2007.

Examples

Run this code
# Normal QQ Plot for randomly generated standard normal data
   Ra <- rnorm(100)
   NormalQQPlot(Ra)

Run the code above in your browser using DataLab