optnorm: optnorm : The probability of an event when marker guided...

Description Usage Arguments Value Author(s) Examples

Description

This function is used to estimate the probability of an event when the biomarker information used to assign treatment. The predictive biomarker is assumed to have a normal distribution with mean nu and variance sigma squared.

Usage

1
optnorm(coeff, dpar)

Arguments

coeff

The coefficients obtained from fitting the log linear model and must be a vector of length four

dpar

The parameters of the biomarker which has a normal distribution and must be of a vector legnth two

Value

A value of the estimated probability and must be a number between 0 and 1

Author(s)

Henok Woldu

Examples

1
2
3
  # Let coff is a vector of length four with each elemnt represent the value of the coefficients of the model
  # Let dpar is a vector of legnth two such that the  mean= 2.3 and variance = 0.2 of the predictive biomarker are given
  eventopt <- optnorm(coff, dpar=c(2.3,0.2))

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