Essays on Retail Electricity Markets and Methods for Analyzing Matched Data