[R] binomial distribution

2010-08-28 Thread tamas barjak
Hello! I need some help. How I know it to draw the formula of the binomial distribution? expr-expression(P(xi == k) == choose(n, k)* p^k*(1-p)^(n-k)) --- not good on the screen the choose(n, k) not the Binomial Formula, but choose(n, k) Thanx! [[alternative HTML version deleted]]

Re: [R] binomial distribution

2010-08-28 Thread Cuckovic Paik
try: ?pbinom -- View this message in context: http://r.789695.n4.nabble.com/binomial-distribution-tp2398568p2398705.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] binomial distribution

2010-08-28 Thread Peter Dalgaard
On 08/28/2010 10:23 PM, tamas barjak wrote: Hello! I need some help. How I know it to draw the formula of the binomial distribution? expr-expression(P(xi == k) == choose(n, k)* p^k*(1-p)^(n-k)) --- not good on the screen the choose(n, k) not the Binomial Formula, but choose(n, k)

Re: [R] binomial distribution

2010-08-28 Thread tamas barjak
Perfect! Thank You! 2010/8/28 Peter Dalgaard pda...@gmail.com On 08/28/2010 10:23 PM, tamas barjak wrote: Hello! I need some help. How I know it to draw the formula of the binomial distribution? expr-expression(P(xi == k) == choose(n, k)* p^k*(1-p)^(n-k)) --- not good on the

Re: [R] binomial distribution

2008-06-27 Thread Peng Jiang
Hi, xiechao i don't think that is a R specific problem. you mean u got two random variables X,Y and both of them binomial distributed and you want to find the distribution of a new variable Z = X/Y. That is a basic transformation problem. u can start with introducing a new r.v. namely W,

Re: [R] binomial distribution

2008-06-27 Thread Peter Dalgaard
Peng Jiang wrote: Hi, xiechao i don't think that is a R specific problem. you mean u got two random variables X,Y and both of them binomial distributed and you want to find the distribution of a new variable Z = X/Y. That is a basic transformation problem. u can start with introducing a