FrankChen021 commented on code in PR #12470:
URL: https://github.com/apache/druid/pull/12470#discussion_r855791243
##########
docs/development/extensions-core/stats.md:
##########
@@ -35,10 +35,13 @@ The American Statistician, 37 (1983) pp. 242--247.
variance = variance1 + variance2 + n/(m*(m+n)) * pow(((m/n)*t1 - t2),2)
-where: - variance is sum(x-avg^2) (this is actually n times the variance)
-and is updated at every step. - n is the count of elements in chunk1 - m is
-the count of elements in chunk2 - t1 = sum of elements in chunk1, t2 =
-sum of elements in chunk2.
+where:
+ - variance is sum(x-avg^2) (this is actually n times the variance)
+and is updated at every step.
+ - n is the count of elements in chunk1
+ - m is the count of elements in chunk2
+ - t1 = sum of elements in chunk1
+ - t2 = sum of elements in chunk2.
Review Comment:
```suggestion
- t2 is the sum of elements in chunk2
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]