pred.mesa.model: Example of a 'predictSTmodel' structure

Description Format Source References See Also Examples

Description

Example of a predictions for the model in mesa.model using predict.STmodel. Two sets of predictions are presented, pred.mesa.model and pred.mesa.model.obs.

Format

A list with elements, see the return description in predict.STmodel.

Source

Contains parametere estimates for the Spatio-Temporal model applied to monitoring data from the MESA Air project, see Cohen et.al. (2009) and mesa.data.raw for details.

References

M. A. Cohen, S. D. Adar, R. W. Allen, E. Avol, C. L. Curl, T. Gould, D. Hardie, A. Ho, P. Kinney, T. V. Larson, P. D. Sampson, L. Sheppard, K. D. Stukovsky, S. S. Swan, L. S. Liu, J. D. Kaufman. (2009) Approach to Estimating Participant Pollutant Exposures in the Multi-Ethnic Study of Atherosclerosis and Air Pollution (MESA Air). Environmental Science & Technology: 43(13), 4687-4693.

See Also

predict.STmodel for prediction.
createSTmodel for creation of the originating STmodel object.

Other example data: MCMC.mesa.model, est.cv.mesa, est.mesa.model, mesa.data.raw, mesa.model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
##load data
data(mesa.model)
data(est.mesa.model)

##find regression parameters using GLS
x.reg <- predict(mesa.model, est.mesa.model, only.pars = TRUE)
str(x.reg$pars)

## Not run: 
  ##compute predictions at all locations, including beta-fields
  pred.mesa.model <- predict(mesa.model, est.mesa.model,
                             pred.var=TRUE)

## End(Not run)
##Let's load precomputed results instead.
data(pred.mesa.model)

##study results
print(pred.mesa.model)

SpatioTemporal documentation built on May 2, 2019, 8:49 a.m.