[18895] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] poisson random variate

daemon@ATHENA.MIT.EDU (Qingshou Huang 647-6716)
Mon Aug 9 14:53:00 1999

Message-Id: <9908091849.AA28137@crx.pci.upmc.edu>
To: s-news@wubios.wustl.edu
Cc: huang@crx.pci.upmc.edu
Date: Mon, 09 Aug 1999 14:49:06 -0400
From: "Qingshou Huang 647-6716" <huang@crx.pci.upmc.edu>


Hi All,
I have a question about the function rpois():
     
When lambda =3D 10, Chi-square goodness-of-fit test failed at alpha =3D 
0.05 level for my codes bellow. Why?
         set.seed(35)
         sdata<-sort(rpois(100000,lambda=3D10)) 
         breaks<-quantile(sdata)
         breaks[1]<-breaks[1]-1
	chisq.gof(sdata,cut.points=3Dbreaks,dist=3D"poisson",lambda=3D10) 

Thanks in advance for any explanation.
     
Qingshou

----------------------------------------------------------------------
Qingshou HUang         phone: (412)647-6716            
                       fax:     (412)647-5678  
     
University Pittsburgh Medical Center     
----------------------------------------------------------------------

     

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post