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
runiform(a,b) function for a stataSE 12Hi Everyone, I am trying to create a random element that its value is between A and B. therefore I …
mata function available in different ado-filesDear all, I am trying to execute a mata function in different but related ado-files, but I don't kn…
svylogitgofHi! I am absolutely new to STATA and I hope that you could help me to solve this issue. I run a lo…
-gsem- for dynamic multinomial logit model with random effectsDear All, I am trying to analyse, using panel data, the extent of state dependance to a previous si…
Interpreting log-log results with first differenceI have data that explores the relationship between Port activity (TEU) and industrial real estate va…
Subscribe to:
Post Comments (Atom)
0 Response to PPML - log of dependent variable
Post a Comment