[R] Random Nos

Saptarshi The Dude Guha sapsi at rediffmail.com
Sat Feb 3 21:39:31 CET 2001


R-lings,
I know the algo for Laplace generation, but arent there any packages available. 
Also, i'm trying to check for the Bernoulli sums obey the CLT, but though i calculate 2000 values of
           S(n)-n*p
          ----------
           sqrt(n*p*(1-p))

for p=.5 and n=45, this fails both KS test and shapiro test.
Why??
Thanks
sapsi
ISI,Delhi

please reply to sapsi at bigfoot.com



_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list