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)
Recover population size by groupHi, I am trying to construct a "population" variable from household survey data. Data is collected …
Question analysing data - counting different values of variables if another variable has a set valueHi there I have a Dataset of lots of observations (People) with lots of variables. For example I hav…
🐛 Stata inserts ESC as a character into inputI've been looking for a way to reproduce this since about the times of Stata 10, and finally today f…
Title size in coefplot graphsDear Stata users, I am using user-written "coefplot" function to plot coefficients and standard err…
stsplit at specific date which is different for every observationHi there, I'm trying to asses if is there an increased risk of virological failure in one year follo…
Subscribe to:
Post Comments (Atom)
0 Response to ppml_panel_sg: RESET test (p-value)
Post a Comment