Narasimhan Sowmyanarayanan said
1. Is there a more efficient method that I can implement
2. Am I doing somethig wrong with my eret2 command.
I will be grateful if someone can resolve this problem. Mark: I
appreciate your help and reply so far.
---------------
sysuse auto,clear
reg price mpg headroom
mat vce = e(V) * 20
mat b = e(b)
capt program drop eret3
program eret3, eclass
syntax , B(string) V(string)
ereturn post `b' `v'
ereturn display
end
eret3, b(b) v(vce)
mat list e(V)
-----------------
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/