plot.lmp: Diagnostic plots for a lmp object

Description Usage Arguments Details Author(s) Examples

View source: R/plot.lmp.R

Description

This function produces four plots: a plot of residuals against fitted value, a Normal Q-Q plot, an Exponential Power Distribution Q-Q plot, a Scale-Location plot, with a p-root of the standardized residuals against the fitted values.

Usage

1
2
## S3 method for class 'lmp'
plot(x, ...)

Arguments

x

A lmp object, typically result of lmp.

...

Further arguments passed to or from other methods.

Details

The standardized residuals in the Normal Q-Q plot are those of an object lm; in the Exponential Power distribution Q-Q plot and in the scale location plot the standardized residuals are computed as (residuals-mp)/sp.

Author(s)

Angelo M. Mineo

Examples

1
2
3
4
5
6
x<-1:20
z<-runif(20)
e<-rnormp(20,mu=0,sigmap=1,p=3)
y<-0.5+x+z+e
lmp.res<-lmp(y~x+z)
plot(lmp.res)

Example output



normalp documentation built on Feb. 14, 2020, 5:08 p.m.