def PearsonMedianSkewness(xs):
 median = Median(xs)
 mean = RawMoment(xs, 1)
 var = CentralMoment(xs, 2)
 std = math.sqrt(var)
 gp = ((3 * (mean - median)) / std)
 return gp

def PearsonMedianSkewness ( xs ) : median = Median ( xs ) mean = RawMoment ( xs , 1 ) var = CentralMoment ( xs , 2 ) std = math . sqrt ( var ) gp = ( ( 3 * ( mean - median ) ) / std ) return gp
computes the pearson median skewness .