SimNonNormalDist {EDOIF} | R Documentation |
SimNonNormalDist function
Description
SimNonNormalDist is a support function for generating samples from mixture distribution.
There are five categories. Each categories has nInv
samples.
Categories C1,C2,C3, and C4 are dominated by C5 but none of them dominate each other.
Usage
SimNonNormalDist(nInv, noisePer)
Arguments
nInv |
is a number of samples the function will generate for each category. |
noisePer |
is ratio of uniform distribution within a mixture distribution. It is considered as a uniform noise that make an approach to hardly distinguish whether one distribution dominates another. |
Details
The main purpose of this function is to generate samples that contains domination relation among categories.
Value
This function returns a list of samples Values
and their category Group
generated by a mixture distribution.
Values |
A vector of samples generated by a mixture distribution. |
Group |
A list of categories associated with |
V1 , ... , V5 |
Lists of sample vectors separated by categories. |
Examples
# Generate simulation data with 100 samples per categories with 10% of uniform noise
simData<-SimNonNormalDist(nInv=100,noisePer=0.1)