ll: Calculate the log likelihood as the sum of the population...

Description Usage Arguments Value

View source: R/ebe.R

Description

Calculate the log likelihood as the sum of the population likelihood and the prediction likelihood.

Usage

1
ll(par, tdmore, observed, regimen, covariates)

Arguments

par

the current estimate of the parameters

tdmore

the tdmore object

observed

data frame with at least a TIME column, and all observed data. The observed data will be compared to the model predictions. If not specified, we estimate the population prediction

regimen

data frame describing the treatment regimen.

covariates

the model covariates

Value

the log likelihood


tdmore-dev/tdmore documentation built on Nov. 15, 2018, 9:45 p.m.