Habits are stronger with longer duration of illness and greater severity in anorexia nervosa.