Description Usage Arguments Details Author(s) References Examples
Estimates the stability of a given model across a set of user-specified regimes.
1 2 3 4 5 6 7 8 9 |
restrict |
|
group |
RHS formula depicting only the factor variable used to identify regimes (i.e. no dependent variable needed). |
data |
model data frame. |
var_int |
a logical value indicating whether or not to include
group-specific intercepts in the restricted model. Default is |
lw_lst |
a list of |
error |
a logical value indicating type of spatial regime model to use
when |
... |
additional arguments to be passed to the model-fitting routine. |
regime
compares the fit of a restricted or global model in which a
given set of coefficients are treated as fixed to the fit of an unrestricted
or local model in which the coefficients in question are allowed to vary
across a set of user-specified regimes. Regime models are specified using
two formulas, the first of which depicts the global model, the second of
which depicts the variable used to specify regimes. Spatial regime models
are estimated using the errorsarlm
and lagsarlm
routines
available as part of the spreg package. The resulting test is
ultimately carried out using the anova
command which, in the case
of non-spatial regime models, results in the standard F-test. In contrast,
the use of the anova
command in the context of likelihood-based
models such as errorsarlm
and lagsarlm
results in a
likelihood ratio test. The null model can be adjusted to allow for
regime-specific intercepts.
Adam Slez aslez@virginia.edu
Anselin, L. 1988. Spatial Econometrics: Methods and Models. Durdrecht: Kluwer Academic Publishers, pp. 123-124.
Chow, G. 1960. "Tests of Equality Between Sets of Coefficients in Two Linear Regressions." Econometrica 28:591-605.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.