Hello,everyone.I want to define results of extat endogenous to be a local.But I find that I can't get return list of estat endogenous,the code "return list" after "estat endogenous " is the return list of ivregress 2sls but not estat endogenous's list?I wonder if you can tell me how to get the return list of estat endogenous.
as an example:

----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
sysuse auto, clear
ivregress 2sls price i.rep78 (foreign = weight turn trunk),r
estat endogenous
return list
end
------------------ copy up to and including the previous line ------------------