Observational and statistical analysis of acoustic oscillations in the solar interior and the corona