antilog.pred {BivRegBLS}R Documentation

Back transforms the results if a logarithmic transformation is used

Description

If the data are log-normal, the user can apply a logarithmic transformation. Then, antilog.pred will automatically back-transform (exponentiate) the data and the predictions (hyperbolic intervals) obtained by the BLS, CBLS, MD.horiz.lines, FullCIs.XY or FullCIs.MD functions.

Usage

antilog.pred(results = NULL, base = 10)

Arguments

results

an object of class BLS, CBLS, MD.horiz.lines, CIs.XY or CIs.MD.

base

a character string or a numeric value. Options available are: 10 (default value) or "e".

Details

antilog.pred is automatically called by the argument antilog in the functions XY.plot or MD.plot.

Value

An object of class BLS, CBLS, MD.horiz.lines, CIs.XY or CIs.MD.

Author(s)

Bernard G FRANCQ

See Also

BLS, CBLS, MD.horiz.lines, FullCIs.XY, FullCIs.MD

Examples

library(BivRegBLS)
data(SBP)
SBPlog=SBP
SBPlog[,2:10]=log(SBPlog[,2:10])
res.BLS.log=BLS(data=SBPlog,xcol=c("J1","J2","J3"),ycol=8:10)
res.BLS=antilog.pred(results=res.BLS.log,base="e")

[Package BivRegBLS version 1.1.1 Index]