logLik {SpatialExtremes}R Documentation

Extracts Log-Likelihood

Description

Extract the pairwise log-likelihood for objects of class ``maxstab''

Usage

## S3 method for class 'maxstab':
logLik(object, ...)

Arguments

object An object of class ``maxstab''. Most often this will be the output of the fitmaxstab function.
... Other arguments to be passed to the logLik function.

Value

Standard logLik object (see logLik) except that this is the pairwise log-likelihood!

Author(s)

Mathieu Ribatet

See Also

logLik

Examples

require(RandomFields)

##Define the coordinates of each location
n.site <- 30
locations <- matrix(5 + runif(2*n.site, 0, 10), ncol = 2)

##Simulate a max-stable process - with unit Frechet margins
ms0 <- MaxStableRF(locations[,1], locations[,2], grid=FALSE, model="wh",
                   param=c(0,1,0,3, .5), maxstable="extr",
                   n = 30)
ms1 <- t(ms0)
## Not run: 
fit <- fitmaxstab(ms1, locations, "schlather")
logLik(fit)
## End(Not run)

[Package SpatialExtremes version 1.1-1 Index]