# Test for a logistic distribution in R

I have a set of data and I'd like to know whether this data set has a logistic distribution. When I made a histogram of my data set it seems to have a logistic distribution, but to be sure I'd like to test for a logistic distribution in R.
So my question is: Is there a way to test your data for a logistic distribution in R and how do you do this?

Additional information: The data set consists of 8544 items. The data are horizontal distances in km between 2 geographical points. I need the data to construct a dispersal kernel for elephants. I could construct this dispersal kernel more easily if the data had a normal or a logistic distribution. I already used a Kolmogorov Smirnov test to test for a normal distribution (p<0.05), but the result was significant, so the data are not normally distributed.

• A number of distributions will fit this bill. Two other candidates that come to mind are Weibull and Poisson distributions. Googling "how to fit a distribution in r" spits out this pdf: cran.r-project.org/doc/contrib/Ricci-distributions-en.pdf Aug 6, 2012 at 10:09
• User, could you please say some more about what this kernel means and how you intend to use it? One of my concerns (among many) is that if you use a fitted curve to these data for the radial function of the kernel, then (because it is in two dimensions, not one) the actual distribution created by applying this kernel will (strongly) differ from the observed distribution!
– whuber
Aug 7, 2012 at 14:47
• The data you have shown us CANNOT be logistic, the logistic distribution is symmetric, so at most your data could be half-logistic! Aug 8, 2012 at 4:38

I'm not sure what makes you think this may be the logistic distribution, it doesn't really look like that to me. I'm not sure how good I am at just guessing the distribution from a picture, but I might start by playing with something like the exponential distribution or the $\chi^2$ distribution, given your histogram.