Statistics for Correcting CCD photometry of stars for seeing effects