Fix bug, correct probabilities

main
Eric Ihli 4 years ago
parent 3bd356fa8b
commit cbde1996dc

@ -312,9 +312,8 @@
lgt? lgt?
e e
(conj estimations estimation))))) (conj estimations estimation)))))
#_#_ N* (apply + (map #(apply * %) (map vector rs estimations))) N* (apply + (map #(apply * %) (map vector nrs estimations)))]
] [(map #(* (- 1 p0) (/ % N*)) estimations)]))
[estimations]))
(comment (comment
(let [rs [1 2 3 4 5 6 7 8 9 10 12 26] (let [rs [1 2 3 4 5 6 7 8 9 10 12 26]

Loading…
Cancel
Save