From: Barry Zajdlik <bzajdlik_at_sentex.net>

Date: Fri 17 Feb 2006 - 06:29:34 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 17 07:05:30 2006

Date: Fri 17 Feb 2006 - 06:29:34 EST

*> x<-rep(0.02,10)
*

> var(x)

*> 0
*

In R:

x<-rep(0.02,10)

var(x)

1.337451e-35

I assumed the problem had to do with machine precision and suitably modified .Machine$double.eps and .Machine$double.neg.eps which I thought would fix the problem but without success. Any pointers to a solution would be appreciated!

Cheers,

Barry Zajdlik

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 17 07:05:30 2006

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:42:31 EST
*