Description Usage Arguments Value References See Also Examples
This function generate diagnostic measures plots for the fitted geographically weighted elliptical regression models.
1 2 3 4 5 6 7 8 9 10 |
object |
an object with the result of the fitted geographically weighted elliptical regression models. |
gwerdiag |
object list containing the diagnostic measures. By default it is obtained from the object, but can be calculated using |
which |
an optional numeric value with the number of only plot that must be returned. |
subset |
an optional numeric vector specifying a subset of observations to be used in the fitting process. |
iden |
a logical value used to identify observations. If |
labels |
a optional string vector specifying a labels plots. |
ret |
a logical value used to return the diagnostic measures computing. If |
... |
graphics parameters to be passed to the plotting routines. |
Return an interactive menu with eleven options to make plots. This menu contains the follows graphics: 1: plot: All. 2: plot: Response residual against fitted values. 3: plot: Response residual against index. 4: plot: Standardized residual against fitted values. 5: plot: Standardized residual against index. 6: plot: QQ-plot of response residuals. 7: plot: QQ-plot of standardized residuals. 8: plot: Generalized leverage. 9: plot: Total local influence index plot for response perturbation. 10: plot: Total local influence index plot scale perturbation. 11: plot: Total local influence index plot case-weight perturbation.
Galea, M., Paula, G. A., and Cysneiros, F. J. A. (2005). On diagnostics in symmetrical nonlinear models. Statistics & Probability Letters, 73(4), 459-467. doi: 10.1016/j.spl.2005.04.033
1 2 3 4 5 6 7 | 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")
gwer.diag.plots(gwer.fit.t, which=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.