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
95% confidence interval with invlogitGreetings, I'm having a problem analysing my dataset. I'm trying to get the prevalence and 95% CI us…
How to account for cross sectional dependence in unbalanced panel which is irregularly spaced?Hi I have a long panel with T= 1400 and N is fixed to 5. It is an unbalanced panel and my cross sect…
Understanding Logit and Probit outputI am currently running Stata14 to analyse a dataset of 228 observations. The dependent variable is b…
Problems Introducing CI in Bar ChartHey there, I am having a problem with –catplot- in making descriptive statistics with two categorica…
How do I change the format of date variable in STATA 15Hi, Is there a way I can change the following variables into a singular format? I have 900+ observa…
Subscribe to:
Post Comments (Atom)
0 Response to ppml (gravity equation) with quadratic term of the distance variable
Post a Comment