demo_simple_gaussian {KSD} | R Documentation |
Tests 1-dimensional Gaussian Distribution with customized parameters
Description
We generate a gaussian distribution with given parameters, and add noise to this dataset. We then compute the score of each dataset for the original true distribution.
Usage
demo_simple_gaussian(truemu = 5, truesd = 1, noisemu = 0, noisesd = 2, n = 100)
Arguments
truemu |
mean of true distribution |
truesd |
standard deviation of true distribution |
noisemu |
mean of gaussian noise to add |
noisesd |
standard deviation of gaussian noise to add |
n |
number of samples to generate |
[Package KSD version 1.0.1 Index]