[R] mixture normal distributions

2006-02-10 Thread aleid2001
Dear R helper, I mange to transform uniform sequences to mixture normal distributions using the following cods: K-5 prime-c(29) , where 29 is prim number UN-seq(1:K)%*%t(sqrt(prime)) U1-UN-as.integer(UN) e-norMix(mu=c(-0.825,0.275), sig2 = c(0.773,0.773), w = c(0.25,0.75), name =

[R] Mixture normal distribution

2006-02-08 Thread aleid2001
Dear R helper, I hope that u can help me to sort out my problem because I sent an E-mail last night to R-list but I have not receive any help and at the same time I think this problem is not so hard. I have used the following functions before K-10 prime-c(2,3,5,7,11,13,17)

[R] hi frinds

2006-02-07 Thread aleid2001
Hello, i hope that every body are OK there. I would like to calculate the inverse of the cdf of mixture of normal distribution (with 2 components, p,(1-p)) from uniform points (0,1] using R. In this case i have to specify the 2 means and 2 variances and the mixing proportions (p, (1-p)). I am