Both groups showed significant posttreatment improvement in the scores from the Massachusetts General Hospital Hairpulling Scale ( F = 23.762 , P < .001 ) and the Beck Depression Inventory ( F = 6.579 , P = .003 ) .