transiogram {spMC} | R Documentation |
Empirical Transition Probabilities Estimation for 1-D MC
Description
The function estimates transition probabilities matrices for a -D continuous lag spatial Markov chain.
Usage
transiogram(data, coords, direction, max.dist = Inf,
mpoints = 20, tolerance = pi / 8, reverse = FALSE)
Arguments
data |
a categorical data vector of length |
coords |
an |
direction |
a |
max.dist |
a numerical value which defines the maximum lag value. It's |
mpoints |
a numerical value which defines the number of lag intervals. |
tolerance |
a numerical value for the tolerance angle (in radians). It's |
reverse |
a logical value. If |
Details
Empirical probabilities are estimated by counting such pairs of observations which satisfy some properties, and by normalizing the result.
A generic pair of sample points and
, where
, must satisfy the following properties:
-
where
is a non negative real value, while
denotes the maximum lag value (
max.dist
) andis the number of lag intervals (
mpoints
). the lag vector
must have the same direction of the vector
(
direction
) with a certain angulartolerance
.
Value
An object of the class transiogram
is returned. The function print.transiogram
is used to print computed probabilities. The object is a list with the following components:
Tmat |
a 3-D array containing the probabilities. |
LOSE |
a 3-D array containing the standard error calculated for the log odds of the transition probabilities. |
lags |
a vector containing one-dimensional lags. |
type |
a character string which specifies that computed probabilities are empirical. |
Author(s)
Luca Sartore drwolf85@gmail.com
References
Carle, S. F., Fogg, G. E. (1997) Modelling Spatial Variability with One and Multidimensional Continuous-Lag Markov Chains. Mathematical Geology, 29(7), 891-918.
Sartore, L. (2010) Geostatistical models for 3-D data. M.Phil. thesis, Ca' Foscari University of Venice.
See Also
predict.tpfit
, predict.tpfit
, plot.transiogram
Examples
data(ACM)
# Estimate empirical transition
# probabilities by points
transiogram(ACM$MAT3, ACM[, 1:3], c(0, 0, 1), 200, 5)