[R] fit for truncated normal distribution

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Sat Mar 14 19:42:58 CET 2020


Inline.

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Sat, Mar 14, 2020 at 10:36 AM |Juergen Hedderich <j.hedderich using t-online.de>
wrote:

> Dear R-help list members,
>
> the R Session aborted without any 'comment'  for the following 'small
> example':
>
> /library(fitdistrplus)
> library(truncnorm)
>
> filter <- c(4.98, 8.60, 6.37, 4.37, 8.03, 7.43, 6.83, 5.64, 5.43, 6.88,
>              4.57, 7.50, 5.69, 7.88, 8.98, 6.79, 8.61, 6.70, 5.14, 7.29)
>
> fit  <- fitdist(filter, "truncnorm", fix.arg=list(a=-Inf, b=9),
>                  start=list(mean=mean(filter), sd=sd(filter)),
>                  optim.method="L-BFGS-B",
>                  lower=c(-0.1, -0.1), upper=c(Inf, Inf))/
>
> R worked fine in an 'older'  R-version (environment). Can anyone help me?
>

I can't. But without including the specifics of the older and newer
software (including OS version, maybe), maybe no one can.
See ?sessionInfo



>
> Many thanks in advance.
>
> Best regards
>
> J. Hedderich
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list