Advanced statistical analysis toolkit