qqDiagnosis: QQ-plot diagnosis and outlier detection from standardized...

View source: R/QQplot.R

qqDiagnosisR Documentation

QQ-plot diagnosis and outlier detection from standardized residuals

Description

QQ-plot diagnosis and outlier detection from standardized residuals

Usage

qqDiagnosis(
  std.residuals,
  outlier.quantile = 0.1/length(std.residuals),
  plot.it = T
)

Arguments

std.residuals

A vector of standardized residuals, can be the output element std.resid from function grappleRobustEst

outlier.quantile

The quantile threshold for outliers.

plot.it

Whether show the QQ-plot or not if diagnosis if performed. Default is TRUE.

Value

A list with two elements

p

The QQ plot

outliers

The data frame for the detected outliers


jingshuw/GRAPPLE documentation built on March 28, 2024, 7:34 a.m.