{"id":904,"date":"2018-08-14T19:00:44","date_gmt":"2018-08-14T19:00:44","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2018\/08\/14\/15-statistical-hypothesis-tests-in-python-cheat-sheet\/"},"modified":"2018-08-14T19:00:44","modified_gmt":"2018-08-14T19:00:44","slug":"15-statistical-hypothesis-tests-in-python-cheat-sheet","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2018\/08\/14\/15-statistical-hypothesis-tests-in-python-cheat-sheet\/","title":{"rendered":"15 Statistical Hypothesis Tests in Python (Cheat Sheet)"},"content":{"rendered":"<p>Author: Jason Brownlee<\/p>\n<div>\n<h4 style=\"text-align: center;\">Quick-reference guide to the 15 statistical hypothesis tests that you need in<br \/>\napplied machine learning, with sample code in Python.<\/h4>\n<p>Although there are hundreds of statistical hypothesis tests that you could use, there is only a small subset that you may need to use in a machine learning project.<\/p>\n<p>In this post, you will discover a cheat sheet for the most popular statistical hypothesis tests for a machine learning project with examples using the Python API.<\/p>\n<p>Each statistical test is presented in a consistent way, including:<\/p>\n<ul>\n<li>The name of the test.<\/li>\n<li>What the test is checking.<\/li>\n<li>The key assumptions of the test.<\/li>\n<li>How the test result is interpreted.<\/li>\n<li>Python API for using the test.<\/li>\n<\/ul>\n<p>Note, when it comes to assumptions such as the expected distribution of data or sample size, the results of a given test are likely to degrade gracefully rather than become immediately unusable if an assumption is violated.<\/p>\n<p>Generally, data samples need to be representative of the domain and large enough to expose their distribution to analysis.<\/p>\n<p>In some cases, the data can be corrected to meet the assumptions, such as correcting a nearly normal distribution to be normal by removing outliers, or using a correction to the degrees of freedom in a statistical test when samples have differing variance, to name two examples.<\/p>\n<p>Finally, there may be multiple tests for a given concern, e.g. normality. We cannot get crisp answers to questions with statistics; instead, we get probabilistic answers. As such, we can arrive at different answers to the same question by considering the question in different ways. Hence the need for multiple different tests for some questions we may have about data.<\/p>\n<p>Let\u2019s get started.<\/p>\n<div id=\"attachment_5989\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5989\" src=\"https:\/\/machinelearningmastery.com\/wp-content\/uploads\/2018\/08\/Statistical-Hypothesis-Tests-in-Python-Cheat-Sheet.jpg\" alt=\"Statistical Hypothesis Tests in Python Cheat Sheet\" width=\"640\" height=\"425\" srcset=\"http:\/\/3qeqpr26caki16dnhd19sv6by6v.wpengine.netdna-cdn.com\/wp-content\/uploads\/2018\/08\/Statistical-Hypothesis-Tests-in-Python-Cheat-Sheet.jpg 640w, http:\/\/3qeqpr26caki16dnhd19sv6by6v.wpengine.netdna-cdn.com\/wp-content\/uploads\/2018\/08\/Statistical-Hypothesis-Tests-in-Python-Cheat-Sheet-300x199.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\"><\/p>\n<p class=\"wp-caption-text\">Statistical Hypothesis Tests in Python Cheat Sheet<br \/>Photo by <a href=\"https:\/\/www.flickr.com\/photos\/36137232@N00\/4800239195\/\">davemichuda<\/a>, some rights reserved.<\/p>\n<\/div>\n<h2>Tutorial Overview<\/h2>\n<p>This tutorial is divided into four parts; they are:<\/p>\n<ol>\n<li>Normality Tests<\/li>\n<li>Correlation Tests<\/li>\n<li>Parametric Statistical Hypothesis Tests<\/li>\n<li>Nonparametric Statistical Hypothesis Tests<\/li>\n<\/ol>\n<h2>1. Normality Tests<\/h2>\n<p>This section lists statistical tests that you can use to check if your data has a Gaussian distribution.<\/p>\n<h3>Shapiro-Wilk Test<\/h3>\n<p>Tests whether a data sample has a Gaussian distribution.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the sample has a Gaussian distribution.<\/li>\n<li>H1: the sample does not have a Gaussian distribution.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import shapiro\r\ndata1 = ....\r\nstat, p = shapiro(data)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.shapiro.html\">scipy.stats.shapiro<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Shapiro%E2%80%93Wilk_test\">Shapiro-Wilk test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>D\u2019Agostino\u2019s K^2 Test<\/h3>\n<p>Tests whether a data sample has a Gaussian distribution.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the sample has a Gaussian distribution.<\/li>\n<li>H1: the sample does not have a Gaussian distribution.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import normaltest\r\ndata1 = ....\r\nstat, p = normaltest(data)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.normaltest.html\">scipy.stats.normaltest<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/D%27Agostino%27s_K-squared_test\">D\u2019Agostino\u2019s $K$-squared test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Anderson-Darling Test<\/h3>\n<p>Tests whether a data sample has a Gaussian distribution.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the sample has a Gaussian distribution.<\/li>\n<li>H1: the sample does not have a Gaussian distribution.<\/li>\n<\/ul>\n<div>Python Code<\/div>\n<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import anderson\r\ndata1 = ....\r\nresult = anderson(data)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.anderson.html\">scipy.stats.anderson<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Anderson%E2%80%93Darling_test\">Anderson-Darling test on Wikipedia<\/a><\/li>\n<\/ul>\n<h2>2. Correlation Tests<\/h2>\n<p>This section lists statistical tests that you can use to check if two samples are related.<\/p>\n<h3>Pearson\u2019s Correlation Coefficient<\/h3>\n<p>Tests whether two samples have a monotonic relationship.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample are normally distributed.<\/li>\n<li>Observations in each sample have the same variance.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the two samples are independent.<\/li>\n<li>H1: there is a dependency between the samples.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import pearsonr\r\ndata1, data2 = ...\r\ncorr, p = pearsonr(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.pearsonr.html\">scipy.stats.pearsonr<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Pearson_correlation_coefficient\">Pearson\u2019s correlation coefficient on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Spearman\u2019s Rank Correlation<\/h3>\n<p>Tests whether two samples have a monotonic relationship.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the two samples are independent.<\/li>\n<li>H1: there is a dependency between the samples.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import spearmanr\r\ndata1, data2 = ...\r\ncorr, p = spearmanr(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.spearmanr.html\">scipy.stats.spearmanr<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Spearman%27s_rank_correlation_coefficient\">Spearman\u2019s rank correlation coefficient on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Kendall\u2019s Rank Correlation<\/h3>\n<p>Tests whether two samples have a monotonic relationship.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the two samples are independent.<\/li>\n<li>H1: there is a dependency between the samples.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import kendalltau\r\ndata1, data2 = ...\r\ncorr, p = kendalltau(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.kendalltau.html\">scipy.stats.kendalltau<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Kendall_rank_correlation_coefficient\">Kendall rank correlation coefficient on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Chi-Squared Test<\/h3>\n<p>Tests whether two categorical variables are related or independent.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations used in the calculation of the contingency table are independent.<\/li>\n<li>25 or more examples in each cell of the contingency table.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the two samples are independent.<\/li>\n<li>H1: there is a dependency between the samples.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import chi2_contingency\r\ntable = ...\r\nstat, p, dof, expected = chi2_contingency(table)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.chi2_contingency.html\">scipy.stats.chi2_contingency<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Chi-squared_test\">Chi-Squared test on Wikipedia<\/a><\/li>\n<\/ul>\n<h2>3. Parametric Statistical Hypothesis Tests<\/h2>\n<p>This section lists statistical tests that you can use to compare data samples.<\/p>\n<h3>Student\u2019s t-test<\/h3>\n<p>Tests whether the means of two independent samples are significantly different.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample are normally distributed.<\/li>\n<li>Observations in each sample have the same variance.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the means of the samples are equal.<\/li>\n<li>H1: the means of the samples are unequal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import ttest_ind\r\ndata1, data2 = ...\r\nstat, p = ttest_ind(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_ind.html\">scipy.stats.ttest_ind<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Student%27s_t-test\">Student\u2019s t-test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Paired Student\u2019s t-test<\/h3>\n<p>Tests whether the means of two paired samples are significantly different.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample are normally distributed.<\/li>\n<li>Observations in each sample have the same variance.<\/li>\n<li>Observations across each sample are paired.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the means of the samples are equal.<\/li>\n<li>H1: the means of the samples are unequal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import ttest_rel\r\ndata1, data2 = ...\r\nstat, p = ttest_rel(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_rel.html\">scipy.stats.ttest_rel<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Student%27s_t-test\">Student\u2019s t-test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Analysis of Variance Test (ANOVA)<\/h3>\n<p>Tests whether the means of two or more independent samples are significantly different.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample are normally distributed.<\/li>\n<li>Observations in each sample have the same variance.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the means of the samples are equal.<\/li>\n<li>H1: one or more of the means of the samples are unequal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import f_oneway\r\ndata1, data2, ... = ...\r\nstat, p = f_oneway(data1, data2, ...)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.f_oneway.html\">scipy.stats.f_oneway<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Analysis_of_variance\">Analysis of variance on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Repeated Measures ANOVA Test<\/h3>\n<p>Tests whether the means of two or more paired samples are significantly different.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample are normally distributed.<\/li>\n<li>Observations in each sample have the same variance.<\/li>\n<li>Observations across each sample are paired.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the means of the samples are equal.<\/li>\n<li>H1: one or more of the means of the samples are unequal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<p>Currently not supported in Python.<\/p>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Analysis_of_variance\">Analysis of variance on Wikipedia<\/a><\/li>\n<\/ul>\n<h2>4. Nonparametric Statistical Hypothesis Tests<\/h2>\n<h3>Mann-Whitney U Test<\/h3>\n<p>Tests whether the distributions of two independent samples are equal or not.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the distributions of both samples are equal.<\/li>\n<li>H1: the distributions of both samples are not equal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import mannwhitneyu\r\ndata1, data2 = ...\r\nstat, p = mannwhitneyu(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.mannwhitneyu.html\">scipy.stats.mannwhitneyu<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Mann%E2%80%93Whitney_U_test\">Mann-Whitney U test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Wilcoxon Signed-Rank Test<\/h3>\n<p>Tests whether the distributions of two paired samples are equal or not.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<li>Observations across each sample are paired.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the distributions of both samples are equal.<\/li>\n<li>H1: the distributions of both samples are not equal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import wilcoxon\r\ndata1, data2 = ...\r\nstat, p = wilcoxon(data1, data2)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.wilcoxon.html\">scipy.stats.wilcoxon<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Wilcoxon_signed-rank_test\">Wilcoxon signed-rank test on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Kruskal-Wallis H Test<\/h3>\n<p>Tests whether the distributions of two or more independent samples are equal or not.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the distributions of all samples are equal.<\/li>\n<li>H1: the distributions of one or more samples are not equal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import kruskal\r\ndata1, data2, ... = ...\r\nstat, p = kruskal(data1, data2, ...)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.kruskal.html\">scipy.stats.kruskal<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Kruskal%E2%80%93Wallis_one-way_analysis_of_variance\">Kruskal-Wallis one-way analysis of variance on Wikipedia<\/a><\/li>\n<\/ul>\n<h3>Friedman Test<\/h3>\n<p>Tests whether the distributions of two or more paired samples are equal or not.<\/p>\n<p>Assumptions<\/p>\n<ul>\n<li>Observations in each sample are independent and identically distributed (iid).<\/li>\n<li>Observations in each sample can be ranked.<\/li>\n<li>Observations across each sample are paired.<\/li>\n<\/ul>\n<p>Interpretation<\/p>\n<ul>\n<li>H0: the distributions of all samples are equal.<\/li>\n<li>H1: the distributions of one or more samples are not equal.<\/li>\n<\/ul>\n<p>Python Code<\/p>\n<pre class=\"crayon-plain-tag\">from scipy.stats import friedmanchisquare\r\ndata1, data2, ... = ...\r\nstat, p = friedmanchisquare(data1, data2, ...)<\/pre>\n<p>More Information<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.kruskal.html\">scipy.stats.friedmanchisquare<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Friedman_test\">Friedman test on Wikipedia<\/a><\/li>\n<\/ul>\n<h2>Further Reading<\/h2>\n<p>This section provides more resources on the topic if you are looking to go deeper.<\/p>\n<ul>\n<li><a href=\"https:\/\/machinelearningmastery.com\/a-gentle-introduction-to-normality-tests-in-python\/\">A Gentle Introduction to Normality Tests in Python<\/a><\/li>\n<li><a href=\"https:\/\/machinelearningmastery.com\/how-to-use-correlation-to-understand-the-relationship-between-variables\/\">How to Use Correlation to Understand the Relationship Between Variables<\/a><\/li>\n<li><a href=\"https:\/\/machinelearningmastery.com\/parametric-statistical-significance-tests-in-python\/\">How to Use Parametric Statistical Significance Tests in Python<\/a><\/li>\n<li><a href=\"https:\/\/machinelearningmastery.com\/statistical-hypothesis-tests\/\">A Gentle Introduction to Statistical Hypothesis Tests<\/a><\/li>\n<\/ul>\n<h2>Summary<\/h2>\n<p>In this tutorial, you discovered the key statistical hypothesis tests that you may need to use in a machine learning project.<\/p>\n<p>Specifically, you learned:<\/p>\n<ul>\n<li>The types of tests to use in different circumstances, such as normality checking, relationships between variables, and differences between samples.<\/li>\n<li>The key assumptions for each test and how to interpret the test result.<\/li>\n<li>How to implement the test using the Python API.<\/li>\n<\/ul>\n<p>Do you have any questions?<br \/>\nAsk your questions in the comments below and I will do my best to answer.<\/p>\n<p>Did I miss an important statistical test or key assumption for one of the listed tests?<br \/>\nLet me know in the comments below.<\/p>\n<p>The post <a rel=\"nofollow\" href=\"https:\/\/machinelearningmastery.com\/statistical-hypothesis-tests-in-python-cheat-sheet\/\">15 Statistical Hypothesis Tests in Python (Cheat Sheet)<\/a> appeared first on <a rel=\"nofollow\" href=\"https:\/\/machinelearningmastery.com\/\">Machine Learning Mastery<\/a>.<\/p>\n<\/div>\n<p><a href=\"https:\/\/machinelearningmastery.com\/statistical-hypothesis-tests-in-python-cheat-sheet\/\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Jason Brownlee Quick-reference guide to the 15 statistical hypothesis tests that you need in applied machine learning, with sample code in Python. Although there [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2018\/08\/14\/15-statistical-hypothesis-tests-in-python-cheat-sheet\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":905,"comment_status":"registered_only","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/904"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=904"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/905"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}