Description Usage Arguments Value See Also Examples
View source: R/influence.2sls.R
Methods for computing deletion diagnostics for 2SLS regression.
It's generally more efficient to compute the diagnostics via the influence
method and then to extract the various specific diagnostics with the methods for
"influence.2sls"
objects. Other diagnostics for linear models, such as
added-variable plots (avPlots
) and component-plus-residual
plots (crPlots
), also work, as do effect plots
(e.g., predictorEffects
) with residuals (see the examples below).
The pointwise confidence envelope for the qqPlot
methods assumes an independent random sample
from the t distribution with degrees of freedom equal to the residual degrees of
freedom for the model and so are approximate, because the studentized residuals aren't
independent.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | ## S3 method for class '2sls'
influence(model, sigma. = n <= 1000, type = c("stage2",
"both"), ...)
## S3 method for class '2sls'
rstudent(model, ...)
## S3 method for class '2sls'
cooks.distance(model, ...)
## S3 method for class 'influence.2sls'
dfbeta(model, ...)
## S3 method for class '2sls'
dfbeta(model, ...)
## S3 method for class '2sls'
hatvalues(model, type = c("stage2", "both", "maximum"),
...)
## S3 method for class 'influence.2sls'
rstudent(model, ...)
## S3 method for class 'influence.2sls'
hatvalues(model, ...)
## S3 method for class 'influence.2sls'
cooks.distance(model, ...)
## S3 method for class '2sls'
qqPlot(x, ylab = paste("Studentized Residuals(",
deparse(substitute(x)), ")", sep = ""), distribution = c("t", "norm"),
...)
## S3 method for class 'influence.2sls'
qqPlot(x, ylab = paste("Studentized Residuals(",
deparse(substitute(x)), ")", sep = ""), distribution = c("t", "norm"),
...)
## S3 method for class '2sls'
influencePlot(model, ...)
## S3 method for class 'influence.2sls'
influencePlot(model, ...)
## S3 method for class '2sls'
infIndexPlot(model, ...)
## S3 method for class 'influence.2sls'
infIndexPlot(model, ...)
## S3 method for class 'influence.2sls'
model.matrix(object, ...)
|
model |
A |
sigma. |
If |
type |
If |
... |
arguments to be passed down. |
x |
A |
ylab |
The vertical axis label. |
distribution |
|
object |
An |
In the case of influence.2sls
, an object of class "influence.2sls"
with the following components:
coefficients
the estimated regression coefficients
model
the model matrix
dfbeta
influence on coefficients
sigma
deleted values of the residual standard deviation
dffits
overall influence on the regression coefficients
cookd
Cook's distances
hatvalues
hatvalues
rstudent
Studentized residuals
df.residual
residual degrees of freedom
In the case of other methods, such as rstudent.2sls
or
rstudent.influence.2sls
, the corresponding diagnostic statistics.
lm2sls
, 2SLS_Methods, avPlots
,
crPlots
, predictorEffects
,
qqPlot
, influencePlot
,
infIndexPlot
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.