How to graphically present the statistical interpretations when using Kolmogorov–Smirnov test (K-S) test? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsAny 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?
How can I fade player when goes inside or outside of the area?
Is the address of a local variable a constexpr?
Why does Python start at index -1 when indexing a list from the end?
How to motivate offshore teams and trust them to deliver?
What LEGO pieces have "real-world" functionality?
Models of set theory where not every set can be linearly ordered
Are my PIs rude or am I just being too sensitive?
Can a non-EU citizen traveling with me come with me through the EU passport line?
Using et al. for a last / senior author rather than for a first author
What's the purpose of writing one's academic bio in 3rd person?
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
3 doors, three guards, one stone
Should I call the interviewer directly, if HR aren't responding?
What is the longest distance a 13th-level monk can jump while attacking on the same turn?
Output the ŋarâþ crîþ alphabet song without using (m)any letters
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Do I really need recursive chmod to restrict access to a folder?
ListPlot join points by nearest neighbor rather than order
How to deal with a team lead who never gives me credit?
Bonus calculation: Am I making a mountain out of a molehill?
Were Kohanim forbidden from serving in King David's army?
What is the musical term for a note that continously plays through a melody?
How to graphically present the statistical interpretations when using Kolmogorov–Smirnov test (K-S) test?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsAny 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 Apr 1 at 20:57
JChatJChat
1378
1378
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
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