Questions tagged [kolmogorov-smirnov-test]
The Kolmogorov-Smirnov test is a test for goodness of fit of data to a distribution. It is often used to test whether a variable is normally distributed.
620
questions
1
vote
1
answer
26
views
The F-test and the t-test reject the null hypothesis while the KS test and the Chi-Squared test do not
This is a follow-up question to How can the F-test reject the null hypothesis while the KS test does not?.
Let's consider I perform the following tests:
Two-sample Kolmogorov-Smirnov test (KS-test),
...
0
votes
0
answers
25
views
Where can I find a Kolmogorov-Smirnov critical value table for an F-distribution? [closed]
I have developed an Excel model for a one-sample Kolmogorov-Smirnov test for an F-distribution. I have the K-S test statistic, but no CV to compare it to. If anyone knows of an online table of ...
7
votes
4
answers
267
views
Estimating Probability Density for Sample
I have a dataset of over 20,000+ samples. The objective here is to define a distribution for the sample so that I can plot all possible outcomes. However, I am unable to find an appropriate ...
1
vote
1
answer
72
views
Two-sample Kolmogorov-Smirnoff test in R and/or Python, how to find degrees of freedom?
I am trying to run a Kolmogorov-Smirnov/K-S test in R using the ks.test() function, and I am trying to find the degrees of freedom when comparing across two different groups. I am also trying in ...
1
vote
0
answers
75
views
My professor insists that this data is normally distributed but I cannot work out how that can be!
I have a data set on deforestation and the impact that the distance from a road has on deforestation. For the assignment, I need to assess the correlation between these two variables. In class, my ...
1
vote
0
answers
38
views
Statistical test to check if two samples come from the same DISCRETE distribution
I am computing hourly backward wind trajectories for the 1985-2023 period, and obtaining all the pixels that are crossed by these trajectories. I have the pixel ID frequencies for these trajectories - ...
3
votes
1
answer
82
views
Two-sided KS-Test for Evaluating Prediction Model?
In the article
https://ginimachine.com/blog/machine-learning-model-evaluation/ there is a proposal of using Two-Sided KS-Tests for evaluating the accuracy of predictions from Machine Learning (ML) ...
0
votes
0
answers
34
views
Using two-sample K-S test for the same time-series data
I have time-series data which is a recording of neural activity in a neuron before and after some stimuli (I know the specific time when the stimuli was introduced). I'm considering using the two-...
4
votes
1
answer
37
views
How to estimate required sample size for the two-sample Kolmogorov-Smirnov test
I have a simulation model which produces a value for an output variable. Running it many times gives skewed distributions for this output variable. What I'd like to do is compare two distributions, ...
0
votes
0
answers
23
views
Comparing 2 distributions in R from a smaller sample
I am in the process of planning out a statistical analysis for future data I will collect. I am primarily a neurobiologist, trying to implement more appropriate statistical models for my data. First, ...
4
votes
2
answers
171
views
Which statistic to use for measurement between two samples [closed]
I am measuring stem widths of a control plant and a mutant plant and want to determine if there is any significant difference between them. The sample sizes are not the same. When I use a test like ...
1
vote
1
answer
77
views
Sampling 1 item from groups of correlated values and combining the statistics
We have a dataset consisting of several groups of observations:
Group
Object
Value
Gr_1
Ob_1
V_1
Gr_1
Ob_2
V_2
Gr_2
Ob_3
V_3
...
...
...
All values lie in the interval [0,1].
In each of the ...
0
votes
0
answers
15
views
Can we compare distributions in a subsampled Kolmogorov Smirnov test?
(stats newbie here)
The highlighted answer to Can you compare p-values of Kolmogorov Smirnov tests of normality of two variables to say which is more normal? refers to a paper* that says that when the ...
2
votes
0
answers
64
views
How to evaluate model's performance using a K-S test
I am wondering if a K-S test or other test can be used for comparing models' performance. For example, I have two prediction models, the prediction result of first model is ...
1
vote
1
answer
63
views
How to perform a 2 sample Kolmogorov-Smirnov test controlling for a type II error instead of type 1
I have four completely different sets of two samples and want to check for each set if both samples come from the same distribution, so four Kolmogorov-Smirnov tests total. If it's going to be ...