Time series analysis of cosmic ray data