Description Usage Arguments See Also Examples
Computes the partition-composite likelihood for observations sampled from a multivariate max-stable distribution whose spectral random vector is Gaussian, Log-normal or has a clustered copula distribution.
1 |
data |
a matrix representing the data. Each column corresponds to one observation. |
clusters |
a vector of integers that gives the partition that is used to compute the
partition-composite likelihood. Blocks of the partition should be of size smaller or equal to 7 to avoid
a too long computing time. |
ln |
logical. If |
spatial |
argument passed to the |
... |
further arguments to be passed to |
mubz.normal
,mubz.lnormal
, mubz.copula
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | n.site<-5
xy<-matrix(runif(2 * n.site, 0, 0.5), ncol = 2)
param<-c(0.5,1.5)
n.obs<-2
library(SpatialExtremes)
data<-t(rmaxstab(n.obs, xy, "whitmat",
nugget = 0, range = param[1], smooth = param[2]))
d<-maxstable.l.clusters(data,clusters=c(1,1,1,2,2),
params=param,
category="normal",
spatial=list(sites=xy,family=spatialWhittleMatern))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.