qrLogLik {cdfquantreg}R Documentation

Log Likelihood for Fitting Cdfquantile Distributions

Description

Function to give the (negative) log likelihood for fitting cdfquantile distributions.

Usage

qrLogLik(y, mu, sigma, fd, sd, total = TRUE)

Arguments

y

the vector to be evaluated.

mu

mean of the distribution.

sigma

sigma of the distribution.

fd

A string that specifies the parent distribution.

sd

A string that specifies the sub-family distribution.

total

whether the sum of logliklihood is calculated

Value

The negative log likelihood for fitting the data with a cdfquantile distribution.

Examples

y <- rbeta(20, 0.5, 0.5)
qrLogLik(y, mu = 0.5, sigma = 1, 't2','t2')


[Package cdfquantreg version 1.2.5 Index]