Description Usage Arguments Value
This function fits a spatiotemporal autoregressive (STAR) model with exogenous variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
A list of five containing the data to fit model. |
Lambda |
A matrix of tuning parameters of the smoothness penalty. |
V |
The |
Tri |
The triangulation matrix of dimension |
d |
The degree of piecewise polynomials – default is 2,
and usually |
r |
The smoothness parameter – default is 1, and 0 ≤ |
time.knots |
The vector of interior time.knots for univariate spline. |
rho |
The order of univariate spline. |
time.bound |
The vector of two. The boundary of univariate spline. |
intercept |
A logical number indicating whether to include intercept term
in the model – default is |
det.func |
A function used to calculate determinate of a matrix –
default is |
return.se |
A logical number indicating whether to calculate standard deviation of the linear estimators. |
Weight.type |
The type of weight matrix. " |
n.Z |
number of linear coefficients. |
n.X |
number of varying coefficient functions. |
best.lambda |
the selected smoothing tuning parameters. |
theta.hat |
Estimated coefficents. |
alpha.hat |
Estimated alpha in STAR. |
gamma.hat |
Estimated tensor spline coefficients. |
beta.hat |
Estimated tensor spline coefficients with matrix Q_2. |
se.eta |
Standard deviation of α, σ^2 and linear coefficients. |
Y.hat |
Estimated response variable. |
mse |
Estimated σ^2. |
mle |
MLE of fitted model. |
MSE.Y |
Mean squared error of response variable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.