A global analysis of the variability of the quasi-biennial oscillation