log likelihood and derivatives for Unif distribution
log likelihood and derivatives for Unif distribution
llikUnif(x, alpha, beta, full =FALSE)
Arguments
x: variable distributed by a uniform distribution
alpha: is the lower limit of the uniform distribution
beta: is the upper limit of the distribution
full: Add the data frame showing x, mean, sd as well as the fx and derivatives
Returns
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
Details
In an rxode2() model, you can use llikUnif() but you have to use the x and rate arguments. You can also get the derivative of alpha or beta with llikUnifDalpha() and llikUnifDbeta().