compute_diffmeans_sumvar function

Compute diff mean sum var dataframe