Statistics for Chaos in the Takens–Bogdanov bifurcation with O(2) symmetry