logshift function

Log shift transformation for linear models

Log shift transformation for linear models

The function transforms the dependent variable of a linear model using the Log shift transformation. The shift parameter is determined by y + shift > 0.

logshift(object)

Arguments

  • object: an object of type lm.

Returns

an object of class trafo.

  • Maintainer: Ann-Kristin Kreutzmann
  • License: GPL-2
  • Last published: 2018-11-27

Useful links