Learn R Programming

fracprolif (version 1.0.7)

q.mle.emg.estimate: Estimate Distribution Parameters based on EMG survival

Description

Estimation of the emg distribution parameters from data using a survival function and maximum likelihood.

Usage

q.mle.emg.estimate(complete.lifespans, censored.lifespans)

Arguments

complete.lifespans

Vector of time observations of complete lifespans that span the entire life of an entity.

censored.lifespans

Vector of time observations that are incomplete about the life of an entity.

Value

An object of mle-class containing the parameter estimates.

See Also

mle-class q.mle.norm.estimate q.rates qsurvival.nllik emg

Examples

Run this code
# NOT RUN {
  data(ca1d.erlotinib)
  mitotic.lifespans <-
    subset(ca1d.erlotinib, !End.of.Expt & 
                           !Death        & 
                           !is.na(Lifespan))$Lifespan
  censored.lifespans <- 
    subset(ca1d.erlotinib, End.of.Expt  & 
                           !Death        & 
                           !is.na(Lifespan))$Lifespan
  q.mle.emg.estimate(mitotic.lifespans, censored.lifespans)
# }

Run the code above in your browser using DataLab