Learn R Programming

lognorm (version 0.1.10)

Functions for the Lognormal Distribution

Description

The lognormal distribution (Limpert et al. (2001) ) can characterize uncertainty that is bounded by zero. This package provides estimation of distribution parameters, computation of moments and other basic statistics, and an approximation of the distribution of the sum of several correlated lognormally distributed variables (Lo 2013 ) and the approximation of the difference of two correlated lognormally distributed variables (Lo 2012 ).

Copy Link

Version

Install

install.packages('lognorm')

Monthly Downloads

326

Version

0.1.10

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Wutzler

Last Published

November 21st, 2021

Functions in lognorm (0.1.10)

getCorrMatFromAcf

Construct the full correlation matrix from autocorrelation components.
computeEffectiveAutoCorr

Estimate vector of effective components of the autocorrelation
getLognormMoments

Compute summary statistics of a log-normal distribution
varCor

Compute the unbiased variance accounting for empirical autocorrelations
setMatrixOffDiagonals

set off-diagonal values of a matrix
computeEffectiveNumObs

Compute the effective number of observations taking into account autocorrelation
estimateParmsLognormFromSample

Estimate lognormal distribution parameters from a sample
estimateSumLognormalSample

Estimate the parameters of the lognormal approximation to the sum
estimateDiffLognormal

Inference on the difference of two lognormals
scaleLogToOrig

Scale standard deviation between log and original scale.
.trimNA

remove NA values at the start and end
getParmsLognormForMedianAndUpper

Calculate mu and sigma of lognormal from summary statistics.
lognorm-package

lognorm: Functions for the Lognormal Distribution
seCor

Compute the standard error accounting for empirical autocorrelations