MESSAGE
DATE | 2011-05-19 |
FROM | Ruben Safir
|
SUBJECT | Re: [NYLXS - HANGOUT] C++ Workshop - creating a distribution list
|
From owner-hangout-outgoing-at-mrbrklyn.com Thu May 19 19:31:00 2011 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix) id 4A43FFFAE1; Thu, 19 May 2011 19:31:00 -0400 (EDT) Delivered-To: hangout-outgoing-at-www2.mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix, from userid 28) id 353E4FFAE7; Thu, 19 May 2011 19:31:00 -0400 (EDT) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by www2.mrbrklyn.com (Postfix) with ESMTP id C5F38FFAE1 for ; Thu, 19 May 2011 19:30:59 -0400 (EDT) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mailbackend.panix.com (Postfix) with ESMTP id A85F532CBB; Thu, 19 May 2011 19:31:00 -0400 (EDT) Received: by panix5.panix.com (Postfix, from userid 20529) id 9B27124244; Thu, 19 May 2011 19:31:00 -0400 (EDT) Date: Thu, 19 May 2011 19:31:00 -0400 From: Ruben Safir To: Hangout Cc: ruben-at-mrbrklyn.com Subject: Re: [NYLXS - HANGOUT] C++ Workshop - creating a distribution list Message-ID: <20110519233100.GA28777-at-panix.com> References: <4DBB2E6A.2070901-at-panix.com> <20110503030158.GA25747-at-panix.com> <20110517023203.GA13378-at-panix.com> <20110519044033.GA21185-at-panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110519044033.GA21185-at-panix.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
OK
We have a working example now of the standard deviation algorithm. The working code is now located at
http://www.nylxs.com/docs/workshops/stats.h.cpp.html
for the stat's library
http://www.nylxs.com/docs/workshops/linklist.h.html the linklist library
http://www.nylxs.com/docs/workshops/test_del.cpp.html
the test program
the relavent output is as follows
10505021 Found first value ==> '99' at node =='0x836b020 10505022 Found next value ==> '99' at node =='0x836b040 10505023 HELLO WORLD 10505024 The mean population occurance for any number is ==> 1000 10505025 The stanard deviation is ==> 33.8308
next is to create or alter the stddev method so that it looks at a single datapoint, saw the number 7 from a 1000 random selections between 0-99
do that 1000 times and see what it's specifc bellcurve looks like and its standard deviation. With perfect randomness, you would expect and mean of 1/100 * 1000 = 10.
|
|