Skip to content
Back to formatted view

Raw Message

Message-ID: <429724FE.1050902@statistik.uni-dortmund.de>
Date: 2005-05-27T13:47:42Z
From: Uwe Ligges
Subject: how to get this kind of binomial distribution simulation number?
In-Reply-To: <200505271326.j4RDQMB9029441@hypatia.math.ethz.ch>

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, how
> can I get and assess  the number of x, y and z. ?


PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

I guess you are looking for ?table, but your question is much too
unspecific....

Uwe Ligges



> luan
> 
> Key Laboratory for Sustainable Utilization of Marine Fisheries Resources,
> Ministry of Agriculture ,Yellow Sea Fisheries Research Institute, Chinese
> Academy of Fishery Sciences, Qingdao 266071,China
> 
> __________________________________________________
> 
> ÑÅ»¢Ãâ·ÑGÓÊÏä£­ÖÐ¹úµÚÒ»¾øÎÞÀ¬»øÓÊ¼þÉ§ÈÅ³¬´óÓÊÏä
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html