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
Creating Lead variables with respect to month (1, 3, 6) when I have daily datahello. I'm working on the U.S. stock market. I have entire stock market data ( thousands of stocks).…
Fixed-effect level: Is student AND evaluator fixed-effect still correct?Hey, I have the following stylized example. Code: * Example generated by -dataex-. To install: s…
Logit non-linear regressionHi, I have a non-linear model and wish to use logit command. Is the command the same for linear mod…
Translating do file to pdfI am using the following command: translate 4th_Assignmnet.do 4th_Assignmnet.pdf and get: transla…
Create an index for countriesI have a dataset of 105 countries and want to create an index variable but forgot the command for it…
Subscribe to:
Post Comments (Atom)
0 Response to log of negative value
Post a Comment