They were randomly divided into two groups , the group 1 ( n = 879 ) was used to screen risk factors and derived a predictive models based on logistic regression , the group 2 ( n = 826 ) validated the models .