<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Benchmark Ruby Code with R, rsruby and better-benchmark</title>
	<atom:link href="http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/</link>
	<description>News and updates from the people at SmartLogic Solutions</description>
	<lastBuildDate>Sat, 17 Dec 2011 12:57:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: roger</title>
		<link>http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/comment-page-1/#comment-709</link>
		<dc:creator>roger</dc:creator>
		<pubDate>Wed, 24 Dec 2008 13:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=275#comment-709</guid>
		<description>should advertise package in ruby talk :)</description>
		<content:encoded><![CDATA[<p>should advertise package in ruby talk :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger</title>
		<link>http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/comment-page-1/#comment-708</link>
		<dc:creator>roger</dc:creator>
		<pubDate>Wed, 24 Dec 2008 13:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=275#comment-708</guid>
		<description>Fascinating use of ruby.</description>
		<content:encoded><![CDATA[<p>Fascinating use of ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Trupiano</title>
		<link>http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/comment-page-1/#comment-371</link>
		<dc:creator>John Trupiano</dc:creator>
		<pubDate>Thu, 09 Oct 2008 15:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=275#comment-371</guid>
		<description>Thanks for calling this out Pistos.  It would be interesting to explore the mathematical basis for a lot of this a little further (it&#039;s been several years since I took a stats course, so I have some brushing up to do).  I&#039;m particularly excited about what else rsruby can make available to us via R (pretty graphs, charts, etc.).  better-benchmark is a great start, but I think there&#039;s an opportunity to beef it up a bit more (just not sure how and with what yet....back to the drawing board).

I&#039;ve gone ahead and updated this post with results for performing only 25 iterations as per your suggestion.  Note that the p-values this time around are still practically 0.

Last but not least, thanks for creating better-benchmark in the first place!</description>
		<content:encoded><![CDATA[<p>Thanks for calling this out Pistos.  It would be interesting to explore the mathematical basis for a lot of this a little further (it&#8217;s been several years since I took a stats course, so I have some brushing up to do).  I&#8217;m particularly excited about what else rsruby can make available to us via R (pretty graphs, charts, etc.).  better-benchmark is a great start, but I think there&#8217;s an opportunity to beef it up a bit more (just not sure how and with what yet&#8230;.back to the drawing board).</p>
<p>I&#8217;ve gone ahead and updated this post with results for performing only 25 iterations as per your suggestion.  Note that the p-values this time around are still practically 0.</p>
<p>Last but not least, thanks for creating better-benchmark in the first place!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pistos</title>
		<link>http://blog.smartlogicsolutions.com/2008/10/08/benchmark-ruby-code-with-r-rsruby-and-better-benchmark/comment-page-1/#comment-370</link>
		<dc:creator>Pistos</dc:creator>
		<pubDate>Thu, 09 Oct 2008 13:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=275#comment-370</guid>
		<description>Nice comprehensive post.  Thanks for using better-benchmark!  There&#039;s one thing I wanted to point out, though: [Statistics experts caution us](http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test#Test_procedure) that using a high number of pairs in the Wilcoxon test causes the calculated probability(ies) to tend toward a normal approximation.  In our case, the number of pairs is the number of better-benchmark :iterations, and &quot;high&quot; is a subjective number, ranging from 15 to 25.  In your code, you used 100 and, as you can see, your p values were 0.0 and W were 10000.  If I&#039;m not mistaken, these are not usual numbers to get out of the Wilcoxon test.  In contrast, see how I run no more than 20 outer iterations in [my uses of better-benchmark](http://blog.purepistos.net/index.php?s=better-benchmark), choosing instead to increase the time spent per iteration by doing inner iterations. My p values are always non-zero (though sometimes extremely close to zero), and my W values are in the hundreds.

Having said all that, I don&#039;t expect that reducing the iteration count will change the conclusion (of which method is faster), or the statistical significance of the results, but it would raise my confidence in the conclusion.  Perhaps a statistics expert could shed more light on this?</description>
		<content:encoded><![CDATA[<p>Nice comprehensive post.  Thanks for using better-benchmark!  There&#8217;s one thing I wanted to point out, though: [Statistics experts caution us](http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test#Test_procedure) that using a high number of pairs in the Wilcoxon test causes the calculated probability(ies) to tend toward a normal approximation.  In our case, the number of pairs is the number of better-benchmark :iterations, and &#8220;high&#8221; is a subjective number, ranging from 15 to 25.  In your code, you used 100 and, as you can see, your p values were 0.0 and W were 10000.  If I&#8217;m not mistaken, these are not usual numbers to get out of the Wilcoxon test.  In contrast, see how I run no more than 20 outer iterations in [my uses of better-benchmark](http://blog.purepistos.net/index.php?s=better-benchmark), choosing instead to increase the time spent per iteration by doing inner iterations. My p values are always non-zero (though sometimes extremely close to zero), and my W values are in the hundreds.</p>
<p>Having said all that, I don&#8217;t expect that reducing the iteration count will change the conclusion (of which method is faster), or the statistical significance of the results, but it would raise my confidence in the conclusion.  Perhaps a statistics expert could shed more light on this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

