Hello Statalist,
I am running the gravity model of trade at the product level.
So first I generated log of exports like this:
gen lnX = ln (X+1)
After that run the ppml with:
xi: ppml lnX ....
Is this approach wrong? Can I use log of dependent variable in PPML and add 1 before generating lnX. Because without 1, stata is giving "dependent variable lnX has negative values".
Or it`s better to run the model without log of dependent variable?
Related Posts with PPML - log of dependent variable
Graphing comparison of model using linear age splines vs age dummiesHello, I have a OLS cost model with the cost of health care as the dependent variable and a series …
Proportion VariableHello Statalisters, I have a dataset where I am trying to calculate the proportion variable represe…
IV-Regression with ivreg2- Does not save first stageHello there, I am instrumenting my governance variable with politics variables. However my code doe…
kappaetc commandDear All, I am trying to use for the first time the command kappaetc. Unfortunately, it gives me ba…
Weighted correlationHey guys, I am currently writing my thesis and currently struggle with the implementation of my mod…
Subscribe to:
Post Comments (Atom)
0 Response to PPML - log of dependent variable
Post a Comment