1.2.3-SNAPSHOT Arrow_down_16x16

sum-variance-test

incanter.stats

  • (sum-variance-test vs)
the variance of the sum of n independent variables is equal to the sum of their variances.

(variance-independence-test [[1 2 3 4] [1 2 3 4]]) -> 5/2

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/stats.clj:2902 top

(defn sum-variance-test 
"the variance of the sum of n independent variables is equal to the sum of their variances.

 (variance-independence-test [[1 2 3 4] [1 2 3 4]]) -> 5/2
"
[vs]
 (- (variance (apply map + vs))
    (apply + (map variance vs))))
Vars in incanter.stats/sum-variance-test: + - apply defn map
Used in 0 other vars

Comments top

No comments for sum-variance-test. Log in to add a comment.