demo_simple_gamma: Tests 1-dimensional Gamma Distribution with customized...

Description Usage Arguments

View source: R/demo_simple_gmm.R

Description

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.

Usage

1
2
3
4
5
6
7
demo_simple_gamma(
  trueshape = 10,
  truescale = 3,
  noisemu = 5,
  noisesd = 2,
  n = 100
)

Arguments

trueshape

shape of true gamma distribution

truescale

scale of true gamma distribution

noisemu

mean of gaussian noise to add

noisesd

standard deviation of gaussian noise to add

n

number of samples to generate


KSD documentation built on Jan. 13, 2021, 8:39 a.m.