This is the superclass for PrestoGP models. All other types of PrestoGP
model classes (e.g. VecchiaModel-class and
FullModel-class are inherited from this class. Normally
users should not create objects of this class. Instead, they should use
the appropriate inherited class for the type of model they are fitting.
Slots
covparamsA numeric vector containing the parameters for the Matern model.
logparamsA numeric vector containing the transformed versions of the Matern parameters (used internally for likelihood calculations).
betaA column matrix containing the regression coefficients.
vecchia_approxThe output of the Vecchia specify function. See
vecchia_specifyandvecchia_Mspecify.X_trainA matrix containing the original predictors. This will be a "super matrix" for multivariate models. See
superMatrix.Y_trainA column matrix containing the original response values. After fitting the model, missing values will be replaced with the imputed values if impute.y is TRUE. See
link{prestogp_fit}.X_ndxA vector used to find the elements of beta corresponding to specific outcomes. The ith element of X_ndx is the index of the last element of beta corresponding to predictors for outcome i.
Y_barA vector containing the means of each outcome.
Y_obsA logical vector used to track which values of Y are non-missing.
X_tildeThe matrix of transformed predictors.
y_tildeThe column matrix containing the transformed response values.
resA numeric vector of the residuals.
locs_trainA list containing the location coordinates. Each element of the list corresponds to a different outcome. (The list will have length 1 for univariate models.)
penaltyThe type of penalized regression used. Should be one of "lasso", "relaxed", "MCP", or "SCAD".
linear_modelThe glmnet or ncvreg model. See
glmnet,ncvreg,cv.glmnet, andcv.ncvreg.convergedDid the model fitting process converge (boolean)?
LL_Vecchia_krigThe value of the negative log likelihood function after optimization.
errorPenalized model error. See References for details.
n_neighborsNumber of neighbors to condition on for the Vecchia approximation. Ignored for full models.
min_mMinimum permissible number of neighbors.
alphascalingThe indices of the scale parameters. See
link{prestogp_fit}.nscaleThe number of scale parameters in the model.
common_scaleDo all columns of locs have the same scale parameter?
param_sequenceRecords the indices of the various Matern parameters. See
create_param_sequence.
References
Apanasovich, T.V., Genton, M.G. and Sun, Y. "A valid Matérn class of cross-covariance functions for multivariate random fields with any number of components", Journal of the American Statistical Association (2012) 107(497):180-193.
Messier, K.P. and Katzfuss, M. "Scalable penalized spatiotemporal land-use regression for ground-level nitrogen dioxide", The Annals of Applied Statistics (2021) 15(2):688-710.
