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
Subtotals and totals when creating a table (using contract/collapse)Hi all I would like to know if there is a more efficient way of getting subtotals and totals when c…
SEM & GSEM - Understanding / Standardizing OutputSo I am trying to understand the output from a GSEM model using latent variables that has a sampling…
difference in proportionsHello, Having a daft moment. I surveyed 2006 respondents about cats. 1002 were Urban and 1004 rural…
commandI am trying to generate new variable named, number of household in community who get credit with "No…
considering year t and t-1 in variable generationHi, Below is the example of my panel data. I want to generate a new variable (Increase) which is eq…
Subscribe to:
Post Comments (Atom)
0 Response to PPML - log of dependent variable
Post a Comment