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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/q.mle.emg.estimate.R

Description

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

Usage

1
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.

Author(s)

Shawn Garbett

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  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)

fracprolif documentation built on May 2, 2019, 7:59 a.m.