How to graphically present the statistical interpretations when using Kolmogorov–Smirnov test (K-S) test? The Next CEO of Stack Overflow2019 Community Moderator ElectionAny suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?How does Seaborn calculate error bars when using estimators other than the arithmetic mean?Using Diebold-Mariano testInterpreting statistical formulas using python (mu + sigma * data)statistical significance test between binary label featuresHow to select a model based on statistical analyses?How to load this data from .dat into dataframe using pythonAppropriate statistical testStatistical test for machine learningHow to test the influence of a feature on conversion?Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?
pgfplots: How to draw a tangent graph below two others?
Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?
Can Sri Krishna be called 'a person'?
Compilation of a 2d array and a 1d array
Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?
How can a day be of 24 hours?
Another proof that dividing by 0 does not exist -- is it right?
Why did early computer designers eschew integers?
How dangerous is XSS
How do I keep Mac Emacs from trapping M-`?
What happens if you break a law in another country outside of that country?
How should I connect my cat5 cable to connectors having an orange-green line?
Direct Implications Between USA and UK in Event of No-Deal Brexit
Can you teleport closer to a creature you are Frightened of?
Does Germany produce more waste than the US?
Can a PhD from a non-TU9 German university become a professor in a TU9 university?
Is it possible to make a 9x9 table fit within the default margins?
Is it OK to decorate a log book cover?
Compensation for working overtime on Saturdays
How can I separate the number from the unit in argument?
How to find if SQL server backup is encrypted with TDE without restoring the backup
Is it okay to majorly distort historical facts while writing a fiction story?
Calculate the Mean mean of two numbers
Why was Sir Cadogan fired?
How to graphically present the statistical interpretations when using Kolmogorov–Smirnov test (K-S) test?
The Next CEO of Stack Overflow2019 Community Moderator ElectionAny suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?How does Seaborn calculate error bars when using estimators other than the arithmetic mean?Using Diebold-Mariano testInterpreting statistical formulas using python (mu + sigma * data)statistical significance test between binary label featuresHow to select a model based on statistical analyses?How to load this data from .dat into dataframe using pythonAppropriate statistical testStatistical test for machine learningHow to test the influence of a feature on conversion?Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?
$begingroup$
I am referring to my previous question (Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?) related to visualising the Pandas dataframes to show that they have a similar distribution.
I have come to know that Kolmogorov–Smirnov test (K-S Test) can help decide whether the 2 distributions of dataframes are similar and how similar they are based on p-values etc. Based on the answer by Tasos in the referred question,
from scipy import stats
p_value = 0.05
rejected = 0
for col in df1:
test = stats.ks_2samp(df1[col], df2[col])
if test[1] < p_value:
rejected += 1
print("We rejected",rejected,"columns in total")
It is possible to understand the context as to whether the distributions of the dataframes df1 and df2 are similar or not. However, I would like to present this information visually/graphically (such as Wikipedia have a graph for K-S test statistic: https://en.wikipedia.org/wiki/Kolmogorov–Smirnov_test). Any suggestions regarding a suitable method to visualise the K-S test statistical interpretation in Python would be highly appreciated. Cheers!
python pandas statistics dataframe descriptive-statistics
$endgroup$
add a comment |
$begingroup$
I am referring to my previous question (Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?) related to visualising the Pandas dataframes to show that they have a similar distribution.
I have come to know that Kolmogorov–Smirnov test (K-S Test) can help decide whether the 2 distributions of dataframes are similar and how similar they are based on p-values etc. Based on the answer by Tasos in the referred question,
from scipy import stats
p_value = 0.05
rejected = 0
for col in df1:
test = stats.ks_2samp(df1[col], df2[col])
if test[1] < p_value:
rejected += 1
print("We rejected",rejected,"columns in total")
It is possible to understand the context as to whether the distributions of the dataframes df1 and df2 are similar or not. However, I would like to present this information visually/graphically (such as Wikipedia have a graph for K-S test statistic: https://en.wikipedia.org/wiki/Kolmogorov–Smirnov_test). Any suggestions regarding a suitable method to visualise the K-S test statistical interpretation in Python would be highly appreciated. Cheers!
python pandas statistics dataframe descriptive-statistics
$endgroup$
add a comment |
$begingroup$
I am referring to my previous question (Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?) related to visualising the Pandas dataframes to show that they have a similar distribution.
I have come to know that Kolmogorov–Smirnov test (K-S Test) can help decide whether the 2 distributions of dataframes are similar and how similar they are based on p-values etc. Based on the answer by Tasos in the referred question,
from scipy import stats
p_value = 0.05
rejected = 0
for col in df1:
test = stats.ks_2samp(df1[col], df2[col])
if test[1] < p_value:
rejected += 1
print("We rejected",rejected,"columns in total")
It is possible to understand the context as to whether the distributions of the dataframes df1 and df2 are similar or not. However, I would like to present this information visually/graphically (such as Wikipedia have a graph for K-S test statistic: https://en.wikipedia.org/wiki/Kolmogorov–Smirnov_test). Any suggestions regarding a suitable method to visualise the K-S test statistical interpretation in Python would be highly appreciated. Cheers!
python pandas statistics dataframe descriptive-statistics
$endgroup$
I am referring to my previous question (Any suitable way to describe the distributions of 2 Pandas Dataframes visually/graphically?) related to visualising the Pandas dataframes to show that they have a similar distribution.
I have come to know that Kolmogorov–Smirnov test (K-S Test) can help decide whether the 2 distributions of dataframes are similar and how similar they are based on p-values etc. Based on the answer by Tasos in the referred question,
from scipy import stats
p_value = 0.05
rejected = 0
for col in df1:
test = stats.ks_2samp(df1[col], df2[col])
if test[1] < p_value:
rejected += 1
print("We rejected",rejected,"columns in total")
It is possible to understand the context as to whether the distributions of the dataframes df1 and df2 are similar or not. However, I would like to present this information visually/graphically (such as Wikipedia have a graph for K-S test statistic: https://en.wikipedia.org/wiki/Kolmogorov–Smirnov_test). Any suggestions regarding a suitable method to visualise the K-S test statistical interpretation in Python would be highly appreciated. Cheers!
python pandas statistics dataframe descriptive-statistics
python pandas statistics dataframe descriptive-statistics
asked 1 hour ago
JChatJChat
305
305
add a comment |
add a comment |
0
active
oldest
votes
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48375%2fhow-to-graphically-present-the-statistical-interpretations-when-using-kolmogorov%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48375%2fhow-to-graphically-present-the-statistical-interpretations-when-using-kolmogorov%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
