Learn R Programming

rxode2ll (version 2.0.13)

llikExp: log likelihood and derivatives for exponential distribution

Description

log likelihood and derivatives for exponential distribution

Usage

llikExp(x, rate, full = FALSE)

Value

data frame with fx for the log pdf value of with dRate

that has the derivatives with respect to the rate parameter the observation time-point

Arguments

x

variable that is distributed by exponential distribution

rate

vector of rates.

full

Add the data frame showing x, mean, sd as well as the fx and derivatives

Author

Matthew L. Fidler

Examples

Run this code

llikExp(1, 1:3)

llikExp(1, 1:3, full=TRUE)

Run the code above in your browser using DataLab