Goodness-of-fit KS for multiple distributions

#1
Hi,
I need to test the goodness of fit of various distributions using the Kolmogorov-Smirnov test. I am using SPSS for this (but also have matlab available).
Doing this for a normal distribution wasnt a problem, however how can I perform and compare the goodness-of-fit for other distribution types?

The types I need to comare are: (shifted) lognormal, normal, expoential, weibull and gamma distributions.

Thanks for any tips!
 
#5
Thanks for the reply!
I have dug deeper and found that the default options in SPSS are limitted to just a few distributions.
I have therefore continued in matlab where the options are wider and with which I am more familiar.