Statistical correlation between daily and monthly averages of solar-radiation data