j2r_llh: Likelihood-based method with estimation from delta method

Description Usage Arguments Value

View source: R/util_fn.R

Description

For a given dataset with monotone missingness, find the likelihood-based inference of the ATE

Usage

1
j2r_llh(mmrm_formula, data_long, time_name, id_name, trt_name, method = "PMM")

Arguments

mmrm_formula

formula for fixed effect MMRM under MAR

data_long

long-form of the data frame

time_name

name of the time variable

id_name

name of the id variable

trt_name

name of the treatment variable

method

specific method for likelihood-based approach. Available: PMM (default), CBMI

Value

Point estimation and variance estimation obtained by delta method:


Merck/mmrm documentation built on Dec. 17, 2021, 4:12 a.m.