thetags: thetags : Estimated theta when the gold standard biomarker is...

Description Usage Arguments Details Value Author(s) Examples

View source: R/thetags.R

Description

This function is used to estimate theta assuming the gold standard biomarker is used. Further the distribution of the biomarker is assumed to be normaly distributed with a given mean and variance.

Usage

1
thetags(mydatt, dpar)

Arguments

dpar

The parameters of the normally distributed biomarker.

mydat

A data frame with the outcome variable and exposure variables

Details

This metric measure the decrease in the expected proportion of events that were avoided as a result of using the biomarker guided treatment. This is a direct biomarker utility metric as can quantify the net benefit that we can gain using the biomarker to guide treatmetn.

Value

A value in the range of 0-1.

Author(s)

Henok Woldu

Examples

1
2
3
  # Let the data is stored in an object named mydat
  # Let dpar the parmaters of the normally distributed biomarker
  truetheta <- thetags(mydat, dpar)

henok535/RMPB documentation built on May 17, 2019, 11:08 a.m.