j2r_seq_llh: Sequential likelihood-based inference from delta method

Description Usage Arguments Value

View source: R/util_fn.R

Description

Compute variance estimate of the likelihood-based inference using delta method

Usage

1
2
3
4
5
6
7
8
j2r_seq_llh(
  seq_formula,
  data_wide,
  trt_name,
  M = 10,
  fit_model,
  method = "PMM"
)

Arguments

seq_formula

a list of formulas for sequential regression

data_wide

wide-form of the data

trt_name

name of the treatment variable

M

imputation size

fit_model

type of the analysis model. Available: lm, Rfit::rfit (rank regression), MASS::rlm (robust regression)

method

name of the likelihood-based method. Available: PMM, CBMI

Value

Point estimation and variance estimation obtained by delta method:


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