get_mean_pval function

Get mean p-value