> For the complete documentation index, see [llms.txt](https://suyashs-organization-3.gitbook.io/csitlabs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://suyashs-organization-3.gitbook.io/csitlabs/3rd_semester/statistics-ii/non-parametric_test/kolmogorov-smirnov_one_sample_test.md).

# Kolmogorov-Smirnov one sample test

* Test for normal distribution

## Steps

*for example of data set:*

weight:

19.5 20 26.9 27.1 28.1 30 31.6 32.7 34.4 37.2

37.5 37.9 38 38.4 38.6 38.8 38.9 40.1 41.6 42.6

42.9 45 45.2 45.5 46.5 46.8 47.3 48.1 48.3 48.4

48.8 49 49.1 49.3 49.4 49.5 49.9 50.4 51.8 54.4

54.9 55.3 55.6 57.3 57.4 57.5 58.7 58.8 59.7 59.9

* Goto variable view and add the variables

  ![Variable view](https://1701689154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlhGYIl7VJdlGnlsVvVWa%2Fuploads%2Fgit-blob-347f785c74e259a452315ee1a5d173a7186ad111%2FvariableView.png?alt=media)
* Goto the data view and add the data
* Click on **Analyze** tab > **NonParametric Tests** > **Legacy Dialogs** > **1-Sample K-S**.

  ![Step](https://1701689154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlhGYIl7VJdlGnlsVvVWa%2Fuploads%2Fgit-blob-723dda7496debef495ec783c01d9f81db67b6483%2Fsteps.png?alt=media)
* Add the required variable in **Test Variable List** and click **Options**.

  ![Dialog](https://1701689154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlhGYIl7VJdlGnlsVvVWa%2Fuploads%2Fgit-blob-eb8ecbc647e295d65dd2f9dc7fea56b52465ddf2%2Ftest-variable.png?alt=media)
* Tick the **Descriptives** and **Quartiles** and click **Continue**.

  ![Dialog](https://1701689154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlhGYIl7VJdlGnlsVvVWa%2Fuploads%2Fgit-blob-7713bbe2fb7b79fbab75b92e13b983b2228b4118%2Fdialog.png?alt=media)
* Required Output:

  ![Output](https://1701689154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlhGYIl7VJdlGnlsVvVWa%2Fuploads%2Fgit-blob-06124ddba3048991fe7f44e57c6a2aac428a9ea2%2Foutput.png?alt=media)
