{"id":48,"date":"2022-03-02T07:01:04","date_gmt":"2022-03-02T07:01:04","guid":{"rendered":"https:\/\/vwo.com\/glossary\/confidence-interval\/"},"modified":"2025-02-04T09:30:15","modified_gmt":"2025-02-04T09:30:15","slug":"confidence-interval","status":"publish","type":"post","link":"https:\/\/vwo.com\/glossary\/confidence-interval\/","title":{"rendered":"Confidence Interval"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>What is a confidence interval?<\/strong><\/h2>\n\n\n\n<p>When you make any estimate in statistics, whether it is a summary statistic or a test statistic, there is always uncertainty around that estimate because the number is based on a limited sample of the population you wish to study.<\/p>\n\n\n\n<p>Suppose a research study is performed to determine the average time a medicine takes to perform a recovery effect on a certain disease in a human body. After observing some diseased patients till the time they are recovered, the duration of recoveries will be recorded and the average is estimated. As this estimate is made from limited sample data there will be some uncertainty associated with it. A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average. It tells you how confident you can be that the results from an experiment reflect what you would expect to find if it were possible to obtain data of the entire population.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>In statistical terms, what is a confidence interval?<\/strong><\/h2>\n\n\n\n<p>A confidence interval is the estimated value of a metric plus and minus the variation in that estimate. This is the range of values you may expect your estimate to fall within if you redo your test several times. The number of times the estimate will fall into the range depends upon the configured confidence level.<\/p>\n\n\n\n<p>If you construct a confidence interval with a 95% confidence level, you are confident that 95 out of 100 times the estimate will fall between the upper and lower values specified by the confidence interval.<\/p>\n\n\n\n<p>Your desired confidence level is generally related to the Statistical Level(alpha) you use in your hypothesis test. If you set an alpha of 0.05 then your confidence level would be 1 \u2212 0.05 = 0.95 or 95%.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>When do you use confidence intervals?<\/strong><\/h2>\n\n\n\n<p>Whenever you make an estimate of any test statistic on sample data, you compute the confidence interval to represent the uncertainty that exists within the limited sample data. This is&nbsp; because sample point estimates alone don\u2019t give any information about the variation around the number due to limited data. Confidence intervals are useful for communicating the possible variation that exists around a point estimate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Calculating a confidence interval<\/strong>&nbsp;&nbsp;<\/h2>\n\n\n\n<p>Confidence interval is the terminology that mostly appears in Frequentist statistics. Most statistical softwares provide the confidence interval of the estimate along with several statistics when you run a statistical test.&nbsp;<\/p>\n\n\n\n<p>To demonstrate how to calculate a confidence interval, let\u2019s imagine that a group of analysts are interested in determining whether or not the apples grown on a particular orchard are large enough to be sold to an online grocery market.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Find the number of samples (n). The researchers randomly select 46 apples from trees on the farm. Hence, N = 46<\/li><li>Calculate the mean of the sample data.<br>The researchers then found the mean(\u03bc) weight of apples to be 86 grams.<\/li><li>Calculate the standard deviation(\u03c3). It\u2019s advisable to use the standard deviation of the entire population, however, in many scenarios this information is unavailable. If this is the case, the standard deviation can be calculated from the sample using the following formula &#8211;<\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"227\" src=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png\" alt=\"Standard Deviation Formula\" class=\"wp-image-609\" srcset=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png 512w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png?tr=w-375 375w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Decide the confidence level that will be used. Typical market research studies use a confidence level of  95\/99 percent. Let\u2019s say the researchers in our example have decided to use a confidence level of 95 percent.<\/li><li>For the selected confidence level, get the corresponding Z value using the Z table.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Confidence Level<\/strong><\/td><td><strong>Z<\/strong><\/td><\/tr><tr><td>80%<\/td><td>1.282<\/td><\/tr><tr><td>85%<\/td><td>1.44<\/td><\/tr><tr><td>90%<\/td><td>1.645<\/td><\/tr><tr><td>95%<\/td><td>1.96<\/td><\/tr><tr><td>99%<\/td><td>2.576<\/td><\/tr><tr><td>99.50%<\/td><td>2.807<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Z value essentially is the interval that has an area of a standard normal distribution curve equal to the defined confidence level.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"285\" src=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/z-value.png\" alt=\"Z Value\" class=\"wp-image-612\" srcset=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/z-value.png 512w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/z-value.png?tr=w-375 375w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/figure>\n<\/div>\n\n\n<p>For the selected confidence level of 95 percent, they determine that Z = 1.960. <\/p>\n\n\n\n<p>6. Calculate the confidence interval using the following formula.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"196\" src=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Confidence-interval.png\" alt=\"Confidence Interval\" class=\"wp-image-615\" srcset=\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Confidence-interval.png 512w, https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Confidence-interval.png?tr=w-375 375w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/figure>\n<\/div>\n\n\n<p>CI = 86 \u00b1 1.960 (6.2\/6.782)<\/p>\n\n\n\n<p>When calculated, this formula gives the result of 86 \u00b1 1.79 as the confidence interval.<\/p>\n\n\n\n<p>7. Draw a conclusion<br>The researchers have now determined that the sample mean(41 apples) is likely (with 95 percent confidence) between 84.21 grams and 87.79 grams. If the weight required for the apples to become eligible to be sold in the online market is less than the lower limit of the estimated confidence interval then they are approved for sale.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Caution when using confidence intervals<\/strong><\/h2>\n\n\n\n<p>Confidence interval isn\u2019t about saying that the \u2018true value\u2019 of your estimate lies within the bounds of the confidence interval. The correct interpretation is there is a 95% chance that the confidence interval you calculated contains the range of estimates you are expected to get if you redo the experiment several times. With increasing data, the chance that your confidence interval includes the true value of your estimate increases.&nbsp;<\/p>\n\n\n\n<p>At VWO, we use <a href=\"https:\/\/vwo.com\/why-us\/technology\/bayesian-statistics\/\">Bayesian methodolog<\/a>y where we use credible intervals to estimate the uncertainty around the estimate. The Bayesian concept of a credible interval is a more practical and interpretable concept than the confidence interval. For a 95% credible interval, the \u2018true value\u2019 of the metric you intend to estimate lies with a 95% probability in the interval.<\/p>\n\n\n\n<p>To understand our reporting in detail, you can <a href=\"#free-trial\">take a free trial<\/a> or <a href=\"#request-demo\">request a demo<\/a> with our product experts.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average. It tells you how confident you can be that the experiment&#8217;s estimated metrics reflect what you would expect to find if it were possible to obtain data of the entire population instead of a limited sample. <\/p>\n","protected":false},"author":565,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Confidence Interval | VWO<\/title>\n<meta name=\"description\" content=\"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vwo.com\/glossary\/confidence-interval\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Confidence Interval | VWO\" \/>\n<meta property=\"og:description\" content=\"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vwo.com\/glossary\/confidence-interval\/\" \/>\n<meta property=\"og:site_name\" content=\"VWO Glossary\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-02T07:01:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-04T09:30:15+00:00\" \/>\n<meta name=\"author\" content=\"avnishsharamav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/\"},\"author\":{\"name\":\"avnishsharamav\",\"@id\":\"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044\"},\"headline\":\"Confidence Interval\",\"datePublished\":\"2022-03-02T07:01:04+00:00\",\"dateModified\":\"2025-02-04T09:30:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/\"},\"wordCount\":837,\"image\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/\",\"url\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/\",\"name\":\"Confidence Interval | VWO\",\"isPartOf\":{\"@id\":\"https:\/\/vwo.com\/glossary\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png\",\"datePublished\":\"2022-03-02T07:01:04+00:00\",\"dateModified\":\"2025-02-04T09:30:15+00:00\",\"author\":{\"@id\":\"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044\"},\"description\":\"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.\",\"breadcrumb\":{\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vwo.com\/glossary\/confidence-interval\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage\",\"url\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png\",\"contentUrl\":\"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vwo.com\/glossary\/confidence-interval\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vwo.com\/glossary\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Confidence Interval\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vwo.com\/glossary\/#website\",\"url\":\"https:\/\/vwo.com\/glossary\/\",\"name\":\"VWO Glossary\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vwo.com\/glossary\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044\",\"name\":\"avnishsharamav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vwo.com\/glossary\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5b76ede4c1368d6104eaa4834bd018786dcfa0a69cd759ca31da38e37a39c1e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5b76ede4c1368d6104eaa4834bd018786dcfa0a69cd759ca31da38e37a39c1e7?s=96&d=mm&r=g\",\"caption\":\"avnishsharamav\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Confidence Interval | VWO","description":"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.","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:\/\/vwo.com\/glossary\/confidence-interval\/","og_locale":"en_US","og_type":"article","og_title":"Confidence Interval | VWO","og_description":"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.","og_url":"https:\/\/vwo.com\/glossary\/confidence-interval\/","og_site_name":"VWO Glossary","article_published_time":"2022-03-02T07:01:04+00:00","article_modified_time":"2025-02-04T09:30:15+00:00","author":"avnishsharamav","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#article","isPartOf":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/"},"author":{"name":"avnishsharamav","@id":"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044"},"headline":"Confidence Interval","datePublished":"2022-03-02T07:01:04+00:00","dateModified":"2025-02-04T09:30:15+00:00","mainEntityOfPage":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/"},"wordCount":837,"image":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage"},"thumbnailUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/","url":"https:\/\/vwo.com\/glossary\/confidence-interval\/","name":"Confidence Interval | VWO","isPartOf":{"@id":"https:\/\/vwo.com\/glossary\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage"},"image":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage"},"thumbnailUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png","datePublished":"2022-03-02T07:01:04+00:00","dateModified":"2025-02-04T09:30:15+00:00","author":{"@id":"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044"},"description":"A confidence interval is the degree of uncertainty in a particular metric of interest, typically an average.","breadcrumb":{"@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vwo.com\/glossary\/confidence-interval\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#primaryimage","url":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png","contentUrl":"https:\/\/static.wingify.com\/gcp\/uploads\/sites\/18\/2022\/03\/Standard-deviation-formula.png"},{"@type":"BreadcrumbList","@id":"https:\/\/vwo.com\/glossary\/confidence-interval\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vwo.com\/glossary\/"},{"@type":"ListItem","position":2,"name":"Confidence Interval"}]},{"@type":"WebSite","@id":"https:\/\/vwo.com\/glossary\/#website","url":"https:\/\/vwo.com\/glossary\/","name":"VWO Glossary","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vwo.com\/glossary\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vwo.com\/glossary\/#\/schema\/person\/620cb97e975598f02bdaf7e87d218044","name":"avnishsharamav","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vwo.com\/glossary\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5b76ede4c1368d6104eaa4834bd018786dcfa0a69cd759ca31da38e37a39c1e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b76ede4c1368d6104eaa4834bd018786dcfa0a69cd759ca31da38e37a39c1e7?s=96&d=mm&r=g","caption":"avnishsharamav"}}]}},"_links":{"self":[{"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/users\/565"}],"replies":[{"embeddable":true,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":14,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":3226,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/posts\/48\/revisions\/3226"}],"wp:attachment":[{"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vwo.com\/glossary\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}