In its first real test as a publicly traded company, Groupon today reported quarterly earnings that missed expectations, and its shares are being punished as a result.

Analysts had expected the company to turn its first profit in the fourth quarter, but Groupon instead posted a $43 million loss, or 8 cents a share.

The daily deals company...