code studying BSke and mu-statistics