On weighted distribution with applications to goodness-of-fit testing | Synapse