Good evening, guys. I'm currently working on a gravity model with PPML estimator. Here is the thread: I'm using a book from Yotov et al that has a formula for fixed effects. I'm only using exporter fixed effects and getting the same results for all the variables (sum equals 100). Can someone please tell if its correct?
the commands for PPML: ppml exp area dist population gdp gdpc mercosul landlock border
commands for fixed effects: egen exp_time = group (exp year) ; tabulate exp_time, generate (EX_FE)
this is part of the result:
832 | 1 0.04 30.78
833 | 1 0.04 30.82
834 | 1 0.04 30.85
835 | 1 0.04 30.89
836 | 1 0.04 30.92
837 | 1 0.04 30.96
838 | 1 0.04 30.99
839 | 1 0.04 31.03
840 | 1 0.04 31.07
841 | 1 0.04 31.10
842 | 1 0.04 31.14
843 | 1 0.04 31.17
844 | 1 0.04 31.21
845 | 1 0.04 31.25
846 | 1 0.04 31.28
847 | 1 0.04 31.32
the sum equals 100. Shouldn't the fixed effects be different for each year? Tks in advance!
Related Posts with PPML and fixed effects commands
Changing month identifiers to year identifiersDear reader, For the variables monthbnb monthacq monthexit I have monthidentifiers, I would like to…
estat icc reporting of Intra-cluster correlation in three-level linear regression (mixed) different from manually calculation...Hi, I'm analyzing a three-level model I've run with mixed. It produces the following table for the …
Creating a dummy variable indicating the last change in variables with multiple changes in valuesHello. This is my first post and I would really appreciate any help. I have a panel dataset with inf…
Loops trouble with DatesDear Statalist, I am having troubles creating a forvalues loop that works exactly as required. I hav…
Why use rolling regression for Fama-Macbeth?Hello, I posted this question on Stack Overflow but I was recommended by Nick Cox to post it here in…
Subscribe to:
Post Comments (Atom)
0 Response to PPML and fixed effects commands
Post a Comment