Contents | Previous | Next | Subchapters |

Syntax |
`kolsmi(` sample`, function ` cum`)` |

See Also | cnormal , ghist |

Tests the hypothesis that a set of samples come from the candidate distribution specified by the cumulative distribution function

`kolsmi`

is a scalar with the same type as If you enter

```
```

sample = rand(20, 1)

O-Matrix will store twenty realizations of a
random variable that is uniformly distributed between zero and one.
If you continue by entering
```
```

kolsmi(sample, function cnormal)

O-Matrix will print the probability
that a normal random variate would yield a sample cumulative distribution
that has a greater deviation than the one corresponding to `sample`

.
This statistic should be very small relative to one,
because `sample`

does not come from a normal random variable.