Learn R Programming

distTails (version 0.1.2)

ltailw: 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

Run this code
# NOT RUN {
ltailw(1,1,1,1)
# }

Run the code above in your browser using DataLab