rr.msm.jn.ic: Estimate both the parameter, and the influence curves used...

Description Usage Arguments Details

View source: R/rr-msm-jn-ic.R

Description

The function takes a dataset, and will returns the estimate for the parameter, and or the estimated influence curve at each observation. The first column of obs_data should be the binary outcome of interest.

Usage

1
rr.msm.jn.ic(obs_data, what = "both", control = NULL)

Arguments

obs_data

the observed data. The first column should be the outcome.

what

the desired return value. Should be one of '"ic"' (infludence curve), '"est"' (estimate), or '"both"'.

control

any other control parameters to be passed to the estimator.

Details

Most of the code for this function has been copied and slightly modified from the ltmle package and is copyrighted by Joshua Schwab under the terms of the GPL-2 license.

Obtain an estimator of the probability delta = 1 given w


adam-s-elder/amar documentation built on Feb. 5, 2022, 7:10 a.m.