Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: About taking log on zero values

From   Maarten Buis <>
Subject   Re: st: About taking log on zero values
Date   Thu, 20 Feb 2014 22:08:09 +0100

On Thu, Feb 20, 2014 at 8:42 PM, Daniel Feenberg wrote:
> If the to be logged variable is on the RHS, then can't you put in an
> arbitrary value instead of log(0), and add a dummy variable which is one for
> that case, otherwise zero? Then you have a functional form that encompasses
> missing/non-missing and has a log relation for all non-zero values. The size
> of the arbitrary value won't actually affect the predicted values,
> T-statistics or regression summary statistics such as R**2, so it shouldn't
> be a source of controversy.

That is exactly the solution I proposed earlier
<>, so we
are in agreement.

Maarten L. Buis
Reichpietschufer 50
10785 Berlin
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index