Description Usage Arguments Value Examples
Simulates samples of normally distributed data, each "contaminated" with outliers from a different normal distribution according to a user-specified probability.
1 2 |
nsamps |
The number of samples to simulate. |
n |
The number of independent observations per sample |
gamma |
The probability that each observation is from the non-target distribution. |
theta |
The expectation of the target distribution. |
lambda |
The expectation of the non-target / "contamination" / outlier distribution. |
targ.sd |
The standard deviation of the target distribution. |
out.sd |
The standard deviation of the outlier distribution. |
A matrix of independent random numbers with nsamps rows and n columns.
1 | rnorm.out(5, 20, .2, 0, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.