Simulate random error
1 2 | baSimuError(n, error.type = c("normal", "skewed"), sig = 1, mu = 0,
skew.mu = NULL, skew.phi = NULL, skew.noise = 0.001)
|
Skewed distribution: Prameterization: mu, phi; RNBINOM uses (n,p) with: phi = n, mu = n(1-p)/p; Mean: mu = n(1-p)/p #; Variances: mu(1+mu/phi) = n (1-p)/p^2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.