{"id":2665,"date":"2019-07-20T13:17:12","date_gmt":"2019-07-20T13:17:12","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=2665"},"modified":"2024-03-27T11:53:26","modified_gmt":"2024-03-27T11:53:26","slug":"confidence-interval-tutorial","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/","title":{"rendered":"Confidence interval"},"content":{"rendered":"<h1>Confidence Interval Tutorial<\/h1>\n<p>&nbsp;<\/p>\n<p><strong>Confidence interval tutorial<\/strong>, Welcome to the world of confidence interval statistics in <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">Data science<\/a>. In the previous section, we have learned about <a href=\"https:\/\/prwatech.in\/blog\/data-science\/co-efficient-of-determination-tutorial\/\">Co-efficient of Determination in data science<\/a> and how it calculates. Now, we will talk about confidence interval in data science.<\/p>\n<p>&nbsp;<\/p>\n<p>Having knowledge of statistical models will be a strong benefit to the <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">Data analyst<\/a>. In this tutorial, one can easily learn about confidence interval definition and how to calculate it with examples. Are you also dreaming to become certified in the Data Science, then stop just dreaming get your advanced <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">Data science training<\/a> from India\u2019s Leading <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">Data science training institute in Bangalore<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Confidence Interval Definition<\/h2>\n<p>&nbsp;<\/p>\n<p>A Confidence Interval can be stated as, a range of values we are fairly sure our true value lies within.<\/p>\n<p>The confidence interval is a way to display what the uncertainty is with a certain statistic (i.e. from a certain poll or survey).<\/p>\n<p>The confidence level describes the uncertainty associated with a sampling method. Suppose we used the same sampling method to select different samples and to compute a different interval estimate for every sample. Some interval estimates will include the true population parameter and some would not.<\/p>\n<p>A 90% confidence level means that we would expect 90% of interval estimates to include the population parameter; a 95% confidence level means that 95% of the intervals would include the parameter; and so on.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3683\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png\" alt=\"confidence interval tutorial\" width=\"850\" height=\"468\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png 720w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1-300x165.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>For example, a poll may state that there is a 92% confidence interval of 6.48 and 9.56. That means if the poll is repeated using the same techniques, 92% of the time the true population parameter will fall between the interval estimated.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>\u00a0<\/strong><strong>Why we use Confidence interval?<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Statisticians use a confidence interval to describe the quantity of uncertainty associated with a sample estimate of a population parameter.<\/p>\n<p>For example, In Indian Elections Pools (incorrectly) stated that Rahul would win the 2018 election with Rahul at 49% and Modi at 48%. The stated confidence level was 98% with a Margin of error of +\/- 2, which means that the results were calculated to be accurate to within 2 percentage points 98% of the time.<\/p>\n<p>The real results from the election were: Modi 51%, Rahul 47%, which was actually even outside the range of the Indian poll\u2019s margin of error (2 percent), showing that not only can statistics be wrong, but polls can be too.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>How to Calculate Confidence interval?<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>A sample of size n = 100 produced the sample mean of x\u0305 = 16. Assuming the population standard deviation \u00b5 = 3, compute a 95% confidence interval for the population mean \u00b5.<\/p>\n<p>&nbsp;<\/p>\n<h3>Confidence Interval Example<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2666\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/coef.jpg\" alt=\"confidence interval example\" width=\"850\" height=\"334\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/coef.jpg 1010w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/coef-300x118.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/coef-768x302.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Hence, in this confidence interval tutorial, we discussed basics of confidence interval in <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">data science<\/a> and also how to calculate it with examples.<\/p>\n<p>&nbsp;<\/p>\n<p>Still, Interested in learning more? or Do you want to get in-depth knowledge of Data Science? Then Take <a href=\"https:\/\/prwatech.in\/data-science-training-institutes-in-bangalore\/\">Data science Training<\/a> from today itself under 15+ Years of hands-on experienced Professionals from <a href=\"http:\/\/prwatech.com\/\">Prwatech<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/yyHNh_6luPc\" width=\"650\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Confidence Interval Tutorial &nbsp; Confidence interval tutorial, Welcome to the world of confidence interval statistics in Data science. In the previous section, we have learned about Co-efficient of Determination in data science and how it calculates. Now, we will talk about confidence interval in data science. &nbsp; Having knowledge of statistical models will be a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,1704],"tags":[217],"class_list":["post-2665","post","type-post","status-publish","format-standard","hentry","category-data-science","category-data-science-modules","tag-confidence-interval-tutorial"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Confidence interval tutorial with examples | Prwatech<\/title>\n<meta name=\"description\" content=\"Learn the basics of Confidence interval tutorial, its definition, formula &amp; examples in data science. Also, learn how to calculate it &amp; uses of it.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Confidence interval tutorial with examples | Prwatech\" \/>\n<meta property=\"og:description\" content=\"Learn the basics of Confidence interval tutorial, its definition, formula &amp; examples in data science. Also, learn how to calculate it &amp; uses of it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-20T13:17:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T11:53:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/\",\"url\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/\",\"name\":\"Confidence interval tutorial with examples | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png\",\"datePublished\":\"2019-07-20T13:17:12+00:00\",\"dateModified\":\"2024-03-27T11:53:26+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Learn the basics of Confidence interval tutorial, its definition, formula & examples in data science. Also, learn how to calculate it & uses of it.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png\",\"width\":720,\"height\":396},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Confidence interval\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Confidence interval tutorial with examples | Prwatech","description":"Learn the basics of Confidence interval tutorial, its definition, formula & examples in data science. Also, learn how to calculate it & uses of it.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Confidence interval tutorial with examples | Prwatech","og_description":"Learn the basics of Confidence interval tutorial, its definition, formula & examples in data science. Also, learn how to calculate it & uses of it.","og_url":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-07-20T13:17:12+00:00","article_modified_time":"2024-03-27T11:53:26+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/","url":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/","name":"Confidence interval tutorial with examples | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png","datePublished":"2019-07-20T13:17:12+00:00","dateModified":"2024-03-27T11:53:26+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Learn the basics of Confidence interval tutorial, its definition, formula & examples in data science. Also, learn how to calculate it & uses of it.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/confidence1.png","width":720,"height":396},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/data-science\/data-science-modules\/confidence-interval-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Confidence interval"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":12,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":3684,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2665\/revisions\/3684"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}