The first four moments is calculated for data X and data PX. An euclidean distance is calculated between these moments for X and PX.
uni_dist(X, PX)
a data.frame where the first column is only used
another data.frame where the first column is only used
distance between X and PX