Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 733 Bytes

stat_qq.md

File metadata and controls

29 lines (22 loc) · 733 Bytes

title: qq author: Dave Kleinschmidt part: Statistic order: 1001 ...

Generates quantile-quantile plots for x and y. If each is a numeric vector, their sample quantiles will be compared. If one is a Distribution, then its theoretical quantiles will be compared with the sample quantiles of the other.

Aesthetics

  • x: Data or Distribution to be plotted on the x-axis.
  • y: Data or Distribution to be plotted on the y-axis.

Examples

using Gadfly, Distributions

Gadfly.set_default_plot_size(14cm, 8cm)
srand(1234)
plot(x=rand(Normal(), 100), y=rand(Normal(), 100), Stat.qq, Geom.point)
plot(x=rand(Normal(), 100), y=Normal(), Stat.qq, Geom.point)