# Generate simulation data with 100 samples with a mixture distribution
# The distribution consist of the following distributions:
# 1) 10% of uniform distribution range [-400,400];
# 2) 50% of normal distribution with mean = 40 and std =8; and
# 3) 40% of Cauchy distribution with location= 45 and scale = 2.
V<-SimMixDist(nInv=100,mean=40,std=8,p1=0.1,p2=0.5)
Run the code above in your browser using DataLab