estimateAccrualParameter-methods: Generic function to estimate non-uniformity accrual parameter...

Description Usage Arguments Value

Description

Note The estimate produced assumes recruitment has completed.

Usage

1
2
3
4
5
6
estimateAccrualParameter(object, ...)

## S4 method for signature 'EventData'
estimateAccrualParameter(object,
  start.date = min(object@subject.data$rand.date),
  end.date = max(object@subject.data$rand.date))

Arguments

object

An EventData object

...

Additional arguments to be passed to specific method

start.date

The startdate for recruitment, by default the date the first subject is recruited. If subjects are recruited on start.date, it is assumed they are recruited on the following day to avoid log(0) in the maximum likelihood estimate.

end.date

The end date for recruitment, by default the date the last subject is recruited.

Value

A maximum likelihood estimate for k, see vignette for further details


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.