Learn R Programming

rxode2ll (version 2.0.13)

llikGeom: log likelihood and derivatives for Geom distribution

Description

log likelihood and derivatives for Geom distribution

Usage

llikGeom(x, prob, full = FALSE)

Value

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

Arguments

x

variable distributed by a geom distribution

prob

probability of success in each trial. 0 < prob <= 1.

full

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

Author

Matthew L. Fidler

Examples

Run this code

llikGeom(1:10, 0.2)

Run the code above in your browser using DataLab