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?










0












$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!










share|improve this question









$endgroup$
















    0












    $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!










    share|improve this question









    $endgroup$














      0












      0








      0





      $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!










      share|improve this question









      $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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 1 at 20:57









      JChatJChat

      1378




      1378




















          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
          );



          );













          draft saved

          draft discarded


















          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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

          Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

          Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?