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
esttabWhy is it when I enter the following command: "forvalues i = 1/5 { regress edge percentFRL ipr_se_v…
asreg : Updated 2021: new flexible window | Fastest rolling regressions in StataThanks to Kit Baum, the updated version of asreg is now available on the SSC. The new version is ver…
xtivreg2 instrumental variables with endogenous variable involves in interaction termsHi all, I'm conducting analysis in the form below: Code: y = x1 + x2 + x3 + x1*x2 In which x1 is …
gmatch and psmatch2I am trying to conduct a logistic regression after propensity score matching. I tried both gmatch ps…
Add Optional t-test to Stata ProgramI have a stata program that displays a twoway bar graph and I want to add a t-test to the program, b…
Subscribe to:
Post Comments (Atom)
0 Response to log of negative value
Post a Comment