Hi,
I am trying the RESET test (p-value) for a gravity model with fixed effects: (exporter-year, importer-year, pair) as following:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ppml_panel_sg TRADE RTA if exporter != importer, ex(exporter) im(importer) y(year) cluster(pairid)
estimates store PPMLfesPAIR
***RESET test
predict fit, xb
generate fit2 = fit^2
ppml_panel_sg TRADE RTA fit2 if exporter != importer, ex(exporter) im(importer) y(year) cluster(pairid)
test fit2 = 0
drop fit*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
However, I received this mistake:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
note: fit2 omitted because of collinearity over lhs>0 (creates possible existence issue)
Iterating...
test fit2 = 0
fit2 not found
r(111);
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What should I do?
Thanks!
Related Posts with ppml_panel_sg: RESET test (p-value)
NYLS 1979 Panel Data set - nonlinear regressionHello All, I am using the NYLS 1979 data set and I have 12,686 individuals over 26 years. I am look…
threshold cointegrationHi all, I'm using Stata 15.1. I have a balanced panel of 34 countries T=24 years. I found co-integra…
New -chartab- package on SSC to tabulate character frequency countsThanks to Kit Baum, the chartab package is now available on SSC. To install, type in Stata's Command…
Question on Reshaping(?) Data to Create Annual Dummy Variable from Monthly DataHello Everyone, I have data that runs monthly and each observation is a national troop contribution…
Spatial Panel: spmatrix create idistance W says "Two or more observations have the same coordinates"Dear Statalist, I am using Stata 15. and I am working on spatial (SAR) model with panel data. I hav…
Subscribe to:
Post Comments (Atom)
0 Response to ppml_panel_sg: RESET test (p-value)
Post a Comment