Last chance! 50% off unlimited learning
Sale ends in
RPsmith
defines a moving maximum process or a mixed moving
maximum process with finite number of shape functions.
RPsmith(shape, tcf, xi, mu, s)
RMmodel
giving the spectral functionxi
is always a number, i.e. $\xi$ is constant in
space. In contrast, $\mu$ and $s$ might be constant
numerical value or given a RMmodel
, in particular by a
RMtrend
model. The default values of $mu$ and $s$
are $1$ and $\xi$, respectively.
It simulates max-stable processes $Z$ that are referred to as
“Smith model”.
Advanced RMmodels
,
Auxiliary RMmodels
,
RMmodel
,
RPbernoulli
,
RPgauss
,
maxstable
maxstableAdvanced
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
model <- RMball()
x <- seq(0, 1000, 0.2)
z <- RFsimulate(RPsmith(model, xi=0), x)
plot(z)
hist(z@data$variable1, 50, freq=FALSE)
curve(exp(-x) * exp(-exp(-x)), from=-3, to=8, add=TRUE)
## 2-dim
x <- seq(0, 10, 0.1)
z <- RFsimulate(RPsmith(model, xi=0), x, x)
plot(z)
## original Smith model
x <- seq(0, 10, 0.05)
model <- RMgauss(scale = sqrt(2)) # !! cf. definition of RMgauss
z <- RFsimulate(RPsmith(model, xi=0), x, x)
plot(z)
## for some more sophisticated models see 'maxstableAdvanced'
Run the code above in your browser using DataLab