Analyzing panel data