An Analysis of Packet Sampling in the Frequency Domain