shifted_lnorm: Shifted lognormal distribution

shifted_lnormR Documentation

Shifted lognormal distribution

Description

Density, distribution function, quantile function and random generation of the shifted lognormal distribution. The random variable is shift + Y with \log(Y) \sim N(meanlog, sdlog^2). The parameter names and the order (meanlog, sdlog, shift) follow the functions of the same name in package brms, so that existing parameter vectors keep working.

Usage

dshifted_lnorm(x, meanlog = 0, sdlog = 1, shift = 0, log = FALSE)

pshifted_lnorm(
  q,
  meanlog = 0,
  sdlog = 1,
  shift = 0,
  lower.tail = TRUE,
  log.p = FALSE
)

qshifted_lnorm(
  p,
  meanlog = 0,
  sdlog = 1,
  shift = 0,
  lower.tail = TRUE,
  log.p = FALSE
)

rshifted_lnorm(n, meanlog = 0, sdlog = 1, shift = 0)

Arguments

x, q

Vector of quantiles.

meanlog

Mean of the underlying normal distribution on the log scale.

sdlog

Standard deviation of the underlying normal distribution on the log scale.

shift

Lower bound of the distribution.

p

Vector of probabilities.

n

Number of random values.

Value

dshifted_lnorm gives the density, pshifted_lnorm the distribution function, qshifted_lnorm the quantile function and rshifted_lnorm generates random values.

Author(s)

(C) 2021-2026 K. Nille-Hauf, T. Feiri, M. Ricker, T. Lux – Hochschule Biberach (until 2022), TU Dortmund University - Chair of Structural Concrete (since 2023)


TesiproV documentation built on Oct. 28, 2026, 5:13 p.m.