Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65055

computing industrial medians based on conditions

$
0
0
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

Viewing all articles
Browse latest Browse all 65055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>