I have a data set (21 binned values) which I have fitted to a Gaussian with IDL ($\mu=3.825$, $\sigma =0.0377$). I have tried to find the $\chi^2$, getting $21.14$ for $20$ d.f.. Here my understanding is a little shakey; I think this means I can be 60% confident that the distribution is normal (please correct me if I'm wrong, every information source seems to say something different at this point!).
I went on to try and use the K-S test, with peculiar results; when attempted manually, I found $D=0.09958$ (without ordering min->max), when I ordered values I got $D=0.12$. When given to IDL to calculate it gave $D=0.143$, with a 0.97 probability that it fits the normal. These D-values seem to point to very high probability, and I suspect I've muddled something. Have I too few data bins? Should I need to go so far as the K-S if $\chi^2$ gives me a fair result? I'm supplying the data in case it makes more sense than me.
Observed Frequency, Expected frequency (Gauss.)
0, 0.090119938
0, 0.202768898
0, 0.42521436
1, 0.831075789
0, 1.51390793
2, 2.570303594
2, 4.067199812
0, 5.998362667
13, 8.245102466
9, 10.5629572
13, 12.61249796
12, 14.03598269
12, 14.5583
10, 14.07358146
14, 12.68015971
8, 10.64807109
8, 8.333804074
4, 6.079134555
2, 4.133009011
0, 2.618888894
0, 1.54665668