search for: lognorm2

Displaying 3 results from an estimated 3 matches for "lognorm2".

Did you mean: lognorm
2007 Nov 14
2
Generating log transformed random numbers
Dear R users, My question is that how it is possible to generate some random numbers using rnorm( ) function but in log transformed values. Thank you, Tobias --------------------------------- [[alternative HTML version deleted]]
2014 Oct 15
2
Test K-S con distribuciones LogNormales
...>> dt <- data.frame(sample=sample, bucket=rep(1:nbucket, each = n/nbucket)) >> sample_bucket <- ddply(dt,~bucket,summarise,mean=mean(sample)) >> >> # Función de distribución bucketizada >> dfb <- plnorm(sample_bucket$mean, meanlog = mean, sdlog = sd) >> lognorm2 <- data.frame(sample=sample_bucket$mean, distfun=dfb) >> par(new=TRUE) >> points(lognorm2, col = "blue") >> >> ks.test(lognorm1$sample, lognorm2$sample) # Obtengo p-valor=1 >> >> El problema es que obtengo un p-valor de 1, y creo que debería obtener...
2012 Sep 29
5
Generating by inverting function
Hello, I am trying to generate random survival times by inverting the function,  S(t)= exp(b*F(t)), where b is constant and F(t) is some cumulative distribution function, let say that F(t) is cdf of normal distribution or any others distributions.   as we know that S(t) has uniform distribution on  (0,1) so we can write that U= exp(b*F(t)), where U is uniform (0,1). Now to generat the time t, we