Compare subsamples of cross-sections
Posted: Tue Feb 16, 2010 10:09 am
Hello,
I have created a panel dataset. How do I compare means or medians of variables of samples of cross-section ID's with eachother? For example; If I have 100 cross-sections for 10 years, how can I compare the mean of return on equity of cross-sections 2,4,6 with the mean of 5,8,9? I use 'date' as dateid and 'id' as cross-section id.
I hope this is possible, but I can not figure out how.
Thanks for your help.
I have created a panel dataset. How do I compare means or medians of variables of samples of cross-section ID's with eachother? For example; If I have 100 cross-sections for 10 years, how can I compare the mean of return on equity of cross-sections 2,4,6 with the mean of 5,8,9? I use 'date' as dateid and 'id' as cross-section id.
I hope this is possible, but I can not figure out how.
Thanks for your help.