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)
Standard errors using Frisch-Waugh-Lovell theoremHi, I need to implement the Frisch Waugh-Lovell-theorem in Stata 15 MP (64-bit) in the context of a …
questions about model selection with lassopackDear STATA users, Sorry to ask you 3 simple questions. 1.When we used lassopack for selecting predi…
Is there a way to rename large number of variables with a single command? (Details)I have a ton of variables, for example, var1_m, var2_m, var3_m, etc. I want to turn them into var1_2…
grouped variablesHi I currently have a variables for income following this structure: Therefore when I run summary s…
Generate with tempfilesI used Stata tempfile code from one of the earlier posts to append multiple years of NHIS mortality …
Subscribe to:
Post Comments (Atom)
0 Response to ppml_panel_sg: RESET test (p-value)
Post a Comment