Boost C++ Libraries: Ticket #6128: rolling_variance addition https://svn.boost.org/trac10/ticket/6128 <p> LS, </p> <p> I have just finished writing an implementation and test of a rolling_variance which I would be happy to contribute to the framework. </p> <p> It includes a redone version of rolling_mean which avoids potential overflow and accuracy issues. The rolling_variance currently returns zero when there are less than 2 samples available. </p> <p> I'd be happy to do assist to make this fit the accumulator framework better and I include a first draft of the code. Nothing spectacular, but I have not seen the 'rolling' version being published anywhere in the exact form needed, making this non-trivial to implement anyway. </p> <ul><li>Pieter </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6128 Trac 1.4.3 Pieter Ober <jaapaap@…> Wed, 16 Nov 2011 16:51:21 GMT attachment set https://svn.boost.org/trac10/ticket/6128 https://svn.boost.org/trac10/ticket/6128 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">RollingMean.hpp</span> </li> </ul> Ticket Pieter Ober <jaapaap@…> Wed, 16 Nov 2011 16:51:35 GMT attachment set https://svn.boost.org/trac10/ticket/6128 https://svn.boost.org/trac10/ticket/6128 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">RollingVariance.hpp</span> </li> </ul> Ticket Pieter Ober <jaapaap@…> Wed, 16 Nov 2011 16:52:04 GMT attachment set https://svn.boost.org/trac10/ticket/6128 https://svn.boost.org/trac10/ticket/6128 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">UnitTestsAccumulators.cpp</span> </li> </ul> Ticket Pieter Ober <jaapaap@…> Wed, 16 Nov 2011 16:57:24 GMT attachment set https://svn.boost.org/trac10/ticket/6128 https://svn.boost.org/trac10/ticket/6128 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">UnitTestsAccumulators.2.cpp</span> </li> </ul> <p> Correct version with all the decimails reported... </p> Ticket David Bellot Wed, 06 Jun 2012 22:24:26 GMT <link>https://svn.boost.org/trac10/ticket/6128#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6128#comment:1</guid> <description> <p> in the constructor and in operator(), "args" is not used and sometimes, this generates warnings. One simple solution is to add a void statement like this (the famous UNUSED(x) macro): </p> <p> (void) args; </p> <p> in the unit test, it's ok without it but not in more complex code. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 11 Oct 2013 07:47:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6128#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6128#comment:2</guid> <description> <p> Is there any update on this? It would be useful to have rolling variance in Boost Accumulators. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 22 Oct 2013 11:19:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6128#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6128#comment:3</guid> <description> <p> I agree with anonymous. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 26 Jun 2014 19:14:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6128#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6128#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/6128#comment:3" title="Comment 3">anonymous</a>: </p> <blockquote class="citation"> <p> I agree with anonymous. </p> </blockquote> <p> Are there any news about the addition of rolling_variance? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Thu, 26 Jun 2014 19:19:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6128#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6128#comment:5</guid> <description> <p> It has already been merged to the develop branch. I'm dealing with some test failure. Then I'll merge to release. </p> </description> <category>Ticket</category> </item> </channel> </rss>