In reply to Ksharp.

sum(mean_std[ < > ,]-mean_std[><,]);