Statistics for Spectroscopic and photometric observations and analysis of compact binaries