search for: distrlist

Displaying 1 result from an estimated 1 matches for "distrlist".

2012 Jul 02
1
Fitting and Plotting the fitted distributions
Dear all, I have wrote some sample code that would allow me easier fit fast many distributions and check which of the fits performs better. My sample code (that you can of course execute it looks like that) distrList<-list(   "exponential",  "geometric", "log-normal",  "normal", "Poisson") fitfunction<-function(Type,x){     return (list(Type,(fitdistr(x,Type)))) } require(MASS) On<-round(abs(rnorm(10000,sd=100))+5,digits=0) storeOn<-lapply(distr...