Partial likelihood methods for panel data