Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

RandomFields (version 3.0.10)

RMfractdiff: Fractionally Differenced Process Model

Description

RMfractdiff is a stationary isotropic covariance model. The corresponding covariance function only depends on the distance $r \ge 0$ between two points and is given for integers $r \in {\bf N}$ by C(r)=(1)rΓ(1a/2)2Γ(1a/2+r)Γ(1a/2r)rN and otherwise linearly interpolated. Here $a \in [-1,1)$, $\Gamma$ denotes the gamma function. It can only be used for one-dimensional random fields.

Usage

RMfractdiff(a, var, scale, Aniso, proj)

Arguments

a
$-1 \le a < 1$
var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

Details

The model is only valid for dimension $d = 1$. It stems from time series modelling where the grid locations are multiples of the scale parameter.

See Also

RMmodel, RFsimulate, RFfit.

Examples

Run this code
RFoptions(seed=0)
model <- RMfractdiff(0.5, scale=0.2)
x <- seq(0, 10, if (interactive()) 0.02 else 1) 
plot(model, ylim=c(0,1))
plot(RFsimulate(model, x=x))
RFoptions(seed=NA)

Run the code above in your browser using DataLab