hello,
I am using ppml_panel_sg to reg trade on some gravity variables and rta, finding that ppml_panel_sg cannot get the right predict values.
Then I use simplify the data,with the same data i use ppml_panel_sg and PPML to predict values respectively,finding different predict values.
like this,
code:
ppml trade PAIR_FE1-PAIR_FE$NTij_1 EXPORTER_TIME_FE* IMPORTER_TIME_FE1-IMPORTER_TIME_FE$NT_yr RTA, noconst
predict trade1,mu
ppml_panel_sg trade RTA,ex(exporter) im(importer) y(year)
predict trade2
sum trade trade1 trade2
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
trade | 512 18695.41 149875.9 0 2795426
trade1 | 512 18695.41 150052.1 .0022326 2802068
trade2 | 512 .0350129 .089555 0 .2636268
apparently,trade2 is not right predicted values.
I have 2 questions:
1)is it right to get the predict values like above?
2)I get the fixed effects from ppml_panel_sg by the options genD,finding it is also different with the results of ppml.
Can someone give me some hints/explanation? thank you!!!
Related Posts with ppml_panel_sg and PPML have different predict valuea
assigning values group-wiseDear community, I have a data set enlisting all previous/current occupations of executives (with st…
Missing values while using fixed effects model I have household-level panel data from two time periods. I found out that a good portion of my ho…
Panel RegressionHi, I am doing a research paper on panel data taken from BRICS nations as representative of recently…
Creating variable storing means by state and yearGreetings, I'm running Stata 15.1 on OSX. My ultimate objective is to examine the extent that each …
Tracking Change OvertimeHi, I would really appreciate any guidance regarding the following: I am working with HRS data, an…
Subscribe to:
Post Comments (Atom)
0 Response to ppml_panel_sg and PPML have different predict valuea
Post a Comment