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
Fama MacBeth 2nd StageHello: I am a relatively new user of Stata. I have calculated the firm Betas for the first stage o…
macros in variable nameshi, suppose i have a variables named x1 x2 x3 ....x2000 and had set the following local macro and …
equality of regression coefficientsI am currently attempting to estimate the relationship between writing improvement (Y) and feedback …
R Loop To get Survey Weighted Counts Code: input person status group angle weight 1 2 3 30 152 2 3 2 29 176 3 2 6 20 146 4 3 6 30 194 5…
PSmatch2Using psmatch2 How to do 2:1 nearest neighbour. How to keep only matched cases. The option: keep if …
Subscribe to:
Post Comments (Atom)
0 Response to PPML - log of dependent variable
Post a Comment