Learn R Programming

gwer (version 3.0)

gwer.envelope: Simulated Envelope of Residuals for Geographically Weighted Elliptical Regression Models

Description

This function produces quantile-quantile residuals plot with simulated envelope for the specified error distribution in geographically weighted elliptical regression Models.

Usage

gwer.envelope(
  object,
  B = 100,
  arg,
  xlab = NULL,
  ylab = NULL,
  ident = NULL,
  ident.labels = NULL,
  ...
)

Arguments

object

an object with the result of the fitted geographically weighted elliptical regression Models.

B

number of Monte Carlo simulations.

arg

a numerical or vector representing the distribution parameters used in fitted model.

xlab

a label for the x axis, defaults to a description of x.

ylab

a label for the y axis, defaults to a description of y.

ident

a numerical indicate the number of observation identified in plot.

ident.labels

an optional character vector giving labels for the identified points.

...

arguments to be used to form the default control argument if it is not supplied directly.

References

Galea, M., Paula, G. A., and Cysneiros, F. J. A. (2005). On diagnostics in symmetrical nonlinear models. Statistics & Probability Letters, 73(4), 459-467. 10.1016/j.spl.2005.04.033

See Also

glm, elliptical, family.elliptical

Examples

Run this code
# NOT RUN {
data(georgia, package = "spgwr")
fit.formula <- PctBach ~ TotPop90 + PctRural + PctFB + PctPov
gwer.bw.t <- bw.gwer(fit.formula, data = gSRDF, family = Student(3), adapt = TRUE)
gwer.fit.t <- gwer(fit.formula, data = gSRDF, family = Student(3), bandwidth = gwer.bw.t, 
                   adapt = TRUE, parplot = FALSE, hatmatrix = TRUE, spdisp = TRUE, 
                   method = "gwer.fit")
# }

Run the code above in your browser using DataLab