SimNonNormalDist: SimNonNormalDist function

Description Usage Arguments Details Value Examples

View source: R/SimNonNormalDist.R

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

1
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 Values.

V1,...,V5

Lists of sample vectors separated by categories.

Examples

1
2
3
# Generate simulation data with 100 samples per categories with 10% of uniform noise

simData<-SimNonNormalDist(nInv=100,noisePer=0.1)

EDOIF documentation built on March 28, 2021, 9:11 a.m.