Hi All,
I am pretty new to Stata , so a bit lost on this one.
I am trying to find Peer Firm averages of Mean , Median and St.Dev grouped by Industry (SIC code) but excluding the ith (firm specific observation)

Any suggestions on how to approach this?

Thank you in Advance

Judith