Learn R Programming

fracprolif (version 1.0.7)

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

Description

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

Usage

q.mle.norm.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.

See Also

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

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.norm.estimate(mitotic.lifespans, censored.lifespans)
# }

Run the code above in your browser using DataLab