ltailw {distTails}R Documentation

TailW Log-likelihood function

Description

This function computes the log-likelihood of the tailW with the input sample data.

l(x;\alpha,\beta) = n(\log(\alpha)+\log(\beta))+(\beta-1)\sum_{i=1}^{n}\log(x+\nu)-\alpha\sum_{i=1}^{n}((x+\nu)^\beta-\nu^\beta)

Usage

ltailw(x, threshold, scale, shape)

Arguments

x

Sample data.

threshold

Minimum value of the tail.

scale

Scale parameter.

shape

Shape parameter.

Value

Gives the log-likelihood of the TailW. The length of the result is determined by the length of x.

Examples

ltailw(1,1,1,1)

[Package distTails version 0.1.2 Index]