Learn R Programming

cwhmisc (version 1.0.0)

FinneyCorr: Finney's correction to log normally distributed data.

Description

FinneyCorr: Finney's correction factor K in $x = e^{ln x} * K$, with $K = e^{s_{\ln}^2/2} \, \left{ 1-\frac{s_{\ln}^2}{4n}(s_{\ln}^2+2)+\frac{s_{\ln}^4}{96n^2}(3s_{\ln}^4+44s_{\ln}^2+84) \right}$, to be used if $ln x$ is normally distributed with standard deviation $s_{ln x}$. FC.lm, s.lm: Finney's correction and standard deviation extracted from an object of class "lm". FinneyCorr(s,n) FC.lm(lmobj) s.lm(lmobj) s{Standard deviation of log data.} n{Number of data points.} lmobj{An object of class "lm".} FinneyCorr(0.346274,24+3) #> 1.059306936 x <- rnorm(100); y <- rnorm(100) lmo <- lm(y ~x) FC.lm(lmo) s.lm(lmo) Finney D.J., 1941. On the distribution of a variable whose logarithm is normally distributed. J. R. Stat. Soc., B 7: 155-161 [object Object],[object Object],[object Object] models regression

Arguments