momentsLogitnorm: momentsLogitnorm

Description Usage Arguments Value Author(s) Examples

Description

First two moments of the logitnormal distribution by numerical integration

Usage

1
momentsLogitnorm(mu, sigma, abs.tol = 0, ...)

Arguments

mu

parameter mu

sigma

parameter sigma

abs.tol

chaning default to integrate

...

further parameters to the integrate function

Value

named numeric vector with components

  • mean: expected value, i.e. first moment

  • var: variance, i.e. second moment

Author(s)

Thomas Wutzler

Examples

1
2
3
4
(res <- momentsLogitnorm(4,1))


(res <- momentsLogitnorm(5,0.1))


Search within the logitnorm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.