I suspect that that reply just replicates the question.
There are two issues: The distribution of the test statistic is different,
which may be unsurprising. However, the test statistic itself is also different
which may be a bit more subtle. It may help to plot(ecdf(xi)) and similarly x.
The
In the first example you are performing a one-sample test against a continuous
cumulative distribution (in this case a normal distribution). In the second
case you are performing a two-sample test. You drew your values for x
non-randomly by specifying fixed intervals along a normal distribution,
2 matches
Mail list logo