powered by
First two moments of the logitnormal distribution by numerical integration
momentsLogitnorm(mu, sigma, abs.tol = 0, ...)
named numeric vector with components
mean: expected value, i.e. first moment
mean
var: variance, i.e. second moment
var
parameter mu
parameter sigma
changing default to integrate
integrate
further parameters to the integrate function
Thomas Wutzler
(res <- momentsLogitnorm(4,1)) (res <- momentsLogitnorm(5,0.1))
Run the code above in your browser using DataLab