qrLogLik {cdfquantreg} | R Documentation |
Function to give the (negative) log likelihood for fitting cdfquantile distributions.
qrLogLik(y, mu, sigma, fd, sd, total = TRUE)
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 |
The negative log likelihood for fitting the data with a cdfquantile distribution.
y <- rbeta(20, 0.5, 0.5) qrLogLik(y, mu = 0.5, sigma = 1, 't2','t2')