1.2.3-SNAPSHOT Arrow_down_16x16

censored-mean-lower

incanter.censored

  • (censored-mean-lower a mu sigma)
Returns the mean of a normal distribution (with mean mu and standard
deviation sigma) with the lower tail censored at 'a'

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/censored.clj:56 top

(defn censored-mean-lower
" Returns the mean of a normal distribution (with mean mu and standard
  deviation sigma) with the lower tail censored at 'a'
"
  ([a mu sigma]
   (let [a-std (psi a mu sigma)]
    (+ (* (cdf-normal a-std) a)
       (* (- 1 (cdf-normal a-std))
          (+ mu (* sigma (lambda-lower a-std))))))))
Vars in incanter.censored/censored-mean-lower: * + - defn let
Used in 0 other vars

Comments top

No comments for censored-mean-lower. Log in to add a comment.