Cognitive and noncognitive predictors of academic difficulty and attrition