gev.d.params: Calculate gev(d) parameters from 'gev.d.fit' output

Description Usage Arguments Value See Also Examples

View source: R/gevdfit.R

Description

function to calculate mut, sigma0, xi, theta, eta, eta2, tau (modified location, scale offset, shape, duration offset, duration exponent, second duration exponent, intensity offset) from results of gev.d.fit with covariates or link functions other than identity.

Usage

1
gev.d.params(fit, ydat = NULL)

Arguments

fit

fit object returned by gev.d.fit or gev.fit

ydat

A matrix containing the covariates in the same order as used in gev.d.fit.

Value

data.frame containing mu_tilde, sigma0, xi, theta, eta, eta2, tau (or mu, sigma, xi for gev.fit objects)

See Also

IDF-package

Examples

1
2
3
4
data('example',package = 'IDF')
fit <- gev.d.fit(example$dat,example$d,ydat = as.matrix(example[,c("cov1","cov2")])
                 ,mutl = c(1,2),sigma0l = 1)
gev.d.params(fit = fit,ydat = cbind(c(0.9,1),c(0.5,1)))

IDF documentation built on April 9, 2021, 5:07 p.m.