Displaying 1 result from an estimated 1 matches for "bucketizada".
Did you mean:
bucketizados
2014 Oct 15
2
Test K-S con distribuciones LogNormales
...>> df <- plnorm(sample, meanlog = mean, sdlog = sd)
>> lognorm1 <- data.frame(sample=sample, distfun=df)
>> # Gráfica de la función de distribución sin bucketizar
>> plot(lognorm1, type = "l", col = "red")
>>
>> # Bucketización - Muestra bucketizada
>> library(plyr)
>> 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...