[18905] in s-news-athena

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

[S] Re: poisson random variate

daemon@ATHENA.MIT.EDU (Qingshou Huang 647-6716)
Tue Aug 10 10:00:32 1999

Message-Id: <9908101355.AA29922@crx.pci.upmc.edu>
To: s-news@wubios.wustl.edu
Cc: huang@crx.pci.upmc.edu
Date: Tue, 10 Aug 1999 09:55:40 -0400
From: "Qingshou Huang 647-6716" <huang@crx.pci.upmc.edu>


Hi All,
I believe I should restate my question as following due to some errors:
such as '3D' stuff.
     
When lambda =10, Chi-square goodness-of-fit test failed at alpha =0.05 level 
for the script file below. Why?
         set.seed(35)
         sdata<-sort(rpois(100000,lambda=10)) 
         breaks<-quantile(sdata)
         breaks[1]<-breaks[1]-1
	 chisq.gof(sdata,cut.points=breaks,dist="poisson",lambda=10) 

Thanks in advance for any explanation.
     
Qingshou
-----------------------------------------------------------------------
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