Statistics for Data-Driven Inverse Optimization with Applications in Electricity Markets