Gibbon Shanken Ross F Test

Hi everyone,

I'm trying to do GRS-F test in stata and test requires the data in wide format. I tried to 'xpose' and 'rehape' commands, the dates became messy or the variables went absent:( Does anyone has a suggestion about how I could create data that is compatible with GRS -F test ?