Learn R Programming

c212 (version 0.98)

c212.interim.MLE: Poisson Maximum Likelihood Estimator

Description

Calculate the Poisson Maximum Likelihood Estimator for interim analysis data.

Usage

c212.interim.MLE(trial.data)

Arguments

trial.data

A file or data frame containing the trial data. It must contain must contain the columns I_index (interval index), B (body-system), AE (adverse event), Group (1 - control, 2 treatment), Count (total number of events), Total (total number of participants in the trial arm).

Value

The maximum likelihood estimators and summary statistics.

Examples

Run this code
# NOT RUN {
data(c212.trial.interval.data1)
data <- c212.trial.interval.data1[ c212.trial.interval.data1$Interval == "0.0-180.0",]
raw = c212.interim.MLE(data)
# }
# NOT RUN {
data(c212.trial.interval.data1)
raw = c212.interim.MLE(c212.trial.interval.data1)

# }

Run the code above in your browser using DataLab