Displaying 1 result from an estimated 1 matches for "mean_log".
Did you mean:
meanlog
2008 Apr 01
1
set the lower bound of normal distribution to 0 ?
...-values I have standard deviations
sd_x=0.3372137, sd_y=0.5120841 and the means mean_x=0.3126667
mean_y=0.4223137 which are not on log scale as required in urlnorm.
To covert sd_x, sd_y and mean_x, mean_y on a log-scale I did
sd_logx=sqrt(log(1.3372137))=0.54, sd_logy=sqrt(log(1.5120841))=0.64,
mean_logx=-(0.54^2)/2 and mean_logy=-(0.64^2)/2. Can anyone tell if these
are correctly calculated? Are these the values to be specified in urlnorm?
Do the lower respectively upper bound have to be on the log-scale as well
or which scale?
set.seed(7)
> for(i in 1:len){
> s1[[i]]<-cbind.data...