Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

momentsLogitnorm

momentsLogitnorm


Description

First two moments of the logitnormal distribution by numerical integration

Usage

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

Arguments

mu

parameter mu

sigma

parameter sigma

abs.tol

changing 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

(res <- momentsLogitnorm(4,1))
(res <- momentsLogitnorm(5,0.1))

logitnorm

Functions for the Logitnormal Distribution

v0.8.38
GPL-2
Authors
Thomas Wutzler
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.