Skip to contents

Conditionally apply back-transformation functions depending on the value of transformation.

Usage

conversion(beta, se, transformation, sim = 10000)

Arguments

beta

Beta estimate, numeric vector of length 1.

se

Standard error of the beta estimate, numeric vector of length 1

transformation

Character string describing transformation

sim

Number of simulations to use during back-transformation. Defaults to $10000$.

Value

The outputs of a back-transformation function, see family back-transformations

Details

transformation character strings may take the values:

  • "log"

  • "logit"

  • "probit"

  • "square"

  • "probit"

  • "double_transformation"

  • "cube"

  • "inverse"

  • "square_root"

  • "powerX", where X is a numeric

  • "divided.by.X", where X is a numeric