Hi all,
I'm having trouble keeping the stored results from "estat overid" and "estat firststage". I feel like I'm doing everything "correct", but the results are not tabulating in esttab properly.
I run:
ivregress gmm tempvar $ctractX i.year $stX i.ind1 i.st i.occ1 (contract=$ctractinst) [w=weight], robust
estat overid, forceweights
local estadd jstat=r(p_HansenJ), replace
estat firststage
local estat fstat=r(singleresults), replace
When I get to esttab, I include:
stats (r2 N fstat jstat, label("R-squared" "Sample Size" "F-stat" "J-stat")
However, nothing comes up on either of the spaces for f-stat or j-stat. Anyone else have experience tabulating these?
I'm having trouble keeping the stored results from "estat overid" and "estat firststage". I feel like I'm doing everything "correct", but the results are not tabulating in esttab properly.
I run:
ivregress gmm tempvar $ctractX i.year $stX i.ind1 i.st i.occ1 (contract=$ctractinst) [w=weight], robust
estat overid, forceweights
local estadd jstat=r(p_HansenJ), replace
estat firststage
local estat fstat=r(singleresults), replace
When I get to esttab, I include:
stats (r2 N fstat jstat, label("R-squared" "Sample Size" "F-stat" "J-stat")
However, nothing comes up on either of the spaces for f-stat or j-stat. Anyone else have experience tabulating these?
Comment