Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: Testing random Date: Wed, 10 Jun 2015 19:03:43 +0200 Organization: PointedEars Software (PES) Lines: 46 Message-ID: <16299015.icEhCTIHP8@PointedEars.de> References: <87oaksowwg.fsf@Equus.decebal.nl> <1451048.pW9z17ilMA@PointedEars.de> <3158703.Lr4HFMbMOd@PointedEars.de> <1656356.OjxBvjpJ5d@PointedEars.de> <5515034.V7dcXEWAvK@PointedEars.de> <1583276.2lplL8rY5W@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1433955996 21622 eJwFwQkBwDAIA0BNGSGscniKfwm9cxPUQbno6yt25jVAigxPmA5O0WY2+fU0pwpu1G938AAaShEi (10 Jun 2015 17:06:36 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 10 Jun 2015 17:06:36 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNy8EBwCAIA8CVREjQcVDM/iO09z84jTeDYECQ6fXSu7ProERp+RvbTrJrY+gpV17/j+itYtJBt2jMsPMBjs4WOg== Cancel-Lock: sha1:pd4LcfOHMPwQDhBvZA9L5ZHl66Q= X-NNTP-Posting-Host: eJwFwQkBACAIBLBKIPLFAeH6R3BTMbbn19SuQiEtFL3Vh73yjUcNY2LTC9xYSqmgM5d3IfQBMs4R6A== Xref: csiph.com comp.lang.python:92410 Jussi Piitulainen wrote: > Thomas 'PointedEars' Lahn writes: >> Jussi Piitulainen wrote: >>> Thomas 'PointedEars' Lahn writes: >>>> 8 3 6 3 1 2 6 8 2 1 6. >>> >>> There are more than four hundred thousand ways to get those numbers >>> in some order. >>> >>> (11! / 2! / 2! / 2! / 3! / 2! = 415800) >> >> Fallacy. Order is irrelevant here. > > You need to consider every sequence that leads to the observed counts. No, you need _not_, because – I repeat – the probability of getting a sequence of length n from a set of 9 numbers whereas the probability of picking a number is evenly distributed, is (1∕9)ⁿ [(1/9)^n, or 1/9 to the nth, for those who do to see it because of lack of Unicode support at their system]. *Always.* *No matter* which numbers are in it. *No matter* in which order they are. AISB, order is *irrelevant* here. *Completely.* This is _not_ a lottery box; you put the ball with the number on it *back into the box* after you have drawn it and before you draw a new one. > One of those sequences occurred. You don't know which. You do not have to. > When tossing herrings […] Herrings are the key word here, indeed, and they are deep dark red. > Code follows. Incidentally, I'm not feeling smart here. Good. Because you should not feel smart in any way after ignoring all my explanations. > [nonsense] -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.