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

          Marja Vauras Lähteet | Aiheesta muualla | NavigointivalikkoMarja Vauras Turun yliopiston tutkimusportaalissaInfobox OKSuomalaisen Tiedeakatemian varsinaiset jäsenetKasvatustieteiden tiedekunnan dekaanit ja muu johtoMarja VaurasKoulutusvienti on kestävyys- ja ketteryyslaji (2.5.2017)laajentamallaWorldCat Identities0000 0001 0855 9405n86069603utb201588738523620927

          Which is better: GPT or RelGAN for text generation?2019 Community Moderator ElectionWhat is the difference between TextGAN and LM for text generation?GANs (generative adversarial networks) possible for text as well?Generator loss not decreasing- text to image synthesisChoosing a right algorithm for template-based text generationHow should I format input and output for text generation with LSTMsGumbel Softmax vs Vanilla Softmax for GAN trainingWhich neural network to choose for classification from text/speech?NLP text autoencoder that generates text in poetic meterWhat is the interpretation of the expectation notation in the GAN formulation?What is the difference between TextGAN and LM for text generation?How to prepare the data for text generation task

          Is this part of the description of the Archfey warlock's Misty Escape feature redundant?When is entropic ward considered “used”?How does the reaction timing work for Wrath of the Storm? Can it potentially prevent the damage from the triggering attack?Does the Dark Arts Archlich warlock patrons's Arcane Invisibility activate every time you cast a level 1+ spell?When attacking while invisible, when exactly does invisibility break?Can I cast Hellish Rebuke on my turn?Do I have to “pre-cast” a reaction spell in order for it to be triggered?What happens if a Player Misty Escapes into an Invisible CreatureCan a reaction interrupt multiattack?Does the Fiend-patron warlock's Hurl Through Hell feature dispel effects that require the target to be on the same plane as the caster?What are you allowed to do while using the Warlock's Eldritch Master feature?