| plot.PLreg | R Documentation |
This function provides plots for diagnostic analysis of power logit regression models.
## S3 method for class 'PLreg' plot(x, which = 1:4, type = "standardized", pch = "+", las = 1, cex = 0.8, ...)
x |
fitted model object of class " |
which |
numeric specifying a subset of plots (numbers between 1 and 7).
Default is |
type |
character specifying the type of residuals,
see |
pch, las, cex, ... |
graphical parameters (see |
The plot method for PLreg objects provides 7 types
of diagnostic plots in the following order.
An index plot of the residuals versus indexes of observations.
An index plot of local influence based on the case-weight perturbation scheme.
A dispersion diagram of the generalized leverage versus the predicted values.
A dispersion diagram of the residuals versus the linear predictors.
A normal probability plot of the residuals.
A dispersion diagram of the predicted values versus the observed values.
A dispersion diagram of the v(z) function
versus the residuals. For some power logit models, the v(z) function
may be interpreted as weights in the estimation process. If family = "NO",
the v(z) function is constant.
The which argument can be used to select a subset of the implemented plots.
Default is which = 1:4.
plot method for PLreg objects returns 7 types
of diagnostic plots.
PLreg, residuals.PLreg, envelope, influence
data("Firm")
fitPL <- PLreg(firmcost ~ sizelog + indcost | sizelog + indcost, data = Firm,
family = "SLASH", zeta = 2.13)
par(mfrow = c(3,3))
plot(fitPL, type = "standardized")
par(mfrow = c(1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.