Perform a meta-analysis of studies in which external control arms were compared to internal control arms by optimizing the log-likelihood function. You can view the ecmeta() documentation for more general details.

ecmeta_ml(data, hessian = TRUE)

Arguments

data

A loghr_data object that stores estimates of the log hazard ratios of the internal control arms relative to the external control arms.

hessian

Logical passed to stats::optim() indicating whether a Hessian matrix should be computed. This is required for computation of standard errors for mu and sigma, but not needed to simulate predicted log hazard ratios with predict.ecmeta_ml().

Value

An ecmeta_ml object which is a list containing the following elements:

estimates

Point estimates of model parameters mu and logsigma (the log of sigma).

vcov

The variance covariance matrix of the model parameters. Only included if hessian = TRUE.

data

The data object.

See also