Hello,
Here is my question:
I am testing the curvilinear (inverted U-shape) effect of distance (cultural distance) on number of trades between pairs of countries (6000 pairs). I was using ppml command from Gravity package in R, and now I am trying to use STATA to make sure I get the same results.
My questions are:
1. The R ppml command automatically Log transforms the "distance" measure. What about ppml in STATA? this is specially important because I need to test the quadratic effect of distance on number of trades.
2. How can I incorporate the quadratic term in STATA ppml package? Shoud I just generate a distance^2 or should I generate (Log(distance))^2 and use it in my model?
Thank you so much in advance
Related Posts with ppml (gravity equation) with quadratic term of the distance variable
Using indented foreach and forvaluesDear all, I am trying for the first time to use foreach and forvalues, but with little success. The …
Graph legend : assign two symbols to one labelHi all, I'm trying to the create the attached graph, but I'd like to consolidate the legend such th…
Problem using ptrend commandHello! I am trying to use the ptrend command to look at my binary y variable and categorical x vari…
Extracting stringsHi there! I am working on cleaning up some text data, and have a quick question. I have the followi…
Saving regression coefficients from 3 regressions in one same datasetI have the dataset that include further below. I ran the following three regressions on this dataset…
Subscribe to:
Post Comments (Atom)
0 Response to ppml (gravity equation) with quadratic term of the distance variable
Post a Comment