We generate a gamma distribution with given parameters, and add gaussian noise to this dataset. We then compute the score of each dataset for the original true distribution.
demo_simple_gamma(
trueshape = 10,
truescale = 3,
noisemu = 5,
noisesd = 2,
n = 100
)
shape of true gamma distribution
scale of true gamma distribution
mean of gaussian noise to add
standard deviation of gaussian noise to add
number of samples to generate