output.control {geoR}R Documentation

Defines output options

Description

This auxiliary function defines output options for krige.bayes and krige.conv.

Usage

output.control(n.posterior, n.predictive, moments, n.back.moments,
               simulations.predictive, mean.var, quantile,
               threshold, signal, messages.screen)

Arguments

n.posterior number of samples to be taken from the posterior distribution.
n.predictive number of samples to be taken from the predictive distribution. By default equals to n.posterior.
moments logical. Indicates whether the moments of the predictive distribution are returned. If lambda = 1 there is no transformation/back-transformation. If \lambda = 0 or lambda = 0.5 the moments are back-transformed by analytical expressions. For other cases the back-transformation is done by simulation.
n.back.moments number of sample to back-transform moments by simulation. Defaults to 1000.
simulations.predictive logical. Defines whether to draw simulations from the predictive distribution. Only valid if prediction locations are provided on the argument locations.
mean.var logical. Indicates whether mean and variances of the simulations of the predictive distributions are computed and returned.
quantile indicates whether quantiles of the simulations from the predictive distributions are computed and returned. If a vector with numbers in the interval [0,1] is provided, the output includes the object quantiles, which contains values of corresponding estimated quantiles. For example, if quantile = c(0.25,0.50,0.75) the function returns the quartiles of the distributions at each of the prediction locations. If quantile = TRUE the default values c(0.025, 0.5, 0.975), are assumed. A measure of uncertainty of the predictions, analogous to the kriging standard error, can be computed by (quantile0.975 - quantile0.025)/4. Only used if prediction locations are provided in the argument locations.
threshold defaults to FALSE. If one or more values are provided, object named probabilities is included in the output. This object contains, for each prediction location, the probability that the variable is less than or equal than the threshold provided by the user.
signal logical. If TRUE the signal is predicted, otherwise the variable is predicted. If no transformation is performed the expectations are the same in both cases and the kriging variances are different when the nugget parameter is different from zero.
messages.screen logical. Indicates whether or not status messages are printed on the output device while the function is running.

Value

A list with processed arguments to be passed to the main function.

Author(s)

Paulo J. Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.

See Also

krige.bayes and krige.conv


[Package Contents]