Transformation of point estimates

Share:

Description

transform method for class inference

Usage

1
transform.inference(`_data`, f, f.prime, ...)

Arguments

_data

Object of class inference.

f

Function to transform the point estimates and confidence intervals; e.g., exp.

f.prime

Derivative of f in order to compute the standard error of the transformed point estimates based on the delta method.

...

Nothing.

Details

Transform the point estimates, confidence intervals, and standard errors based on the delta method. This builds on the S3 generic function transform from the base package.

It can be used to get the hazard ratio scale in inference objects created from coxph objects and the odds ratio scale from logistic regression created from glm (both using f=exp, f.prime=exp).

Value

Object of class inference.

Author(s)

Vinh Nguyen