Statistics for The detection of phase transitions in the South African market