Re: [R] poisson distribution

2010-09-06 Thread tamas barjak
Successful! Thank you! 2010/9/6 David Winsemius > > On Sep 6, 2010, at 1:13 PM, tamas barjak wrote: > > Hello! >> >> I need some help. >> How I know it to draw the formula of the poisson distribution? >> >> expr<-expression(P(xi == k) == frac(lambda^k, factorial(k))*e^-lambda) >> ---> >> not

Re: [R] poisson distribution

2010-09-06 Thread David Winsemius
On Sep 6, 2010, at 1:13 PM, tamas barjak wrote: Hello! I need some help. How I know it to draw the formula of the poisson distribution? expr<-expression(P(xi == k) == frac(lambda^k, factorial(k))*e^- lambda) ---> not good ?plotmath (Do not see factorial as a plotmath "function" Try: ex

[R] poisson distribution

2010-09-06 Thread tamas barjak
Hello! I need some help. How I know it to draw the formula of the poisson distribution? expr<-expression(P(xi == k) == frac(lambda^k, factorial(k))*e^-lambda) ---> not good on the screen the " k! " not the Poisson Formula, but "factorial(k)" Thanx! [[alternative HTML version deleted]]

[R] Poisson Distribution - Chi Square Test for Goodness of Fit

2008-09-07 Thread saggak
Dear R-help,   Chi Square Test for Goodness of Fit     Problem Faced :   I have got a discrete data as given below (R script)   No_of_Frauds <-c 1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,2,2,1,1,2,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,2,1,1,1,1,1,1,1

[R] Poisson Distribution - problem with Chi Square Goodness of Fit test

2008-08-29 Thread saggak
Chi Square Test for Goodness of Fit   I have got a discrete data as given below (R script)   No_of_Frauds<-c(1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,2,2,1,1,2,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,2,1,1,1,1,1,1,1,3,2,1,1,1,2,1,1,2,1,1,1,1,1,2,1,3,1,2,1,2,14,2