aiStaFit | R Documentation |
Estimate a static AIDS model for a system.
aiStaFit(y, share, price, expen, shift = NULL, omit = NULL,
hom = TRUE, sym = TRUE, AR1 = FALSE, rho.sel = c("all", "mean"), ...)
y |
a multiple time series data. |
share |
names of the share variables. |
price |
names of the price variables. |
expen |
name of the expenditure variables. |
shift |
names of the shifter variables. |
omit |
name of the share variable omitted; if not supplied, this is the last one of |
hom |
a logical value of homogeneity test. |
sym |
a logical value of symmetry test. |
AR1 |
whether first-degree autocorrelation should be corrected. |
rho.sel |
if |
... |
additional arguments to be passed. |
This estimates a static AIDS model. The data supplied should be in the final format. Autocorrelation in the residuals can be corrected following the treatment in Berndt (1975).
Return a list object of class "aiFit" and "aiStaFit" with the following components:
y |
data for fitting the static AIDS model. |
share |
names of the share variables. |
price |
names of the price variables. |
expen |
name of the expenditure variables. |
shift |
names of the shifter variables. |
omit |
name of the share variable omitted; if not supplied, this is the last one of |
nOmit |
position of the omitted share variable in the name of share variable. |
hom |
a logical value of homogeneity test. |
sym |
a logical value of symmetry test. |
nShare |
number of share variables. |
nExoge |
number of exogenous variables (lagged share, residual, expenditure, and shifters). |
nParam |
number of parameters in one equation. |
nTotal |
number of parameters in the whole system estimated. |
formula |
formula for estimating the system. |
res.matrix |
restriction matrix for |
res.rhs |
right-hand values for tests of |
est |
the static AIDS model estimated. |
AR1 |
a logical value whether autocorrelation is corrected. |
call |
a record of the system call; this allows |
One method is defined as follows. This is the print method related to three functions: aiStaFit
, aiDynFit
, and aiStaHau
.
print
:print the first several observations of selectec outputs.
Changyou Sun (edwinsun258@gmail.com)
Berndt, E.R., and N.E. Savin. 1975. Estimation and hypothesis testing in singular equation systems with autoregressive disturbances. Econometrica 43(5/6):937-957.
Wan, Y., C. Sun, and D.L. Grebner. 2010. Analysis of import demand for wooden beds in the United States. Journal of Agricultural and Applied Economics 42(4):643-658.
aiDiag
; aiElas
; summary.aiFit
; aiDynFit
; aiStaHau
; systemfitAR
.
# see the examples for 'aiDynFit'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.