I am creating median industrial CG Index using the following code:
bysort Industry : egen Industry_Median = median( CG_Index )
I want to add another condition to this code. when computing industry median CG_Index I do not want to include the firm for which the Industry median is being computed.how can i do that? thanks
bysort Industry : egen Industry_Median = median( CG_Index )
I want to add another condition to this code. when computing industry median CG_Index I do not want to include the firm for which the Industry median is being computed.how can i do that? thanks