search for: mulog

Displaying 2 results from an estimated 2 matches for "mulog".

Did you mean: mlog
2009 Jul 31
1
what meaning missing value True /False needed
...################### LRScenar  <-  function(PriorLR,Phase,LRUpBound ,LRLowBound,TransitCoefMean,TransitCoefStdDev,LTMeanComputYearNb) {  initial  <- PriorLR                       LRScenar  <-  NULL  phase2  <-  Phase  SigmaLog  <-  (log(1+(TransitCoefStdDev /TransitCoefMean)^2))^0.5  MuLog  <-  log(TransitCoefMean)-SigmaLog^2/2  for (i in 1:LTMeanComputYearNb)  {  kk <- rlnorm(1, meanlog = MuLog, sdlog = SigmaLog)  if (phase2!=1) kk  <-  (1/kk)  x_1  <-  initial*kk  initial  <-  x_1  if (((x_1 > LRUpBound )&(phase2==1))|((x_1<LRLowBound)&(phase2==-1)))  p...
2009 Feb 11
3
Generating Numbers With Certain Distribution in R
Dear all, Is there a way to generate K numbers of integer (K = 10^6). The maximum value of the integer is 200,000 and minimum is 1. And the occurrences of this integer follows a lognormal distribution. - Gundala Viswanath Jakarta - Indonesia