Displaying 1 result from an estimated 1 matches for "defon".
Did you mean:
decon
2011 Sep 21
2
problem with function "Truncate" in package "distr"
...e
one below), it does not.
# R code example
library(distr)
mix<-UnivarMixingDistribution(Lnorm(3.2,0.5),Lnorm(5.4,0.6),mixCoeff=c(0.3,0.7))
mix.trunc<-Truncate(mix,lower=0.001,upper=3000)
distr.sample<-r(mix.trunc)(1000000)
range(distr.sample)
Why do I get values over 3000 (which was the defoned upper limit)?
Some help would be greatly appreciated.
Duarte Viana