Learn R Programming

⚠️There's a newer version (1.1.9.1) of this package.Take me there.

SpatioTemporal (version 1.1.7)

Spatio-Temporal Model Estimation

Description

Utilities that estimate, predict and cross-validate the spatio-temporal model developed for MESA Air.

Copy Link

Version

Install

install.packages('SpatioTemporal')

Monthly Downloads

92

Version

1.1.7

License

GPL-2

Maintainer

Last Published

August 12th, 2013

Functions in SpatioTemporal (1.1.7)

MCMC.STmodel

MCMC Inference of Parameters in the Spatio-Temporal Model
loglikeST

Compute the Log-likelihood for the Spatio-Temporal Model
makeSigmaB

Create Block Covariance Matrix (Equal Block Sizes)
blockMult

Multiplication of Block Diagonal Matrix and Vector
scatterPlot

Scatter plot
createCV

Define Cross-Validation Groups
calc.tFXF

Compute Quadratic Form Bewteen Temporal Trends and Sigma nu
coef.estCVSTmodel

Returns estimated parameters for each CV-group.
print.summary.mcmcSTmodel

Print details for summary.mcmcSTmodel object
crossDist

Computed the Euclidian Distance Matrix
summary.estCVSTmodel

Computes summary details for estCVSTmodel object
loglikeSTnames

Create Names for Log-likelihood Parameters for STmodel objects
createSTmodel

Construct STmodel Object
stCheckFields

Test if fields exist in an object.
detrendSTdata

Removes Temporal Trend from Observations in a STdata Object
stCheckCovars

Check a data.frame of Covariates
namesCovFuns

Available covariance functions
est.cv.mesa

Example of estCVSTmodel and predCVSTmodel structures
mesa.model

Example of a STmodel structure
plot.density.mcmcSTmodel

Plots for an density.mcmcSTmodel object
estimate.STmodel

Estimation of the Spatio-Temporal Model
makeSigmaNu

Create Block Covariance Matrix (Unequal Block Sizes)
updateTrend.STdata

Update Trend in STdata or STmodel Object
predictNaive

Naive Temporal Predictions
print.STmodel

Print details for STmodel object
processLocation

Internal Function that Extracts Locations
loglikeSTdim

Dimensions of the STmodel Structure
summary.predCVSTmodel

Computes summary details for predCVSTmodel object
summary.mcmcSTmodel

Computes summary details for mcmcSTmodel object
mesa.data.raw

Data used in the examples
loglikeSTgetPars

Extract Parameters from a Vector
convertCharToDate

Convert Character to Dates
pred.mesa.model

Example of a predictSTmodel structure
print.summary.STdata

Print details for summary.STdata object
dropObservations

Drop Observations from a STmodel
print.summary.STmodel

Print details for summary.STmodel object
SVDmiss

Missing Data SVD
createLUR

Add Covariate Fields to STdata Object.
norm2

Computes Inner Product and Squared 2-norm
SVDsmooth

Smooth Basis Functions for Data Matrix with Missing Values
createSTdata

Construct STdata Object
calc.tFX

Compute Matrix Product Bewteen Temporal Trends and a Matrix
make.sigma.B

Deprecated functions, use replacements!
makeCholBlock

Computations for Block Diagonal Matrices
plot.SVDcv

Plot and Boxplot cross-validation statistics for SVDcv object
loglikeSTGrad

Compute Gradient and Hessian for the Log-likelihood
plot.predCVSTmodel

Plots for predictSTmodel and predCVSTmodel Objects
qqnorm.predCVSTmodel

QQ-norm for STdata/STmodel/predCVSTmodel objects
simulate.STmodel

Simulate Data from the Spatio-Temporal Model
print.predictSTmodel

Print details for predictSTmodel object
evalCovFuns

Compute Covariance Function
summary.STdata

Computes summary details for STdata object
genGradient

Compute Finite Difference Gradient and Hessians.
print.summary.estCVSTmodel

Print details for summary.estCVSTmodel object
print.mcmcSTmodel

Print details for mcmcSTmodel object
stCheckSTcovars

Check an Array/List of Spatio-Temporal Covariates
sumLogDiag

Sum the Logarithm of (Diagonal) Elements
boxplot.estCVSTmodel

Boxplots for estCVSTmodel object
calc.mu.B

Matrix Multiplication with Block Matrices
calc.FXtF2

Compute Quadratic Form Bewteen Temporal Trends and Sigma B
c.STmodel

Combine Several STmodel/STdata Objects
calc.FX

Compute Matrix Product Bewteen Temporal Trends and a LUR components
estimateCV.STmodel

Cross-Validated Estimation and Prediction
plot.mcmcSTmodel

Plots for an mcmcSTmodel object
print.estimateSTmodel

Print details for estimateSTmodel object
stCheckClass

Test if an object belongs to given class(es).
coef.estimateSTmodel

Returns estimated parameters (and uncertaintes)
est.mesa.model

Examples of estimateSTmodel structure
parsCovFuns

Parameter Names for Covariance Function(s)
print.summary.predCVSTmodel

Print details for summary.predCVSTmodel object
computeLTA

Computes the Long Term Average for Each Sites.
print.STdata

Print details for STdata object
calcSmoothTrends

Smooth Basis Functions for a STdata Object
density.mcmcSTmodel

Kernel Density Estimation for an mcmcSTmodel Object
estimateBetaFields

Regression Estimates of beta-Fields
expandF

Expand F
scatterPlot.predCVSTmodel

scatterPlot for STdata/STmodel/predCVSTmodel objects
updateCovf

Update Covariance Functions in STmodel Objects
SpatioTemporal-package

Spatio-Temporal Modelling
MCMC.mesa.model

Example of a mcmcSTmodel structure
defaultList

Add Default Elements to Incomplete list
createDataMatrix

Create a Data Matrix
plot.STdata

Different Plots for STdata/STmodel object
print.estCVSTmodel

Print details for estCVSTmodel object
predict.STmodel

Computes Conditional Expectation at Unobserved Locations
processLUR

Internal Function that do Covariate Selection
print.SVDcv

Print details for SVDcv object
print.predCVSTmodel

Print details for predCVSTmodel object
stCheckObs

Check an obs data.frame.
removeSTcovarMean

Mean-Centre the Spatio-Temporal Covariate
summary.STmodel

Computes summary details for STmodel object