log likelihood and derivatives for Unif distribution
llikUnif(x, alpha, beta, full = FALSE)
variable distributed by a uniform distribution
is the lower limit of the uniform distribution
is the upper limit of the distribution
Add the data frame showing x, mean, sd as well as the fx and derivatives
data frame with fx
for the log pdf value of with dProb
that has the derivatives with respect to the prob
parameters at
the observation time-point
llikUnif(1, -2, 2)
#> fx dAlpha dBeta
#> 1 -1.386294 0.25 -0.25