Re: [R] acos(0.5) == pi/3 FALSE

From: Johannes Hüsing <johannes_at_huesing.name>
Date: Tue 19 Sep 2006 - 20:31:17 GMT

Peter Dalgaard:
> Ben Bolker <bolker@zoo.ufl.edu> writes:

>>          1. compose your response

> I've always wondered why step 1. - often the time-consuming bit - is not
> listed last.

The advice applies to the situation when answering immediately would be your knee-jerk reaction. It is assumed that actually composing and sending the mail would take very little time and thought, whereas coming around to answering it after runif(1)*4 hours would take considerably more time, even when mulitiplied with the probability that you are still the first one.

Looking at the submission times of questions and answers in this particular case, though, I would be upset if the helpful guys actually used this algorithm. Most of the answers were submitted after 3.5 to 4 h time, thus revealing a possible flaw of the random number generator underlying runif().



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 and provide commented, minimal, self-contained, reproducible code. Received on Wed Sep 20 06:36:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 20 Sep 2006 - 16:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.