plot.SLRMss {SLRMss}R Documentation

Diagnostic plots for SLRMss objects

Description

This function provides four plot for residual analysis. The first plot shows the standardized residuals against the fitted values. The second one shows the standardized residuals against by their index. The third one presents QQ-normal plot of them and the last one shows their density estimate.

Usage

## S3 method for class 'SLRMss'
plot(
  x,
  H0 = FALSE,
  xlab = c("Fitted Values", "Index", "Theoretical Quantiles", "Standardized Residuals"),
  ylab = c("Standardized Residuals", "Standardized Residuals", "Standardized Residuals",
    "Density"),
  main = c("Residuals Against Fitted Values", " Residuals Against Index",
    "Normal Q-Q Plot", "Density Estimate"),
  ...
)

Arguments

x

An object of class SLRMss.

H0

If TRUE, plot the graphics under null hypothesis, if FALSE, plot the graphics under alternative hypothesis (default).

xlab

A vector containing the four x-axis titles.

ylab

A vector containing the four y-axis titles.

main

A vector containing the four main plot titles.

...

Currently ignored.

Value

Four diagnostic plots extracted from a SLRMss object.

Examples

data(orange)
fit <- SLRMss(emulsion ~ arabicgum + xanthangum + orangeoil, family="Student",
xi=3, testingbeta="xanthangum", statistic="LR", data=orange)
plot(fit)

[Package SLRMss version 1.0.0 Index]