Variance

Home Forums Indicators Variance

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #407
    Corlade
    Participant

    Welford’s method for computing variance is using single pass method for calculation, but it is still using a loop.

    This method is avoiding loops after initial values are set up and that makes it much faster and suitable for usage where speed of execution is a must.

    If you compare it to Welford’s method, there will be a difference. That is coming from a fact that Welford’s method is using sample correction, while this method is not – the difference is small, and if you are used to using built in indicators using any sort of standard deviation (apart from std, Bollinger bands, …)  then compare it to this one, but if you are calculating values that are ranging very much (some values are very different that the standard sample values) then use Welford’s method

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.