{"id":20696,"date":"2017-03-26T16:20:58","date_gmt":"2017-03-26T16:20:58","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=20696"},"modified":"2017-03-26T16:20:58","modified_gmt":"2017-03-26T16:20:58","slug":"statistics-spreadsheets-confidence-interval-for-the-mean-population-standard-deviation-unknown-confidence-t-function-on-libreoffice-calc","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/statistics-spreadsheets-confidence-interval-for-the-mean-population-standard-deviation-unknown-confidence-t-function-on-libreoffice-calc\/","title":{"rendered":"Statistics, spreadsheets:  confidence interval for the mean, population standard deviation unknown:  CONFIDENCE.T() function on LibreOffice Calc"},"content":{"rendered":"<h1>Tutoring statistics, the tutor is happy to share the CONFIDENCE.T() function from LibreOffice Calc.<\/h1>\n<p>My last couple of posts (<a href=\"?p=20663\">here<\/a> and <a href=\"?p=20681\">here<\/a>) I&#8217;ve talked about confidence intervals for the mean.  Yesterday I mentioned finding one using Excel or LibreOffice Calc&#8217;s CONFIDENCE() function.<\/p>\n<p>While the CONFIDENCE() function assumes the population standard deviation is known, I pointed out that, with sample size n&#8805;31, the t-distribution approximates the normal closely enough that the sample standard deviation can be used.  Today, I&#8217;ll make a direct comparison.<\/p>\n<p>Yesterday&#8217;s post considered a sample mean of 67.3, known population standard deviation of 12.4, and sample size 42.  The input<\/p>\n<p style=\"font-family:monospace;font-size:120%\">=confidence(0.05,12.4,42)<\/p>\n<p>gave the result 3.75, meaning a confidence interval of 67.3\u00b13.75, or 63.55 to 71.05.<\/p>\n<p>LibreOffice Calc&#8217;s CONFIDENCE.T() function has the following format:<\/p>\n<p style=\"font-family:monospace;font-size:120%\">=confidence(1-confidence_level, sample_standard_deviation, sample_size)<\/p>\n<p>Since it uses the <em>sample<\/em> standard deviation, CONFIDENCE.T() calculates the confidence interval from the t-distribution. By constrast, CONFIDENCE() takes the <em>population<\/em> standard deviation, so uses the normal distribution to calculate the confidence interval.<\/p>\n<p>The following input<\/p>\n<p style=\"font-family:monospace;font-size:120%\">=confidence.t(0.05, 12.4, 42)<\/p>\n<p>gives the result 3.864, implying a confidence interval of 67.3\u00b13.864 or 63.44 to 71.16.  Obviously this is not much different from the confidence interval 63.55 to 71.05 gotten using =confidence(0.05,12.4,42).<\/p>\n<p>So, the CONFIDENCE.T() function seems to demonstrate that, for a sample size n&#8805;31, the t-distribution approximates the normal distribution closely enough that the sample standard deviation can be used when the population standard deviation is unavailable.<\/p>\n<p>HTH:)<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tutoring statistics, the tutor is happy to share the CONFIDENCE.T() function from LibreOffice Calc. My last couple of posts (here and here) I&#8217;ve talked about confidence intervals for the mean. Yesterday I mentioned finding one using Excel or LibreOffice Calc&#8217;s &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/statistics-spreadsheets-confidence-interval-for-the-mean-population-standard-deviation-unknown-confidence-t-function-on-libreoffice-calc\/\"> <span class=\"screen-reader-text\">Statistics, spreadsheets:  confidence interval for the mean, population standard deviation unknown:  CONFIDENCE.T() function on LibreOffice Calc<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1583,1951,1065,19],"tags":[2195,2196,1074,2197],"class_list":["post-20696","post","type-post","status-publish","format-standard","hentry","category-excel","category-libreoffice-calc","category-spreadsheets","category-statistics","tag-confidence-interval-for-the-mean","tag-confidence-t-function","tag-libreoffice-calc","tag-t-distribution-vs-normal-distribution"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/20696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=20696"}],"version-history":[{"count":14,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/20696\/revisions"}],"predecessor-version":[{"id":20710,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/20696\/revisions\/20710"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=20696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=20696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=20696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}