quantile-quantile plots
理论分位数和实际分位数的散点图
R语言自带qq图:
x <- rnorm(100);qqnorm(x);
y<- rchisq(100);qqnorm(y);
简单实现:
my.qqnorm <- function(y){
plot(sapply(y, function(i) length(y[y<i])/length(y)), pnorm(y))
}
x <- rnorm(100);my.qqnorm(x);
y<- rchisq(100);my.qqnorm(y);