likelihood_setup_call: Processes data for and sends data to survival likelihood...

Description Usage Arguments Value

Description

Processes data for and sends data to survival likelihood function

Usage

1
2
likelihood_setup_call(exposure_data, betat, clr, lag, end_time,
  censor_start_time)

Arguments

exposure_data

A data frame that contains time and exposures

clr

The clearance rate of exposure

hazard_risk

The per time risk of exposure during persistence

censor_start

Start of the interval censored outcome, should be passed in from the data

Value

Returns a log survival likelihood (see calc_risk_mult) for uninfected and an interval censored likelihood (see calc_censor_likelihood) for infected


bryanmayer/multdr documentation built on May 13, 2019, 8:11 a.m.