make_splm | R Documentation |
Make spatial linear model object using estimated covariance parameters from
optim()
.
make_splm(params, X, y, cov_type, dist_mtx = NULL, m2loglike = NULL,
est_meth = NULL, hessian = NULL, dist_K = NULL, dist_S = NULL,
knot_coord = NULL, optim_out = NULL)
params |
Numeric vector of fitted covariance parameter values (nugget, partial sill, and range, in that order). |
X |
Design matrix. Must include column of 1's for intercept. |
y |
Numeric response vector. |
cov_type |
character. Type of covariance model: |
dist_mtx |
Distance matrix used to compute covariance matrix. |
m2loglike |
Minus 2 times the log-likelihood (from |
est_meth |
character. Estimation method used for |
hessian |
Hessian matrix from |
dist_K |
Distance matrix for knot locations. |
dist_S |
Distance matric between data locations and knots ( |
knot_coord |
data frame or matrix. Coordinates of knots used for reduced rank method. Optional to include (coordinates are just saved in 'splm' object for later reference). |
optim_out |
list output from |
List of class splm
containg features of fitted spatial linear
model (e.g., covariance matrix, predictor coefficients, ...).
Eric W. Fox
m2LL
, optim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.