DirectGaussianSimulation.DirectGaussSim
— TypeDirectGaussSim(var₁=>param₁, var₂=>param₂, ...)
Direct Gaussian simulation (a.k.a. LU simulation).
Parameters
variogram
- theoretical variogram (default toGaussianVariogram()
)mean
- mean of (unconditional simulation) (default to0
)
Joint parameters
correlation
- correlation coefficient between two covariates (default to0
).
Examples
Simulate two variables var₁
and var₂
independently:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),))
Simulate two correlated variables var₁
and var₂
with correlation 0.7
:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),),
(:var₁,:var₂) => (correlation=0.7,))
References
Alabert 1987. The practice of fast conditional simulations through the LU decomposition of the covariance matrix.
Oliver 2003. Gaussian cosimulation: modeling of the cross-covariance.
DirectGaussianSimulation.DirectGaussSimJointParam
— TypeDirectGaussSim(var₁=>param₁, var₂=>param₂, ...)
Direct Gaussian simulation (a.k.a. LU simulation).
Parameters
variogram
- theoretical variogram (default toGaussianVariogram()
)mean
- mean of (unconditional simulation) (default to0
)
Joint parameters
correlation
- correlation coefficient between two covariates (default to0
).
Examples
Simulate two variables var₁
and var₂
independently:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),))
Simulate two correlated variables var₁
and var₂
with correlation 0.7
:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),),
(:var₁,:var₂) => (correlation=0.7,))
References
Alabert 1987. The practice of fast conditional simulations through the LU decomposition of the covariance matrix.
Oliver 2003. Gaussian cosimulation: modeling of the cross-covariance.
DirectGaussianSimulation.DirectGaussSimParam
— TypeDirectGaussSim(var₁=>param₁, var₂=>param₂, ...)
Direct Gaussian simulation (a.k.a. LU simulation).
Parameters
variogram
- theoretical variogram (default toGaussianVariogram()
)mean
- mean of (unconditional simulation) (default to0
)
Joint parameters
correlation
- correlation coefficient between two covariates (default to0
).
Examples
Simulate two variables var₁
and var₂
independently:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),))
Simulate two correlated variables var₁
and var₂
with correlation 0.7
:
julia> DirectGaussSim(:var₁ => (variogram=SphericalVariogram(),mean=10.),
:var₂ => (variogram=GaussianVariogram(),),
(:var₁,:var₂) => (correlation=0.7,))
References
Alabert 1987. The practice of fast conditional simulations through the LU decomposition of the covariance matrix.
Oliver 2003. Gaussian cosimulation: modeling of the cross-covariance.