Perform 4P or 5P logistic regressions