Statistical analysis of composite spectra