rtrnstat: Compute re-transformed regression fit statistics

Description Usage Arguments Examples

Description

For a regression where the dependent variable is a power transformation of the original variable of interest, standard error-like and R-squared-like statistics are computed in the scale of the original variable of interest.

Usage

1
rtrnstat(regObj, tranPwr = 0)

Arguments

regObj

A lm object

tranPwr

Power transformation applied to the original variable of interest. Defaults to 0 (log).

Examples

1
fm1 <- lm(log(Volume) ~ log(Girth), data = trees); rtrnstat(fm1,0)

tomeburk/lm.retran documentation built on May 31, 2019, 6:11 p.m.