Learn R Programming

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

PrevMap (version 1.4)

Geostatistical Modelling of Spatially Referenced Prevalence Data

Description

It provides functions for both likelihood-based and Bayesian analysis of spatially referenced prevalence data, and is also an extension of the 'geoR' package.

Copy Link

Version

Install

install.packages('PrevMap')

Monthly Downloads

334

Version

1.4

License

GPL (>= 2)

Maintainer

Emanuele Giorgi

Last Published

October 17th, 2016

Functions in PrevMap (1.4)

autocor.plot

Plot of the autocorrelgram for posterior samples
coef.PrevMap.ps

Extract model coefficients from geostatistical linear model with preferentially sampled locations
control.mcmc.MCML

Control settings for the MCMC algorithm used for classical inference on a binomial logistic model
contour.pred.PrevMap

Contour plot of a predicted surface
coef.PrevMap

Extract model coefficients
control.profile

Auxliary function for controlling profile log-likelihood in the linear Gaussian model
control.mcmc.Bayes.SPDE

Control settings for the MCMC algorithm used for Bayesian inference using SPDE
continuous.sample

Spatially continuous sampling
control.mcmc.Bayes

Control settings for the MCMC algorithm used for Bayesian inference
control.prior

Priors specification
create.ID.coords

ID spatial coordinates
plot.pred.PrevMap

Plot of a predicted surface
loglik.linear.model

Profile log-likelihood or fixed parameters likelihood evaluation for the covariance parameters in the geostatistical linear model
loaloa

Loa loa prevalence data from 197 village surveys
loglik.ci

Profile likelihood confidence intervals
data_sim

Simulated binomial data-set over the unit square
discrete.sample

Spatially discrete sampling
dens.plot

Density plot for posterior samples
galicia.boundary

Boundary of Galicia
galicia

Heavy metal biomonitoring in Galicia
plot.pred.PrevMap.ps

Plot of a predicted surface of geostatistical linear fits with preferentially sampled locations
set.par.ps

Define the model coefficients of a geostatistical linear model with preferentially sampled locations
plot.shape.matern

Plot of the profile likelihood for the shape parameter of the Matern covariance function
plot.profile.PrevMap

Plot of the profile log-likelihood for the covariance parameters of the Matern function
spatial.pred.linear.Bayes

Bayesian spatial predictions for the geostatistical Linear Gaussian model
spatial.pred.linear.MLE

Spatial predictions for the geostatistical Linear Gaussian model using plug-in of ML estimates
spatial.pred.binomial.Bayes

Bayesian spatial prediction for the binomial logistic and binary probit models
spatial.pred.binomial.MCML

Spatial predictions for the binomial logistic model using plug-in of MCML estimates
spatial.pred.lm.ps

Spatial predictions for the geostatistical Linear Gaussian model using plug-in of ML estimates
shape.matern

Profile likelihood for the shape parameter of the Matern covariance function
trace.plot

Trace-plots for posterior samples
summary.PrevMap

Summarizing likelihood-based model fits
trace.plot.MCML

Trace-plots of the importance sampling distribution samples from the MCML method
spatial.pred.poisson.MCML

Spatial predictions for the Poisson model with log link function, using plug-in of MCML estimates
summary.PrevMap.ps

Summarizing fits of geostatistical linear models with preferentially sampled locations
summary.Bayes.PrevMap

Summarizing Bayesian model fits
Laplace.sampling

Langevin-Hastings MCMC for conditional simulation
Laplace.sampling.SPDE

Independence sampler for conditional simulation of a Gaussian process using SPDE
binary.probit.Bayes

Bayesian estimation for the two-levels binary probit model
Laplace.sampling.lr

Langevin-Hastings MCMC for conditional simulation (low-rank approximation)
adjust.sigma2

Adjustment factor for the variance of the convolution of Gaussian noise
binomial.logistic.Bayes

Bayesian estimation for the binomial logistic model
binomial.logistic.MCML

Monte Carlo Maximum Likelihood estimation for the binomial logistic model
linear.model.MLE

Maximum Likelihood estimation for the geostatistical linear Gaussian model
lm.ps.MCML

Monte Carlo Maximum Likelihood estimation of the geostatistical linear model with preferentially sampled locations
linear.model.Bayes

Bayesian estimation for the geostatistical linear Gaussian model
matern.kernel

Matern kernel
poisson.log.MCML

Monte Carlo Maximum Likelihood estimation for the Poisson model