{"id":15162,"date":"2020-05-28T15:04:37","date_gmt":"2020-05-28T09:34:37","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/"},"modified":"2024-09-02T15:33:08","modified_gmt":"2024-09-02T10:03:08","slug":"understanding-goodness-of-fit-test","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/","title":{"rendered":"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li><a href=\"#goodnessoffit\"><strong>What is goodness of fit?<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"#goodnessoffittest\">Why do we test the goodness of fit?<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#commontest\">What are the most common goodness of fit tests?<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"#chisquaregoodnessoffittest\"><strong>Chi-Square Goodness of fit test<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"#kolmogorovgoodnessoffittest\">The Kolmogorov-Smirnov Goodness of Fit Test<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#andersondarlingtest\">The Anderson-Darling Goodness of Fit Test<\/a><\/strong><\/li>\n<\/ol>\n\n\n\n<p><em><strong>Contributed by: Rahul Singh<br>LinkedIn Profile: <a rel=\"noreferrer noopener nofollow\" aria-label=\"https:\/\/www.linkedin.com\/in\/rahul-singh-3b213117\/  (opens in a new tab)\" href=\"https:\/\/www.linkedin.com\/in\/rahul-singh-3b213117\/\" target=\"_blank\">https:\/\/www.linkedin.com\/in\/rahul-singh-3b213117\/ <\/a><\/strong><\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-the-goodness-of-fit\"><strong>What is the goodness of fit?<\/strong><\/h2>\n\n\n\n<p>A <strong>goodness-of-fit<\/strong> is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-machine-learning\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Machine Learning (opens in a new tab)\">Machine Learning<\/a> model\u201d. It summarizes the divergence between actual observed data points and expected data points in context to a statistical or Machine Learning model.<\/p>\n\n\n\n<p>Assessment of divergence between the observed data points and model-predicted data points is critical to understand, a decision made on poorly fitting models might be badly misleading. A seasoned practitioner must examine the fitment of actual and model-predicted data points.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-do-we-test-goodness-of-fit\"><strong>Why do we test Goodness of fit?<\/strong><\/h2>\n\n\n\n<p>Goodness-of-fit tests are statistical tests to determine whether a set of actual observed values match those predicted by the model. Goodness-of-fit tests are frequently applied in business decision making. For example, the below image depicts the linear regression function. The goodness-of-fit test here will compare the actual observed values denoted by blue dots to the predicted values denoted by the red regression line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-the-most-common-goodness-of-fit-tests\"><strong>What are the most common goodness of fit tests?<\/strong><\/h2>\n\n\n\n<p>Broadly, the goodness of fit test categorization can be done based on the distribution of the predictand variable of the dataset.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The chi-square <\/li>\n\n\n\n<li>Kolmogorov-Smirnov <\/li>\n\n\n\n<li>Anderson-Darling<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"the-chi-square-goodness-of-fit-test\"><strong>The Chi-Square Goodness of Fit Test<\/strong><\/h2>\n\n\n\n<p>Chi-square goodness of fit test is conducted when the predictand variable in the dataset is categorical. It is applied to determine whether sample data are consistent with a hypothesized distribution.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"chi-square-test-can-be-applied-when-the-distribution-has-the-following-characteristics\"><strong><em>Chi-Square test can be applied when the distribution has the following characteristics<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The sampling method is random.<\/li>\n\n\n\n<li>Predictand variables are categorical.<\/li>\n\n\n\n<li>The expected value of the number of sample observations at each level of the variable is at least 5. It requires a sufficient sample size for the chi-square approximation to be valid.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"merits-of-the-chi-square-test\"><strong><em>Merits of the Chi-square Test<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A distribution-free test. It can be used in any type of population distribution.<\/li>\n\n\n\n<li>It is widely applicable not only in social sciences but in business research as well.<\/li>\n\n\n\n<li>It can be easy to calculate and to conclude.<\/li>\n\n\n\n<li>The Chi-Square test provides an additive property. This allows the researcher to add the result of independence to related samples.<\/li>\n\n\n\n<li>This test is based on the observed frequency and not on parameters like mean, and standard deviation.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"the-chi-square-test-for-a-goodness-of-fit-test-is\"><strong><em>The Chi-square test for a goodness-of-fit test is<\/em><\/strong><\/h4>\n\n\n\n<p>Where:<br><em>O<sub>i<\/sub><\/em>&nbsp;= an observed count for bin&nbsp;<em>i<\/em><br><em>E<sub>i<\/sub><\/em>&nbsp;= an expected count for bin&nbsp;<em>i<\/em>, asserted by the&nbsp;null hypothesis.<\/p>\n\n\n\n<p>The expected frequency is calculated by:<\/p>\n\n\n\n<p>where:<br><em>F<\/em>&nbsp;= the&nbsp;cumulative distribution function&nbsp;for the&nbsp;probability distribution&nbsp;being tested.<br><em>Y<sub>u<\/sub><\/em>&nbsp;= the upper limit for class&nbsp;<em>i<\/em>,<br><em>Y<sub>l<\/sub><\/em>&nbsp;= the lower limit for class&nbsp;<em>i<\/em>, and<br><em>N<\/em>&nbsp;= the sample size<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"applications-of-chi-square-as-the-goodness-of-fit\"><strong><em>Applications of Chi-square as the goodness of fit<\/em><\/strong><\/h4>\n\n\n\n<p>The Chi-square is applied to establish or refute that a relationship exists between actual observed values and predicted values. The chi-squared test is a very useful tool for predictive analytics professionals. It is used very commonly in Clinical research, Social sciences, and Business research.  <\/p>\n\n\n\n<p>Also Read:<a href=\"https:\/\/www.mygreatlearning.com\/blog\/twitter-bot\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" How to build your own Twitter Auto Liker Bot (opens in a new tab)\"> How to build your own Twitter Auto Liker Bot<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"the-kolmogorov-smirnov-goodness-of-fit-test\"><strong>The Kolmogorov-Smirnov Goodness of Fit Test<\/strong><\/h2>\n\n\n\n<p>Andrey Kolmogorov and Vladimir Smirnov, two probabilists developed this test to see how well a hypothesized distribution function <em>F<\/em>(<em>x<\/em>) fits an empirical distribution function <em>Fn<\/em>(<em>x<\/em>).<\/p>\n\n\n\n<p>A test for goodness of fit usually involves examining a random sample from some unknown distribution to test the null hypothesis that the unknown distribution function is, in fact, a known, specified function. The Kolmogorov-Smirnov Goodness of Fit Test (K-S test) compares the dataset under consideration with a known distribution and lets us know if they have the same distribution. It\u2019s also used to check the assumption of normality in Analysis of Variance.<\/p>\n\n\n\n<p>The above figure depicts the KS-test quantifying a distance between the empirical distribution of the function of the sample and the cumulative distribution function of the reference distribution.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"kolmogorov-smirnovks-test-test-can-be-applied-when-the-distribution-has-the-following-characteristics\"><strong><em>Kolmogorov-Smirnov(KS-test) test can be applied when the distribution has the following characteristics<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Predicted variable is continuous.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"merits-of-kolmogorov-smirnovks-test\"><strong><em>Merits of Kolmogorov-Smirnov(KS-test)<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It does not make any assumptions about the distribution of data.<\/li>\n\n\n\n<li>It is widely applicable not only in social sciences but in business research as well.&nbsp;<\/li>\n\n\n\n<li>There are no restrictions on sample size; Small samples are acceptable.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"the-k-s-test-for-a-goodness-of-fit-test-is\"><strong><em>The K-S test for a goodness-of-fit test is<\/em><\/strong><\/h4>\n\n\n\n<p>This test is used to decide if a sample comes from a hypothesized continuous distribution. It is based on the empirical cumulative distribution function (ECDF). Assume that we have a random sample&nbsp;<em>x<\/em><sub>1<\/sub>,&nbsp;...&nbsp;,&nbsp;<em>x<\/em><sub>n<\/sub>&nbsp;from some continuous distribution with CDF&nbsp;<em>F(x)<\/em>. The empirical CDF is denoted by<\/p>\n\n\n\n<p>The Kolmogorov-Smirnov statistic (D) is based on the largest vertical difference between&nbsp;F(x)&nbsp;and&nbsp;Fn(x). It is defined as a<\/p>\n\n\n\n<p><br>H<sub>0<\/sub>: The data follow the specified distribution.<br>H<sub>A<\/sub>: The data do not follow the specified distribution.<\/p>\n\n\n\n<p>The hypothesis regarding the distributional form is rejected at the chosen significance level (<em>alpha<\/em>) if the test statistic, D, is greater than the critical value obtained from a table.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"the-anderson-darling-goodness-of-fit-test\"><strong>The Anderson-Darling Goodness of Fit Test<\/strong><\/h2>\n\n\n\n<p>The Anderson-Darling is tested&nbsp;to compare the fit of an observed cumulative distribution function to an expected cumulative distribution function. This test gives more weight to the tails than the Kolmogorov-Smirnov test.<\/p>\n\n\n\n<p>This test is an enhancement of Kolmogorov-Smirnov. It is more sensitive to deviations in a distribution\u2019s tails. Like the K-S, this test will tell you when it is unlikely that you have a normal distribution and is normally run using statistical software.<\/p>\n\n\n\n<p>Also Read: <a href=\"https:\/\/www.mygreatlearning.com\/blog\/adaboost-algorithm\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"The Ultimate Guide to AdaBoost Algorithm (opens in a new tab)\">The Ultimate Guide to AdaBoost Algorithm<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"anderson-darlinga-d-test-can-be-applied-when-the-distribution-has-the-following-characteristics\"><strong><em>Anderson-Darling(A-D test) can be applied when the distribution has the following characteristics<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Anderson-Darling tests are proposed for the continuous as well as discrete case.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"merits-of-anderson-darling-a-d-test\"><strong><em>Merits of Anderson-Darling (A-D test)<\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It does not make any assumptions about the distribution of data.<\/li>\n\n\n\n<li>It is widely applicable not only in social sciences but in business research as well.<\/li>\n\n\n\n<li>There are no restrictions on the sample size. Small samples are acceptable.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"the-a-d-test-for-a-goodness-of-fit-test-is\"><strong><em>The A-D test for a goodness-of-fit test is<\/em><\/strong><\/h4>\n\n\n\n<p>The Anderson-Darling statistic <strong>(A<\/strong><strong><sup>2<\/sup><\/strong><strong>)<\/strong> is defined as<\/p>\n\n\n\n<p>H0: The data follow the specified distribution.<br>HA: The data do not follow the specified distribution.<\/p>\n\n\n\n<p>The hypothesis regarding the distributional form is rejected at the chosen significance level (<em>alpha<\/em>) if the test statistic, A<sup>2<\/sup>, is greater than the critical value obtained from a table.<\/p>\n\n\n\n<p>If you found this helpful and wish to learn more such concepts, you can upskill with <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-machine-learning-course\" target=\"_blank\" rel=\"noreferrer noopener\">Great Learning's PGP- Machine Learning Course<\/a> today!<\/p>\n\n\n\n<p>Expand your horizons with our extensive collection of <a href=\"https:\/\/www.mygreatlearning.com\/academy\" target=\"_blank\" rel=\"noreferrer noopener\">free courses<\/a>. With offerings in Data Science, Digital Marketing, Cybersecurity, Management, Cloud Computing, IT and Software, and Artificial Intelligence,\u00a0 we cater to various industry-relevant domains. Acquire the expertise and capabilities required to thrive in your preferred career path.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contributed by: Rahul SinghLinkedIn Profile: https:\/\/www.linkedin.com\/in\/rahul-singh-3b213117\/ What is the goodness of fit? A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d. It summarizes the divergence between actual observed data points and expected data points in context to a statistical or Machine [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":15169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"content_type":[],"class_list":["post-15162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>What is Goodness of Fit Test | Goodness of Fit Test Definition?<\/title>\n<meta name=\"description\" content=\"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?\" \/>\n<meta property=\"og:description\" content=\"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-28T09:34:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T10:03:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1218\" \/>\n\t<meta property=\"og:image:height\" content=\"861\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?\",\"datePublished\":\"2020-05-28T09:34:37+00:00\",\"dateModified\":\"2024-09-02T10:03:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/\"},\"wordCount\":1186,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/iStock-1142776467.jpg\",\"articleSection\":[\"AI and Machine Learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/\",\"name\":\"What is Goodness of Fit Test | Goodness of Fit Test Definition?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/iStock-1142776467.jpg\",\"datePublished\":\"2020-05-28T09:34:37+00:00\",\"dateModified\":\"2024-09-02T10:03:08+00:00\",\"description\":\"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/iStock-1142776467.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/iStock-1142776467.jpg\",\"width\":1218,\"height\":861,\"caption\":\"goodness of fit test\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/understanding-goodness-of-fit-test\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI and Machine Learning\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/artificial-intelligence\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"What is Goodness of Fit Test | Goodness of Fit Test Definition?","description":"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/","og_locale":"en_US","og_type":"article","og_title":"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?","og_description":"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2020-05-28T09:34:37+00:00","article_modified_time":"2024-09-02T10:03:08+00:00","og_image":[{"width":1218,"height":861,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?","datePublished":"2020-05-28T09:34:37+00:00","dateModified":"2024-09-02T10:03:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/"},"wordCount":1186,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg","articleSection":["AI and Machine Learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/","url":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/","name":"What is Goodness of Fit Test | Goodness of Fit Test Definition?","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg","datePublished":"2020-05-28T09:34:37+00:00","dateModified":"2024-09-02T10:03:08+00:00","description":"A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg","width":1218,"height":861,"caption":"goodness of fit test"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/understanding-goodness-of-fit-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AI and Machine Learning","item":"https:\/\/www.mygreatlearning.com\/blog\/artificial-intelligence\/"},{"@type":"ListItem","position":3,"name":"Understanding Goodness of Fit Test, Definition | What is Goodness of Fit?"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",1218,861,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467-300x212.jpg",300,212,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467-768x543.jpg",768,543,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467-1024x724.jpg",1024,724,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",1218,861,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",1218,861,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",640,452,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",96,68,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/05\/iStock-1142776467.jpg",150,106,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Contributed by: Rahul SinghLinkedIn Profile: https:\/\/www.linkedin.com\/in\/rahul-singh-3b213117\/ What is the goodness of fit? A goodness-of-fit is a statistical technique. It is applied to measure \u201chow well the actual(observed) data points fit into a Machine Learning model\u201d. It summarizes the divergence between actual observed data points and expected data points in context to a statistical or Machine&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/15162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=15162"}],"version-history":[{"count":12,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/15162\/revisions"}],"predecessor-version":[{"id":91277,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/15162\/revisions\/91277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/15169"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=15162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=15162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=15162"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=15162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}