30.09.2014 Views

Package 'extRemes' - What are R and CRAN?

Package 'extRemes' - What are R and CRAN?

Package 'extRemes' - What are R and CRAN?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30 extremalindex<br />

extremalindex<br />

Extemal Index<br />

Description<br />

Estimate the extremal index.<br />

Usage<br />

extremalindex(x, threshold, method = c("intervals", "runs"), run.length = 1,<br />

na.action = na.fail, ...)<br />

## S3 method for class extremalindex<br />

ci(x, alpha = 0.05, R = 502, return.samples = FALSE, ...)<br />

## S3 method for class extremalindex<br />

print(x, ...)<br />

Arguments<br />

x<br />

threshold<br />

method<br />

run.length<br />

na.action<br />

alpha<br />

R<br />

Details<br />

A data vector.<br />

ci <strong>and</strong> print: output from extremalindex.<br />

numeric of length one or the length of x giving the value above which (noninclusive)<br />

the extremal index should be calculated.<br />

character string stating which method should be used to estimate the extremal<br />

index.<br />

For runs declustering only, an integer giving the number of threshold deficits to<br />

be considered as starting a new cluster.<br />

funciton to h<strong>and</strong>le missing values.<br />

number between zero <strong>and</strong> one giving the (1 - alpha) * 100 percent confidence<br />

level. For example, alpha = 0.05 corresponds to 95 percent confidence; alpha is<br />

the significance level (or probability of type I errors) for hypothesis tests based<br />

on the CIs.<br />

Number of replicate samples to use in the bootstrap procedure.<br />

return.samples logical; if TRUE, the bootstrap replicate samples will be returned instead of CIs.<br />

This is useful, for example, if one wishes to find CIs using a better method than<br />

the one used here (percentile method).<br />

... optional arguments to decluster. Not used by ci or print.<br />

The extremal index is a useful indicator of how much clustering of exceedances of a threshold<br />

occurs in the limit of the distribution. For independent data, theta = 1, (though the converse is does<br />

not hold) <strong>and</strong> if theta < 1, then there is some dependency (clustering) in the limit.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!