pvalue_all function

Calculate the jth all pvalue.