Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: R: Log of nonpositive numbers


From   "Carlo Lazzaro" <[email protected]>
To   <[email protected]>
Subject   st: R: Log of nonpositive numbers
Date   Sat, 29 Mar 2008 09:45:56 +0100

Dear Ucb_gal,

a tempative answer might be to add a little constant to your zeros, in order
to make natural log transformation feasible. However, this trick will give
you back <0 values. 

Kind Regards,

Carlo

-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di ucb_gal
Inviato: sabato 29 marzo 2008 6.57
A: [email protected]
Oggetto: st: Log of nonpositive numbers

Hi,

I've seen this question asked a few other times, but I'm still a little
unclear on what the considerations are in thinking this through.

I'm running logistic regressions with the log of income and wealth as
independent variables.  I've seen this done often enough that I didn't
really think twice about it.  But then I realized that while I don't have a
ton of cases with exact 0 values in either variable, I do have a number of
cases with negative wealth.  And all of these show up as missing now.

Am I mistaken in thinking that I've seen studies that use the log of income
as predictors??

Thanks!




 
____________________________________________________________________________
________
Like movies? Here's a limited-time offer: Blockbuster Total Access for one
month at no cost. 
http://tc.deals.yahoo.com/tc/blockbuster/text4.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index