matching a statistical distribution