dlogitnorm: Logit-normal distribution functions

Description Usage Arguments Value Author(s) Examples

View source: R/dlogitnorm.R

Description

The logit-normal distribution is a probability distribution of a random variable whose logit has a normal distribution. If Y is a random variable with a normal distribution, and P is the logistic function, then X = P(Y) has a logit-normal distribution; likewise, if X is logit-normally distributed, then Y = logit(X)= log (X/(1-X)) is normally distributed.

Usage

1
dlogitnorm(x, location = 0, scale = 1)

Arguments

x

input in [0,1]

location

is the location parameter

scale

is the scale parameter

n

number of random variables to generate

Value

Returns a list of results from analysis.

Author(s)

Daniel D Sjoberg [email protected]

Examples

1
2
3
x=seq(0,1,0.1)
y=dlogitnorm(x)
plot(x,y)

ddsjoberg/sjofun documentation built on Oct. 30, 2017, 7:58 a.m.