Hello,
I am looking at the impact of deficit on an outcome variable (Spending). All variables are positve in my datset, except for deficit. People can sometimes have a deficit in their spending (postive value of deficit), or surplus (negative value). I wanted to take natural logs of these variables. However, taking a natural variable makes no sense if I have a surplus (negative value). Does anyone have suggestions?
Thank you
Related Posts with log of negative value
forvalues command errorhello Statlist, hope everyone is in good health, i face following error in forvalues command during…
What are the results of the Kolmogorov-Smirnov test in Stata?The following figure is the Kolmogorov-Smirnov test (KS test) I conducted in Stata using ksmirnov co…
What are the results of reldist in Stata?When relative distribution method is used to compare the distribution similarity of two samples, rel…
How to obtain estimates via Margins after a Poisson regression with an offsetDear all, It may be a silly question, but I was unable to resolve it after some time searching the …
BSWEIGHTS without stratum in the dataI am wanting to use bsweights to resample the weights before a bootstrap a weighted regression. I do…
Subscribe to:
Post Comments (Atom)
0 Response to log of negative value
Post a Comment