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
Loading do-file editor and other windows on startupI tend to load the do-file editor right after I start Stata. I often also open the data editor and v…
Interaction between Two Dummy Variables in Logistic Regression and Fixed Effects RegressionHi, I have an interaction term (between two dummy variables) in my logistic regression and fixed-eff…
How to delete observations in panel dataHi all, I have a panel data set where I want to conditionally delete observations. In my case, I am…
Error copying from httpsHello I use the following line to download a data set HTML Code: copy "https://www.inegi.org.mx/co…
Advice regarding Ramsey RESET test resultHello, I'm running an OLS regression with around 2000 observations and a few variables - most of th…
Subscribe to:
Post Comments (Atom)
0 Response to PPML and fixed effects commands
Post a Comment