BH.Estimates: Estimates for Breslow-Holubkov approach from the "osDesign"...

Description Usage Arguments Value Examples

View source: R/FunctionsForPackage09242019.R

Description

Provides estimates using the BH approach for two stage designs for the marginal means, marginal risk difference, and marginal relative risk. It requires as input the output object from the "tps" function from the "osDesign" package

Usage

1
BH.Estimates(fmla = fmla, dat = dat, tps.fit = tps.fit)

Arguments

fmla

The formula used in the "tps" call from "osDesign"

dat

The phase 1 dataset coded with delta=1 for phase 2 sampled observations

tps.fit

The fit output by the tps function in "osDesign"

Value

Estimates of marginalized risk difference, relative risk and odds ratios

Examples

1
2
See package vignette
BH.Estimates

brendalewisprice/IPCWTMLE2Phase documentation built on Nov. 4, 2019, 8:12 a.m.