| RMbiwm {RandomFields} | R Documentation |
RMbiwm is a bivariate stationary isotropic covariance model
whose corresponding covariance function only depends on the distance
r \ge 0 between
two points and is given for i,j \in \{1,2\} by
C_{ij}(r)=c_{ij} W_{\nu_{ij}}(r/s_{ij}).
Here W_\nu is the covariance of the
RMwhittle model.
For constraints on the constants see Details.
RMbiwm(nudiag, nured12, nu, s, cdiag, rhored, c, notinvnu, var,
scale, Aniso, proj)
nudiag |
a vector of length 2 of numerical values; each entry
positive; the vector |
nured12 |
a numerical value in the interval |
nu |
alternative to |
s |
a vector of length 3 of numerical values; each entry
positive; the vector |
cdiag |
a vector of length 2 of numerical values; each entry
positive; the vector |
rhored |
a numerical value; in the interval |
c |
a vector of
length 3 of numerical values;
the vector |
notinvnu |
logical or |
var, scale, Aniso, proj |
optional arguments; same meaning for any
|
Constraints on the constants: For the diagonal elements we have
\nu_{ii}, s_{ii}, c_{ii} > 0.
For the offdiagonal elements we have
s_{12}=s_{21} > 0,
\nu_{12} =\nu_{21} = 0.5 (\nu_{11} + \nu_{22}) * \nu_{red}
for some constant \nu_{red} \in [1,\infty) and
c_{12} =c_{21} = \rho_{red} \sqrt{f m c_{11} c_{22}}
for some constant \rho_{red} in [-1,1].
The constants f and m in the last equation are given as follows:
f = (\Gamma(\nu_{11} + d/2) \Gamma(\nu_{22} + d/2)) / (\Gamma(\nu_{11}) \Gamma(\nu_{22})) * (\Gamma(\nu_{12}) / \Gamma(\nu_{12}+d/2))^2 * ( s_{12}^{2*\nu_{12}} / (s_{11}^{\nu_{11}} s_{22}^{\nu_{22}}) )^2
where \Gamma is the Gamma function and d is the dimension
of the space.
The constant m is
the infimum of the function g on [0,\infty) where
g(t) = (1/s_{12}^2 +t^2)^{2\nu_{12} + d} (1/s_{11}^2 + t^2)^{-\nu_{11}-d/2} (1/s_{22}^2 + t^2)^{-\nu_{22}-d/2}
(cf. Gneiting, T., Kleiber, W., Schlather, M. (2010), Full Bivariate Matern Model (Section 2.2)).
RMbiwm returns an object of class RMmodel.
Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
Gneiting, T., Kleiber, W., Schlather, M. (2010) Matern covariance functions for multivariate random fields JASA
RMparswm,
RMwhittle,
RMmodel,
RFsimulate,
RFfit,
Multivariate RMmodels.
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
x <- y <- seq(-10, 10, 0.2)
model <- RMbiwm(nudiag=c(0.3, 2), nured=1, rhored=1, cdiag=c(1, 1.5),
s=c(1, 1, 2))
plot(model)
plot(RFsimulate(model, x, y))