search for: dtlnorm0

Displaying 1 result from an estimated 1 matches for "dtlnorm0".

Did you mean: dtlnorm
2006 Aug 18
0
Fitting Truncated Lognormal to a truncated data set (was: fitting truncated normal distribution)
...lt; n) { y <- rlnorm(n - length(ret), mean, sd) y <- y[y >= lower & y <= upper] ret <- c(ret, y) } stopifnot(length(ret) == n) ret } x <- rtlnorm(100, mean=-11.64857, sd = 3.422795, 0.01) fitting truncated normal distribution" on 8/16/2006. dtlnorm0 <- function(x, mean = 0, sd = 1) { dtlnorm(x, mean, sd, 0.01, Inf) } fitdistr(x, dtlnorm0, start = list(mean = -11, sd = 1)) Thank you. platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 2.1 year 2005 month 12 day 20 svn rev...