RE: [R] how to get this kind of binomial distribution simulation number?

2005-05-27 Thread Huntsinger, Reid
ch; R-help@stat.math.ethz.ch Subject: [R] how to get this kind of binomial distribution simulation number? hai, I want to perform a simulation like this: Suppose that I have one population ,it's size is 500, is composed of x,y and z. The probability of x, y and z is respectively is 0.3,

Re: [R] how to get this kind of binomial distribution simulation number?

2005-05-27 Thread Uwe Ligges
luan_sheng wrote: > > hai, I want to perform a simulation like this: > > Suppose that I have one population ,it's size is 500, is composed of x,y > and z. The probability of x, y and z is respectively is 0.3, 0.5, 0.2. I > wan to simulate a new same size population based ratio of x, y and z, h

[R] how to get this kind of binomial distribution simulation number?

2005-05-27 Thread luan_sheng
hai, I want to perform a simulation like this: Suppose that I have one population ,it's size is 500, is composed of x,y and z. The probability of x, y and z is respectively is 0.3, 0.5, 0.2. I wan to simulate a new same size population based ratio of x, y and z, how can I get and assess the n