RR Lyrae variables have periods of about a day. Their brightness doubles from dimest to brightest.
Cepheid variables have longer periods, from one day up to about 50 days. Their brightness also doubles from dimest to brightest.
The shape of the ``light curve'' of a Cepheid variable star, one can tell that it is a Cepheid variable. The period is simple to measure, as is the apparent brightness at maximum brightness.
This enables astronomers to determine distances:
Davison E. Soper, Institute of Theoretical Science, University of Oregon, Eugene OR 97403 USA soper@bovine.uoregon.edu