{"id":347,"date":"2019-03-12T06:27:04","date_gmt":"2019-03-12T06:27:04","guid":{"rendered":"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=347"},"modified":"2019-03-12T07:05:46","modified_gmt":"2019-03-12T07:05:46","slug":"t-distribution-and-tests-of-significance-based-on-t-distribution","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/chapter\/t-distribution-and-tests-of-significance-based-on-t-distribution\/","title":{"rendered":"t-Distribution and tests of significance based on t-distribution"},"content":{"raw":"<div>\r\n\r\n&nbsp;\r\n\r\n1.\u00a0<strong>Introduction<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Student\u2019s t-distribution is an important probability distribution in statistics and is used in a number of statistical significance tests, t-tests being the most common and important amongst those. T-tests are used for comparing means of two groups. If the objective is to know whether two group means differ significantly or not (statistical hypothesis testing), a t-test is not even required; plotting 95% CI of the difference between sample means would suffice. A manual t-test is no more robust or powerful than 95% CI of differences for hypothesis testing, but a t-test in computer returns exact P value that enables us to decide on significance for the evidence of differences-if any . This module details the t-distribution, performing two kinds of t-tests (paired and unpaired t-tests) manually, and most importantly, interpreting the P values.<\/p>\r\n&nbsp;\r\n\r\n<strong>2.\u00a0<\/strong><strong>Learning Outcome:<\/strong>\r\n\r\n<strong>\u00a0<\/strong>\r\n\r\na)\u00a0\u00a0\u00a0\u00a0\u00a0 Student\u2019s t-distribution\r\n\r\nb)\u00a0\u00a0\u00a0\u00a0\u00a0 CI of mean difference\r\n\r\nc)\u00a0\u00a0\u00a0\u00a0\u00a0 F-test\r\n\r\nd)\u00a0\u00a0\u00a0\u00a0\u00a0 Homoscedasticity\r\n\r\ne)\u00a0\u00a0\u00a0\u00a0\u00a0 Matched t-test\r\n\r\nf)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Paired t-test\r\n\r\ng)\u00a0\u00a0\u00a0\u00a0\u00a0 Unpaired t-test\r\n\r\n&nbsp;\r\n\r\n<strong>3.\u00a0<\/strong><strong>t-Distribution<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">t-Distribution (Student\u2019s t-distribution) is a type of continuous probability distribution with exact probabilities of every t scores known under the assumption of null hypothesis. This enables us to calculate P value from a given t-score. We have seen how t distribution is computed in module 16; first we calculate t-score (t-ratio) by dividing difference between sample mean and population mean with standard error of the sample mean. Distribution of these t-ratios plotted as in a probability histogram is called t-distribution. The shape of t-distribution depends only on degree of freedom (df). With small df,\u00a0<span style=\"text-align: initial;font-size: 1em\">distribution is fat-tailed (platykurtic), while with large values of df, distribution <\/span>become<span style=\"text-align: initial;font-size: 1em\"> almost indistinguishable from normal Gaussian distribution with thin tails. For each <\/span>values<span style=\"text-align: initial;font-size: 1em\"> of df, t-distribution can be calculated using <\/span>intricacies<span style=\"text-align: initial;font-size: 1em\"> of calculus. At each of these distributions at each df, we can calculate the area under the significance level (the threshold P value, alpha) at either of the tails. These values can be presented in a tabular format, the so called t-distribution tables, where one can lookup a value called t-critical from a combination of df and significance level (for eg., df=15 and significance level=0.05). One can compare this t-critical value found from the table and the t-score calculated from the data to make inferences about statistical significance. If t-critical at <\/span>significance<span style=\"text-align: initial;font-size: 1em\"> level of 0.05 is less than t-score, we can infer that P value must be less than 0.05 and can reject the null hypothesis.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-distribution was developed by W.S. Gosset who was working at Guinness brewery in Dublin, Ireland then. To maintain the trade secrets of the brewery, Gosset had to publish the findings anonymously using a pseudonym \u2018student\u2019 (hence the name of the distribution). Ronald Fisher, the famous population geneticist and the father of statistics, was the first one to refer the distribution as t-distribution. t-distribution is an important probability distribution involved in a number of statistical significance tests. In module 16 we have seen how this distribution is used while calculating <\/span>confidence<span style=\"text-align: initial;font-size: 1em\"> interval of the sample mean. T-distribution is used in calculating Confidence intervals of many other statistical measures as well, for example, <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between two sample means as we will shortly learn in this module. T-distribution is also used for t-tests as explained in this module, linear regression analysis and Bayesian analyses, discussed elsewhere in this MOOC. Let\u2019s consider the most important test of significance for comparing <\/span>means<span style=\"text-align: initial;font-size: 1em\"> of two groups, t-test.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">4. Un-paired t-test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Unpaired<span style=\"text-align: initial;font-size: 1em\"> t-test is used to compare means of two independent, unpaired or unmatched groups. For example, marks of two groups of students (females vs. males in a class). Let\u2019s consider an example, data from Franzier et al, 2006 who examined concentrations of neurotransmitter norepinephrine required to get maximal relaxations of urinary bladder muscles of young rats.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n<table style=\"height: 168px;width: 218px\">\r\n<tbody>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\"><strong>Old<\/strong><\/td>\r\n<td style=\"height: 14px;width: 200.063px\"><strong>Young<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">20.8<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">45.5<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">2.8<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">55.0<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">50.0<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">60.7<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">33.3<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">61.5<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">29.4<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">61.1<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">38.9<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">65.5<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">29.4<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">42.9<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">52.6<\/td>\r\n<td style=\"height: 14px;width: 200.063px\">37.5<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td style=\"height: 14px;width: 183.063px\">14.3<\/td>\r\n<td style=\"height: 14px;width: 200.063px\"><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n<p style=\"text-align: justify\">We can also calculate values of mean, standard deviation (remember, this is a sample, not population, and we should use sample SD equation) and standard error of the mean for both of these groups exactly as we have learned in descriptive statistics<\/p>\r\n\r\n<table style=\"width: 411px\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 233px\"><strong>Statistics<\/strong><\/td>\r\n<td style=\"width: 78px\"><strong>Old Rats<\/strong><\/td>\r\n<td style=\"width: 100px\"><strong>Young Rats<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 233px\">Mean<\/td>\r\n<td style=\"width: 78px\">30.17<\/td>\r\n<td style=\"width: 100px\">53.71<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 233px\">Sample Standard Deviation (s)<\/td>\r\n<td style=\"width: 78px\">16.09<\/td>\r\n<td style=\"width: 100px\">10.36<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 233px\">SEM<\/td>\r\n<td style=\"width: 78px\">5.365<\/td>\r\n<td style=\"width: 100px\">3.664<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 233px\">Sample Size (n)<\/td>\r\n<td style=\"width: 78px\">9<\/td>\r\n<td style=\"width: 100px\">8<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n\r\nLet us first define our null hypothesis and alternative hypotheses:\r\n\r\n&nbsp;\r\n\r\nH0: Group mean for old = Group mean of young (difference between two group means is zero)\r\n\r\nHa: Group mean for old \u2260 Group mean of young (difference between two group means is not zero)\r\n\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">5.\u00a0\u00a0 Difference between sample means<\/strong>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">Difference between sample means <\/span>are<span style=\"text-align: initial;font-size: 1em\"> easy to compute. Here, <\/span>sample<span style=\"text-align: initial;font-size: 1em\"> mean of young rats is higher than old rats. The difference between them is 23.55.<\/span>\r\n\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">6.<\/strong><span style=\"text-align: initial;font-size: 1em\">\u00a0\u00a0\u00a0 <\/span><strong style=\"text-align: initial;font-size: 1em\">Confidence Interval of the difference between sample means<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In module 16 we have learned how to compute 95% CI of sample means. Remember the formula used to calculate the width (w) of 95% CI is (w= t* x SEM), t* being a constant from t distribution and SEM being the sample standard error of the mean.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">To calculate <\/span>width<span style=\"text-align: initial;font-size: 1em\"> of 95% CI of difference between sample means, a similar formula is used; (w= t* x \u201cStandard Error of the Difference between sample means\u201d)<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Therefore, <\/span>first<span style=\"text-align: initial;font-size: 1em\"> we need to calculate Standard Error of the difference between two means. The following formula is used:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"aligncenter size-full wp-image-351\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-204.png\" alt=\"\" width=\"207\" height=\"58\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Where s1 and s2 are sample standard deviations of groups 1 and 2 respectively, and n1 and n2 are sample sizes of group 1 and 2 respectively.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Substituting values from rat example in this formula, the standard error of the difference between sample means can be calculated as:<\/p>\r\n=\u00a0 \u221a (16.092\/9 + 10.362\/8)\r\n\r\n=\u221a (28.77 + 13.42)\r\n\r\n=\u221a43.19\r\n\r\n=6.50\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">(The exact value of this standard error of difference between sample means uses a slightly different, albeit a complicated formula that is being omitted here for the sake of brevity. Calculated using that formula, the exact value of the standard error of difference between sample means is 6.67)<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">To calculate the width of 95% CI, we have to multiply this standard error with a constant from t distribution (t*). Remember that t* depends only on df and level of significance. Level of significance is 0.05 for 95% Confidence Level and the degree of freedom is (n-1). Df for each group need to be\u00a0<span style=\"text-align: initial;font-size: 1em\">calculated and <\/span>sum<span style=\"text-align: initial;font-size: 1em\"> of <\/span>these df<span style=\"text-align: initial;font-size: 1em\"> should be used for this calculation. Df for old rats is 9-1=8 and df for young rats is 8-1=7. Combined df is 8+7=15. For significance level 0.05 and df 15, t* is 2.1314. Therefore, w is<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">W of 95% CI = t* x SE of differences<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 2.1314 x 6.67 =14.22<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">This width extends both sides of the mean differences. I.e., 23.55. 95% CI is (mean \u00b1 w). =(23.55-14.22) to (23.55+14.22)<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=9.33 to 37.77<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Remember that we have learned about <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis in module 17. While comparing means of two samples, <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis is that there are no differences between sample means, or the difference between mean 1 and mean 2 is zero. We have also learned in module 17 a crucial connection between 95% CI and P in statistical hypothesis testing; the connection is that if 95% CI <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not include <\/span>value<span style=\"text-align: initial;font-size: 1em\"> of\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">lull hypothesis, P value should be lesser than 0.05 and we can conclude that the result is \u2018statistically significant\u2019.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In our above example, <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis is that the difference between two sample means is zero. Does the range of 95% CI <\/span>includes<span style=\"text-align: initial;font-size: 1em\"> this null hypothesis, i.e., 0? As 9.33 to 37.77 do not include 0, we can conclude that P value must be &lt; 0.05 and <\/span>result<span style=\"text-align: initial;font-size: 1em\"> is statistically significant. Remember that we are deducing this conclusion only from the 95% CI, even before performing <\/span>t-test<span style=\"text-align: initial;font-size: 1em\">. If the objective is to compare two sample means to know whether <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> is statistically significant, calculating 95% CI of those differences would suffice and is robust. Manual t-test that <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not calculate exact P value and <\/span>conclude<span style=\"text-align: initial;font-size: 1em\"> such as \u201cP&lt;0.05\u201d is completely optional. However, a t-test using computer produces the exact P value (like 0.0499), which is a lot more informative than conclusion such as \u201cP&lt;0.05\u201d, and therefore preferable over conclusion arrived using 95% CI alone. The width of CI depends upon <\/span>following<span style=\"text-align: initial;font-size: 1em\"> three factors:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1)\u00a0\u00a0\u00a0\u00a0\u00a0 Variability. Low SD (consistent data) would lead to narrower CI<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2)\u00a0\u00a0\u00a0\u00a0\u00a0 Sample size. Large n would lead to narrower CI<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3)\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Degree<span style=\"text-align: initial;font-size: 1em\"> of confidence (confidence level). Lower confidence would lead to narrower CI<\/span><\/p>\r\n\r\n<\/div>\r\n<div><\/div>\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">7.\u00a0\u00a0 Unpaired t-test: Assumptions<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Before performing an unpaired t-test, we should make sure that the set of assumptions for this test is not violated in our data. The set of assumptions are:<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1)\u00a0\u00a0\u00a0\u00a0\u00a0 Subjects have randomly assigned to one of two groups.<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2)\u00a0\u00a0\u00a0\u00a0\u00a0 Each element (individual measurements or values) are independent of other such elements.<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3)\u00a0\u00a0\u00a0\u00a0\u00a0 Measurement is accurate<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">4)\u00a0\u00a0\u00a0\u00a0\u00a0 Samples came from a normal (or nearly Gaussian) distribution<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">5)\u00a0 \u00a0 Two samples follow \u2018homoscedasticity\u2019 ie., they have nearly equal variances (or\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">standard deviations). Sample sizes between groups do not have to be equal.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">First three assumptions (random samples, independent measurement, accurate data) are a familiar set of assumptions used universally in a number of statistical tests. To detect whether our fourth assumption is valid, we should detect whether our samples came from a normally distributed population. A rough approximation for which can be done using <\/span>visual<span style=\"text-align: initial;font-size: 1em\"> interpretation of histograms, or by calculating Kurtosis and Skewness levels and deciding are these values fall within values for approximately Gaussian distribution. For a more formal test, D\u2019Agostino Pearson Omnibus K2 test can be performed using a statistical package like Graphpad Prism. If the inference is that the populations are significantly deviating from Gaussian distribution, a non-parametric test like Mann-Whitney U test or Wilcoxon signed-rank test (both are not available in excel; use <\/span>statistical<span style=\"text-align: initial;font-size: 1em\"> package like GraphPad Prism). For <\/span>testing<span style=\"text-align: initial;font-size: 1em\"> assumption of homoscedasticity 5 that standard deviations of two groups are nearly equal, an F-test is usually performed.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">To do <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test, <\/span>first<span style=\"text-align: initial;font-size: 1em\"> calculate F-ratio<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">= (s1\/s2)2<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Where s1 is <\/span>standard<span style=\"text-align: initial;font-size: 1em\"> deviation of group 1 and s2 is <\/span>standard<span style=\"text-align: initial;font-size: 1em\"> deviation of group 2 For our earlier example of rat bladder,<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 (s1\/s2)<sup>2<\/sup><\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 (16.09\/10.36) <sup>2<\/sup><\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 2.41<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">What <\/span>are<span style=\"text-align: initial;font-size: 1em\"> the degree of freedom for this ratio? There will be two df, one for Numerator (DFn) and other for <\/span>denominator<span style=\"text-align: initial;font-size: 1em\"> (DFd), both will be respective group size minus 1. As seen earlier, Dfn= 8 and DFd =7. From these three <\/span>numbers<span style=\"text-align: initial;font-size: 1em\"> one can calculate <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value. We can also calculate Critical P value by using <\/span>F<span style=\"text-align: initial;font-size: 1em\"> distribution table:<\/span><\/p>\r\n\r\n<div>\r\n\r\n<img class=\"aligncenter size-full wp-image-352\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205.png\" alt=\"\" width=\"1222\" height=\"703\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Remember that DFd (df1) is across and DFn (df2) is vertically down. 8 vs 7 (3.7257) as in this example, is different from 7 vs 8 (3.5005); we should be meticulous not to make such an often made error in this step. As table value (critical F, 3.72) is higher than our obtained F ratio (2.41), we can conclude that P&gt;0.05 and our variances are not significantly different. Whenever looking at T or F or Chi square table, remember that if table value is higher than obtained value, P&gt;0.05, and conclude \u2018ns\u2019 (not significant). If table value is less than test value, P&lt;0.05. A more accurate computational method calculates exact P value of F test. For our earlier example, P=0.2631, which is indeed &gt;0.05. Variances are not significantly different<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">What if P&lt;0.05 with a statistically significant conclusion about variances of two groups? A usual practice is to perform a modified t-test that allows for unequal variances (such an option is available for\u00a0<span style=\"text-align: initial;font-size: 1em\">excel). However, Moser &amp; Stevens, 1992 concluded that modified t-test that allows for unequal variances should not be used, as the results will be misleading. If F test returns a low P value (significant, or unequal variances), perhaps the best practice is to ignore the result and go ahead with t-test assuming equal variance. <\/span>T-test<span style=\"text-align: initial;font-size: 1em\"> is fairly robust to violations of <\/span>assumption<span style=\"text-align: initial;font-size: 1em\"> of equal variances as long as sample sizes are not tiny, and two groups have <\/span>approximately<span style=\"text-align: initial;font-size: 1em\"> equal sample size. That means you really don\u2019t need to do <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test before a t test; simply perform normal t test that assumes equal variances. As explained previously, even t-test is not necessary. 95% CI of differences between means would be enough to know whether P&lt;0.05.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">8.<\/strong><span style=\"text-align: initial;font-size: 1em\">\u00a0\u00a0\u00a0 <\/span><strong style=\"text-align: initial;font-size: 1em\">Performing an unmatched t-test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Performing an unmatched t-test is straightforward. First, we have to calculate t-ratio which is identical to the t-score we calculated while discussing <\/span>about<span style=\"text-align: initial;font-size: 1em\"> the derivation of 95% CI of the sample mean in module 16. To calculate t-ratio in <\/span>t-test<span style=\"text-align: initial;font-size: 1em\">, <\/span>following<span style=\"text-align: initial;font-size: 1em\"> formula is used:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-Ratio = Difference between sample means\/Standard Error of the difference between sample means<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Note that for performing t-test all we need to know are mean and standard deviations of two groups that we are comparing. Raw data is not required. If raw data is given, we first have to calculate <\/span>mean<span style=\"text-align: initial;font-size: 1em\"> and standard deviations of those two groups.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In our rat bladder example, <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between sample means = 23.55<\/span><\/p>\r\n<p style=\"text-align: justify\">Standard<span style=\"text-align: initial;font-size: 1em\"> error of the difference between sample means=6.67<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-ratio = 23.55\/6.67<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">= 3.53<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As in the case of <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test, <\/span>next<span style=\"text-align: initial;font-size: 1em\"> step is to look up t-distribution table for critical t value given a significance level and df. For 15 df at 0.05 alpha, let us look up the table for t critical value:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"aligncenter size-full wp-image-353\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206.png\" alt=\"\" width=\"1337\" height=\"721\" \/>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">t-critical is 2.131<\/span>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As the t-critical from <\/span>table<span style=\"text-align: initial;font-size: 1em\"> (2.131) is lower than calculated t-ratio (3.53), <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value is inferred to be &lt;0.05, we reject the null hypothesis and conclude that the difference between sample means as statistically significant. Had our significance level been 0.01, t-critical from the table (2.947) would have been still less than the calculated t-ratio (3.53), so we can further infer that P value must be &lt;0.01 and differences must be very significant. Actual P value calculated in a slightly complicated manner by software such as excel is 0.0030 which is indeed &lt;0.01 (you can also use a web-based calculator that computes P from t and df <\/span><a style=\"text-align: initial;font-size: 1em\" href=\"https:\/\/www.graphpad.com\/quickcalcs\/pValue1\">https:\/\/www.graphpad.com\/quickcalcs\/pValue1<\/a><span style=\"text-align: initial;font-size: 1em\">). In case calculated t ratio is negative, no problem; take the absolute value and infer the results. The sign <\/span>indicate<span style=\"text-align: initial;font-size: 1em\"> the direction of <\/span>difference<span style=\"text-align: initial;font-size: 1em\">. For example, old rats having <\/span>larger<span style=\"text-align: initial;font-size: 1em\"> sample mean than young rats. Had our calculated value been -3.53, results would have been still <\/span>same<span style=\"text-align: initial;font-size: 1em\">, P&lt;0.05.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">P value depends on the following three factors:<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1) If mean differences <\/span>is<span style=\"text-align: initial;font-size: 1em\"> much greater than zero (i.e., two groups are so much different), P value will be smaller<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2) If data are very consistent, i.e., low standard deviations, P value will be smaller<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3) If <\/span>sample<span style=\"text-align: initial;font-size: 1em\"> size is large, <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value will be smaller<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-ratio can also be calculated by another formula which some students find easier:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"aligncenter size-full wp-image-354\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207.png\" alt=\"\" width=\"700\" height=\"476\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">However, method through SE of differences explained earlier is advantageous, as it enables us to calculate 95% CI of the differences. Yet another method utilizes calculating Z score. This method requires us to know exact population mean and population standard deviation beforehand. As already explained, in vast majority of cases (except for simulations) the properties of true population, including mean and standard deviation, remain unknown to us. Therefore, practical utility of method through Z-score remains negligible with empirical scientific data.<\/p>\r\n&nbsp;\r\n\r\n<strong>9.\u00a0\u00a0 Overlapping error bars<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Suppose you have plotted Mean\u00b1 SD in a bar chart with SD shows as error bars extending to both sides of mean. What if you saw two group\u2019s SD error bars overlapping? Does it mean the differences between the sample means not significant? As SD captures only the scatter or variability of individual elements, SD overlap tells us nothing in reality. Suppose you have plotted Mean\u00b1SEM and the SEM error bars overlap, only conclusion we can make is that P&gt;0.05. However, if SEM error bars do not overlap, you cannot conclude the reverse; that the difference is significant. It could be significant or it could be not significant. Suppose you have plotted Mean\u00b195%CI and the 95%CI error bars overlap, it tells us nothing; differences could be significant or not. What if 95%CI error bars do not overlap? That would\u00a0<span style=\"text-align: initial;font-size: 1em\">mean P&lt;0.05 and differences statistically significant. Therefore, to know whether <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between two group means as statistically significant or not, the easiest way is to plot Mean\u00b195%CI in bar charts to see do the 95% CI error bars overlap. If they do not overlap, a crisp conclusion that P&lt;0.05 and difference to be statistically significant can be made without even performing any further tests. If they do not overlap? In that <\/span>case<span style=\"text-align: initial;font-size: 1em\"> you can calculate Standard Error of the differences between sample means, and calculate 95% CI and make inferences about P value (if range <\/span>include<span style=\"text-align: initial;font-size: 1em\"> 0, then P&gt;0.05 and if range <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not include 0, P&lt;0.05).<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"aligncenter size-full wp-image-355\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208.png\" alt=\"\" width=\"739\" height=\"140\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Manual calculation of t-test is no more advantageous than the conclusion arrived from 95% CI. However, computational t-tests have advantage; it informs us exact P value to let us know whether we have significant evidence of difference (not evidence of significant differences). Exact P value also enables us to spot cases of borderline significance (for example, P=0.0499, I would be sceptical to read statements like \u2018differences were found to be significant with P&lt;0.05\u2019).<\/p>\r\n&nbsp;\r\n\r\n<strong>10. Paired t-test<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In situations where corresponding measurement is made between individual elements of two groups, a matched (or paired or independent) t-test is done. Examples include before and after analyses, or matched control vs treated (for example, subjects with treatment only on left eye and no treatment on right eye). Another example include each student\u2019s individual performance in mid semester test-1 and mid semester test 2.<\/p>\r\n&nbsp;\r\n\r\nAssumptions for paired t-test\r\n\r\n1)\u00a0\u00a0 Random samples\r\n\r\n<span style=\"font-size: 1em\">2) Accurate data<\/span>\r\n\r\n<span style=\"font-size: 1em\">3) Independent measurements of each pair from other such pairs<\/span>\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">4) Differences between matched values follow roughly Gaussian distribution. Note that individual measurements need not assume to have come from populations that are Gaussian; this assumption is explicitly about the differences between two measurements.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Note also that assumption about equal variances that is needed for <\/span>unpaired<span style=\"text-align: initial;font-size: 1em\"> t-test is not required in <\/span>paired<span style=\"text-align: initial;font-size: 1em\"> t-test.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us consider an example from Darwin, 1876. He wanted to know whether self-fertilized or cross-\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">fertilized seeds produce taller plants. He planted each pot with self-fertilized seed and cross-fertilized\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">seed. By doing this, Darwin controlled for any changes in temperature, soil, light intensity etc., as all\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">would be <\/span>same<span style=\"text-align: initial;font-size: 1em\"> for the same pot.<\/span><\/p>\r\n\r\n<\/div>\r\n<table style=\"width: 411px\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 157px\"><strong>Cross-fertilized<\/strong><\/td>\r\n<td style=\"width: 143px\"><strong>Self-Fertilized<\/strong><\/td>\r\n<td style=\"width: 111px\"><strong>Difference<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">23.500<\/td>\r\n<td style=\"width: 143px\">17.375<\/td>\r\n<td style=\"width: 111px\">6.125<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">12.000<\/td>\r\n<td style=\"width: 143px\">20.375<\/td>\r\n<td style=\"width: 111px\">-8.375<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">21.000<\/td>\r\n<td style=\"width: 143px\">20.000<\/td>\r\n<td style=\"width: 111px\">1.000<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">22.000<\/td>\r\n<td style=\"width: 143px\">20.000<\/td>\r\n<td style=\"width: 111px\">2.000<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">19.125<\/td>\r\n<td style=\"width: 143px\">18.375<\/td>\r\n<td style=\"width: 111px\">0.750<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">21.500<\/td>\r\n<td style=\"width: 143px\">18.625<\/td>\r\n<td style=\"width: 111px\">2.875<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">22.125<\/td>\r\n<td style=\"width: 143px\">18.625<\/td>\r\n<td style=\"width: 111px\">3.500<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">20.375<\/td>\r\n<td style=\"width: 143px\">15.250<\/td>\r\n<td style=\"width: 111px\">5.125<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">18.250<\/td>\r\n<td style=\"width: 143px\">16.500<\/td>\r\n<td style=\"width: 111px\">1.750<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">21.625<\/td>\r\n<td style=\"width: 143px\">18.000<\/td>\r\n<td style=\"width: 111px\">3.625<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">23.250<\/td>\r\n<td style=\"width: 143px\">16.250<\/td>\r\n<td style=\"width: 111px\">7.000<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">21.000<\/td>\r\n<td style=\"width: 143px\">18.000<\/td>\r\n<td style=\"width: 111px\">3.000<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">22.125<\/td>\r\n<td style=\"width: 143px\">12.750<\/td>\r\n<td style=\"width: 111px\">9.375<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">23.000<\/td>\r\n<td style=\"width: 143px\">15.500<\/td>\r\n<td style=\"width: 111px\">7.500<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 157px\">12.000<\/td>\r\n<td style=\"width: 143px\">18.000<\/td>\r\n<td style=\"width: 111px\">-6.000<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe above data can effectively be presented as before-after plot with change of each individual measurement is shown (this is created using excel):\r\n\r\n<img class=\"size-full wp-image-356 alignleft\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209.png\" alt=\"\" width=\"525\" height=\"432\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nLet us first define our null hypothesis and alternative hypotheses:\r\n\r\nH0: Mean difference between paired observations is zero\r\n\r\nHa: Mean difference between paired observations is not zero\r\n\r\n&nbsp;\r\n\r\n<strong>11. 95% Confidence Interval of the difference between sample means<\/strong>\r\n<p style=\"text-align: justify\">First, differences between each pair of values are calculated (third column of earlier figure). These differences are treated as raw data, and mean of these data and SEM are calculated exactly as we would for any other set of data. 95% CI is calculated exactly as we would for mean (t*.SEM). In our example,<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Mean of differences=2.62 inches<\/p>\r\n<p style=\"text-align: justify\">SEM=1.22 inches<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">95% CI : (0.003639 inches to 5.230 inches). As 95% CI do not include zero, our null hypothesis, we can instantly conclude that P value must be &lt;0.05. However, our lower limit of 0.003639 is very close to 0, so we can infer that this significance must only be a \u2018borderline significance.\u2019<\/p>\r\n&nbsp;\r\n\r\n<strong>12. Paired t-test<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">For paired t-test, we need to compute t-score, which is very easy to calculate. t-score = Mean differences\/SEM, exactly as in unpaired t test.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">As calculated in last section, Mean differences=2.62 inches and SEM=1.22 inches. Therefore, t-score:<\/p>\r\n<p style=\"text-align: justify\">= 2.62\/1.22<\/p>\r\n<p style=\"text-align: justify\">= 2.15<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Next step is to look up t-distribution table for critical t-value given a significance level and df. As we have 15 matched measurements, n=15, and df=14. Significance level is 0.05 as usual.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"aligncenter size-full wp-image-358\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210.png\" alt=\"\" width=\"1337\" height=\"721\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Critical t-value is 2.145. As the critical t-value from table (2.145) is less than the t-ratio that we earlier calculated from our data (2.15), we can conclude that P&lt;0.05 we reject the null hypothesis and conclude\u00a0that the difference between sample means as statistically significant. But you should promptly infer that it is only a \u201cborderline significance.\u201d Remember that the exact same conclusion we had already been inferred using 95% CI in the last section, so t-test is not really required for testing the statistical significance. Had our significance level been 0.02, t-value from table would be 2.624 (one value right from our earlier value), which is far higher than the calculated t-ratio (2.15), so the exact P value must be &gt;0.02. That would mean our P value must be somewhere between 0.02 to 0.05. The exact P value calculated by software (one can use a weeb-based calculator https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/) is 0.0497 which is indeed less than 0.05 and indeed is pretty borderline.<\/p>\r\n&nbsp;\r\n\r\n<strong>13. Summary<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">a. For hypothesis testing involving means of two groups, a 95% CI of the differences in sample means would suffice; t-tests are completely optional.<\/p>\r\n<p style=\"text-align: justify\">b. Standard Error of the difference between two sample means is computed using the equation:<\/p>\r\n<p style=\"text-align: justify\">c. Width of 95% CI is Standard Error x t*<\/p>\r\n<p style=\"text-align: justify\">d. If 95% CI of mean differences do not include zero (null hypothesis), then differences can be concluded as statistically significant and P&lt;0.05<\/p>\r\n<p style=\"text-align: justify\">e. t-Ratio is ratio between difference between two sample means and Standard Error of the difference<\/p>\r\n&nbsp;\r\n\r\n<strong>Quadrant-III: Learn More\/ Web Resources \/ Supporting Materials:<\/strong>\r\n<ol>\r\n \t<li>A web-based t-test calculator (for both paired and unpaired variants) is available at <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/ttest1.cfm\">https:\/\/www.graphpad.com\/quickcalcs\/ttest1.cfm<\/a><\/li>\r\n<\/ol>\r\n<ol start=\"2\">\r\n \t<li>One and two tail t distribution values <a href=\"http:\/\/www.statisticshowto.com\/tables\/t-distribution-table\/\">http:\/\/www.statisticshowto.com\/tables\/t-distribution-<\/a><a href=\"http:\/\/www.statisticshowto.com\/tables\/t-distribution-table\/\">table\/<\/a><\/li>\r\n<\/ol>\r\n<ol start=\"3\">\r\n \t<li>Bayesian t-tests <a href=\"https:\/\/arxiv.org\/abs\/1704.02479\">https:\/\/arxiv.org\/abs\/1704.02479<\/a><\/li>\r\n<\/ol>\r\n<ol start=\"4\">\r\n \t<li>An online calculator for calculating 95% CI of mean <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/CImean1\/?Format=SD\">https:\/\/www.graphpad.com\/quickcalcs\/CImean1\/?Format=SD<\/a><\/li>\r\n<\/ol>\r\n<ol start=\"5\">\r\n \t<li>Online calculator to calculate exact P from a t score or F score <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/\">https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/<\/a><\/li>\r\n<\/ol>\r\n&nbsp;","rendered":"<div>\n<p>&nbsp;<\/p>\n<p>1.\u00a0<strong>Introduction<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Student\u2019s t-distribution is an important probability distribution in statistics and is used in a number of statistical significance tests, t-tests being the most common and important amongst those. T-tests are used for comparing means of two groups. If the objective is to know whether two group means differ significantly or not (statistical hypothesis testing), a t-test is not even required; plotting 95% CI of the difference between sample means would suffice. A manual t-test is no more robust or powerful than 95% CI of differences for hypothesis testing, but a t-test in computer returns exact P value that enables us to decide on significance for the evidence of differences-if any . This module details the t-distribution, performing two kinds of t-tests (paired and unpaired t-tests) manually, and most importantly, interpreting the P values.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.\u00a0<\/strong><strong>Learning Outcome:<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p>a)\u00a0\u00a0\u00a0\u00a0\u00a0 Student\u2019s t-distribution<\/p>\n<p>b)\u00a0\u00a0\u00a0\u00a0\u00a0 CI of mean difference<\/p>\n<p>c)\u00a0\u00a0\u00a0\u00a0\u00a0 F-test<\/p>\n<p>d)\u00a0\u00a0\u00a0\u00a0\u00a0 Homoscedasticity<\/p>\n<p>e)\u00a0\u00a0\u00a0\u00a0\u00a0 Matched t-test<\/p>\n<p>f)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Paired t-test<\/p>\n<p>g)\u00a0\u00a0\u00a0\u00a0\u00a0 Unpaired t-test<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.\u00a0<\/strong><strong>t-Distribution<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">t-Distribution (Student\u2019s t-distribution) is a type of continuous probability distribution with exact probabilities of every t scores known under the assumption of null hypothesis. This enables us to calculate P value from a given t-score. We have seen how t distribution is computed in module 16; first we calculate t-score (t-ratio) by dividing difference between sample mean and population mean with standard error of the sample mean. Distribution of these t-ratios plotted as in a probability histogram is called t-distribution. The shape of t-distribution depends only on degree of freedom (df). With small df,\u00a0<span style=\"text-align: initial;font-size: 1em\">distribution is fat-tailed (platykurtic), while with large values of df, distribution <\/span>become<span style=\"text-align: initial;font-size: 1em\"> almost indistinguishable from normal Gaussian distribution with thin tails. For each <\/span>values<span style=\"text-align: initial;font-size: 1em\"> of df, t-distribution can be calculated using <\/span>intricacies<span style=\"text-align: initial;font-size: 1em\"> of calculus. At each of these distributions at each df, we can calculate the area under the significance level (the threshold P value, alpha) at either of the tails. These values can be presented in a tabular format, the so called t-distribution tables, where one can lookup a value called t-critical from a combination of df and significance level (for eg., df=15 and significance level=0.05). One can compare this t-critical value found from the table and the t-score calculated from the data to make inferences about statistical significance. If t-critical at <\/span>significance<span style=\"text-align: initial;font-size: 1em\"> level of 0.05 is less than t-score, we can infer that P value must be less than 0.05 and can reject the null hypothesis.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-distribution was developed by W.S. Gosset who was working at Guinness brewery in Dublin, Ireland then. To maintain the trade secrets of the brewery, Gosset had to publish the findings anonymously using a pseudonym \u2018student\u2019 (hence the name of the distribution). Ronald Fisher, the famous population geneticist and the father of statistics, was the first one to refer the distribution as t-distribution. t-distribution is an important probability distribution involved in a number of statistical significance tests. In module 16 we have seen how this distribution is used while calculating <\/span>confidence<span style=\"text-align: initial;font-size: 1em\"> interval of the sample mean. T-distribution is used in calculating Confidence intervals of many other statistical measures as well, for example, <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between two sample means as we will shortly learn in this module. T-distribution is also used for t-tests as explained in this module, linear regression analysis and Bayesian analyses, discussed elsewhere in this MOOC. Let\u2019s consider the most important test of significance for comparing <\/span>means<span style=\"text-align: initial;font-size: 1em\"> of two groups, t-test.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">4. Un-paired t-test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Unpaired<span style=\"text-align: initial;font-size: 1em\"> t-test is used to compare means of two independent, unpaired or unmatched groups. For example, marks of two groups of students (females vs. males in a class). Let\u2019s consider an example, data from Franzier et al, 2006 who examined concentrations of neurotransmitter norepinephrine required to get maximal relaxations of urinary bladder muscles of young rats.<\/span><\/p>\n<\/div>\n<div>\n<table style=\"height: 168px;width: 218px\">\n<tbody>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\"><strong>Old<\/strong><\/td>\n<td style=\"height: 14px;width: 200.063px\"><strong>Young<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">20.8<\/td>\n<td style=\"height: 14px;width: 200.063px\">45.5<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">2.8<\/td>\n<td style=\"height: 14px;width: 200.063px\">55.0<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">50.0<\/td>\n<td style=\"height: 14px;width: 200.063px\">60.7<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">33.3<\/td>\n<td style=\"height: 14px;width: 200.063px\">61.5<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">29.4<\/td>\n<td style=\"height: 14px;width: 200.063px\">61.1<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">38.9<\/td>\n<td style=\"height: 14px;width: 200.063px\">65.5<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">29.4<\/td>\n<td style=\"height: 14px;width: 200.063px\">42.9<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">52.6<\/td>\n<td style=\"height: 14px;width: 200.063px\">37.5<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td style=\"height: 14px;width: 183.063px\">14.3<\/td>\n<td style=\"height: 14px;width: 200.063px\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We can also calculate values of mean, standard deviation (remember, this is a sample, not population, and we should use sample SD equation) and standard error of the mean for both of these groups exactly as we have learned in descriptive statistics<\/p>\n<table style=\"width: 411px\">\n<tbody>\n<tr>\n<td style=\"width: 233px\"><strong>Statistics<\/strong><\/td>\n<td style=\"width: 78px\"><strong>Old Rats<\/strong><\/td>\n<td style=\"width: 100px\"><strong>Young Rats<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 233px\">Mean<\/td>\n<td style=\"width: 78px\">30.17<\/td>\n<td style=\"width: 100px\">53.71<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 233px\">Sample Standard Deviation (s)<\/td>\n<td style=\"width: 78px\">16.09<\/td>\n<td style=\"width: 100px\">10.36<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 233px\">SEM<\/td>\n<td style=\"width: 78px\">5.365<\/td>\n<td style=\"width: 100px\">3.664<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 233px\">Sample Size (n)<\/td>\n<td style=\"width: 78px\">9<\/td>\n<td style=\"width: 100px\">8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Let us first define our null hypothesis and alternative hypotheses:<\/p>\n<p>&nbsp;<\/p>\n<p>H0: Group mean for old = Group mean of young (difference between two group means is zero)<\/p>\n<p>Ha: Group mean for old \u2260 Group mean of young (difference between two group means is not zero)<\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">5.\u00a0\u00a0 Difference between sample means<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">Difference between sample means <\/span>are<span style=\"text-align: initial;font-size: 1em\"> easy to compute. Here, <\/span>sample<span style=\"text-align: initial;font-size: 1em\"> mean of young rats is higher than old rats. The difference between them is 23.55.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">6.<\/strong><span style=\"text-align: initial;font-size: 1em\">\u00a0\u00a0\u00a0 <\/span><strong style=\"text-align: initial;font-size: 1em\">Confidence Interval of the difference between sample means<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In module 16 we have learned how to compute 95% CI of sample means. Remember the formula used to calculate the width (w) of 95% CI is (w= t* x SEM), t* being a constant from t distribution and SEM being the sample standard error of the mean.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">To calculate <\/span>width<span style=\"text-align: initial;font-size: 1em\"> of 95% CI of difference between sample means, a similar formula is used; (w= t* x \u201cStandard Error of the Difference between sample means\u201d)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Therefore, <\/span>first<span style=\"text-align: initial;font-size: 1em\"> we need to calculate Standard Error of the difference between two means. The following formula is used:<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-351\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-204.png\" alt=\"\" width=\"207\" height=\"58\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-204.png 207w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-204-65x18.png 65w\" sizes=\"auto, (max-width: 207px) 100vw, 207px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Where s1 and s2 are sample standard deviations of groups 1 and 2 respectively, and n1 and n2 are sample sizes of group 1 and 2 respectively.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Substituting values from rat example in this formula, the standard error of the difference between sample means can be calculated as:<\/p>\n<p>=\u00a0 \u221a (16.092\/9 + 10.362\/8)<\/p>\n<p>=\u221a (28.77 + 13.42)<\/p>\n<p>=\u221a43.19<\/p>\n<p>=6.50<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">(The exact value of this standard error of difference between sample means uses a slightly different, albeit a complicated formula that is being omitted here for the sake of brevity. Calculated using that formula, the exact value of the standard error of difference between sample means is 6.67)<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">To calculate the width of 95% CI, we have to multiply this standard error with a constant from t distribution (t*). Remember that t* depends only on df and level of significance. Level of significance is 0.05 for 95% Confidence Level and the degree of freedom is (n-1). Df for each group need to be\u00a0<span style=\"text-align: initial;font-size: 1em\">calculated and <\/span>sum<span style=\"text-align: initial;font-size: 1em\"> of <\/span>these df<span style=\"text-align: initial;font-size: 1em\"> should be used for this calculation. Df for old rats is 9-1=8 and df for young rats is 8-1=7. Combined df is 8+7=15. For significance level 0.05 and df 15, t* is 2.1314. Therefore, w is<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">W of 95% CI = t* x SE of differences<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 2.1314 x 6.67 =14.22<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">This width extends both sides of the mean differences. I.e., 23.55. 95% CI is (mean \u00b1 w). =(23.55-14.22) to (23.55+14.22)<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=9.33 to 37.77<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Remember that we have learned about <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis in module 17. While comparing means of two samples, <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis is that there are no differences between sample means, or the difference between mean 1 and mean 2 is zero. We have also learned in module 17 a crucial connection between 95% CI and P in statistical hypothesis testing; the connection is that if 95% CI <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not include <\/span>value<span style=\"text-align: initial;font-size: 1em\"> of\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">lull hypothesis, P value should be lesser than 0.05 and we can conclude that the result is \u2018statistically significant\u2019.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In our above example, <\/span>null<span style=\"text-align: initial;font-size: 1em\"> hypothesis is that the difference between two sample means is zero. Does the range of 95% CI <\/span>includes<span style=\"text-align: initial;font-size: 1em\"> this null hypothesis, i.e., 0? As 9.33 to 37.77 do not include 0, we can conclude that P value must be &lt; 0.05 and <\/span>result<span style=\"text-align: initial;font-size: 1em\"> is statistically significant. Remember that we are deducing this conclusion only from the 95% CI, even before performing <\/span>t-test<span style=\"text-align: initial;font-size: 1em\">. If the objective is to compare two sample means to know whether <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> is statistically significant, calculating 95% CI of those differences would suffice and is robust. Manual t-test that <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not calculate exact P value and <\/span>conclude<span style=\"text-align: initial;font-size: 1em\"> such as \u201cP&lt;0.05\u201d is completely optional. However, a t-test using computer produces the exact P value (like 0.0499), which is a lot more informative than conclusion such as \u201cP&lt;0.05\u201d, and therefore preferable over conclusion arrived using 95% CI alone. The width of CI depends upon <\/span>following<span style=\"text-align: initial;font-size: 1em\"> three factors:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1)\u00a0\u00a0\u00a0\u00a0\u00a0 Variability. Low SD (consistent data) would lead to narrower CI<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2)\u00a0\u00a0\u00a0\u00a0\u00a0 Sample size. Large n would lead to narrower CI<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3)\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Degree<span style=\"text-align: initial;font-size: 1em\"> of confidence (confidence level). Lower confidence would lead to narrower CI<\/span><\/p>\n<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">7.\u00a0\u00a0 Unpaired t-test: Assumptions<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Before performing an unpaired t-test, we should make sure that the set of assumptions for this test is not violated in our data. The set of assumptions are:<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1)\u00a0\u00a0\u00a0\u00a0\u00a0 Subjects have randomly assigned to one of two groups.<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2)\u00a0\u00a0\u00a0\u00a0\u00a0 Each element (individual measurements or values) are independent of other such elements.<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3)\u00a0\u00a0\u00a0\u00a0\u00a0 Measurement is accurate<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">4)\u00a0\u00a0\u00a0\u00a0\u00a0 Samples came from a normal (or nearly Gaussian) distribution<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">5)\u00a0 \u00a0 Two samples follow \u2018homoscedasticity\u2019 ie., they have nearly equal variances (or\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">standard deviations). Sample sizes between groups do not have to be equal.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">First three assumptions (random samples, independent measurement, accurate data) are a familiar set of assumptions used universally in a number of statistical tests. To detect whether our fourth assumption is valid, we should detect whether our samples came from a normally distributed population. A rough approximation for which can be done using <\/span>visual<span style=\"text-align: initial;font-size: 1em\"> interpretation of histograms, or by calculating Kurtosis and Skewness levels and deciding are these values fall within values for approximately Gaussian distribution. For a more formal test, D\u2019Agostino Pearson Omnibus K2 test can be performed using a statistical package like Graphpad Prism. If the inference is that the populations are significantly deviating from Gaussian distribution, a non-parametric test like Mann-Whitney U test or Wilcoxon signed-rank test (both are not available in excel; use <\/span>statistical<span style=\"text-align: initial;font-size: 1em\"> package like GraphPad Prism). For <\/span>testing<span style=\"text-align: initial;font-size: 1em\"> assumption of homoscedasticity 5 that standard deviations of two groups are nearly equal, an F-test is usually performed.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">To do <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test, <\/span>first<span style=\"text-align: initial;font-size: 1em\"> calculate F-ratio<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">= (s1\/s2)2<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Where s1 is <\/span>standard<span style=\"text-align: initial;font-size: 1em\"> deviation of group 1 and s2 is <\/span>standard<span style=\"text-align: initial;font-size: 1em\"> deviation of group 2 For our earlier example of rat bladder,<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 (s1\/s2)<sup>2<\/sup><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 (16.09\/10.36) <sup>2<\/sup><\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">=\u00a0 2.41<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">What <\/span>are<span style=\"text-align: initial;font-size: 1em\"> the degree of freedom for this ratio? There will be two df, one for Numerator (DFn) and other for <\/span>denominator<span style=\"text-align: initial;font-size: 1em\"> (DFd), both will be respective group size minus 1. As seen earlier, Dfn= 8 and DFd =7. From these three <\/span>numbers<span style=\"text-align: initial;font-size: 1em\"> one can calculate <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value. We can also calculate Critical P value by using <\/span>F<span style=\"text-align: initial;font-size: 1em\"> distribution table:<\/span><\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-352\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205.png\" alt=\"\" width=\"1222\" height=\"703\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205.png 1222w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-300x173.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-768x442.png 768w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-1024x589.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-225x129.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-205-350x201.png 350w\" sizes=\"auto, (max-width: 1222px) 100vw, 1222px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Remember that DFd (df1) is across and DFn (df2) is vertically down. 8 vs 7 (3.7257) as in this example, is different from 7 vs 8 (3.5005); we should be meticulous not to make such an often made error in this step. As table value (critical F, 3.72) is higher than our obtained F ratio (2.41), we can conclude that P&gt;0.05 and our variances are not significantly different. Whenever looking at T or F or Chi square table, remember that if table value is higher than obtained value, P&gt;0.05, and conclude \u2018ns\u2019 (not significant). If table value is less than test value, P&lt;0.05. A more accurate computational method calculates exact P value of F test. For our earlier example, P=0.2631, which is indeed &gt;0.05. Variances are not significantly different<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">What if P&lt;0.05 with a statistically significant conclusion about variances of two groups? A usual practice is to perform a modified t-test that allows for unequal variances (such an option is available for\u00a0<span style=\"text-align: initial;font-size: 1em\">excel). However, Moser &amp; Stevens, 1992 concluded that modified t-test that allows for unequal variances should not be used, as the results will be misleading. If F test returns a low P value (significant, or unequal variances), perhaps the best practice is to ignore the result and go ahead with t-test assuming equal variance. <\/span>T-test<span style=\"text-align: initial;font-size: 1em\"> is fairly robust to violations of <\/span>assumption<span style=\"text-align: initial;font-size: 1em\"> of equal variances as long as sample sizes are not tiny, and two groups have <\/span>approximately<span style=\"text-align: initial;font-size: 1em\"> equal sample size. That means you really don\u2019t need to do <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test before a t test; simply perform normal t test that assumes equal variances. As explained previously, even t-test is not necessary. 95% CI of differences between means would be enough to know whether P&lt;0.05.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">8.<\/strong><span style=\"text-align: initial;font-size: 1em\">\u00a0\u00a0\u00a0 <\/span><strong style=\"text-align: initial;font-size: 1em\">Performing an unmatched t-test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Performing an unmatched t-test is straightforward. First, we have to calculate t-ratio which is identical to the t-score we calculated while discussing <\/span>about<span style=\"text-align: initial;font-size: 1em\"> the derivation of 95% CI of the sample mean in module 16. To calculate t-ratio in <\/span>t-test<span style=\"text-align: initial;font-size: 1em\">, <\/span>following<span style=\"text-align: initial;font-size: 1em\"> formula is used:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-Ratio = Difference between sample means\/Standard Error of the difference between sample means<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Note that for performing t-test all we need to know are mean and standard deviations of two groups that we are comparing. Raw data is not required. If raw data is given, we first have to calculate <\/span>mean<span style=\"text-align: initial;font-size: 1em\"> and standard deviations of those two groups.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">In our rat bladder example, <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between sample means = 23.55<\/span><\/p>\n<p style=\"text-align: justify\">Standard<span style=\"text-align: initial;font-size: 1em\"> error of the difference between sample means=6.67<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-ratio = 23.55\/6.67<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">= 3.53<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As in the case of <\/span>F<span style=\"text-align: initial;font-size: 1em\"> test, <\/span>next<span style=\"text-align: initial;font-size: 1em\"> step is to look up t-distribution table for critical t value given a significance level and df. For 15 df at 0.05 alpha, let us look up the table for t critical value:<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-353\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206.png\" alt=\"\" width=\"1337\" height=\"721\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206.png 1337w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-300x162.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-768x414.png 768w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-1024x552.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-65x35.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-225x121.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-206-350x189.png 350w\" sizes=\"auto, (max-width: 1337px) 100vw, 1337px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">t-critical is 2.131<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">As the t-critical from <\/span>table<span style=\"text-align: initial;font-size: 1em\"> (2.131) is lower than calculated t-ratio (3.53), <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value is inferred to be &lt;0.05, we reject the null hypothesis and conclude that the difference between sample means as statistically significant. Had our significance level been 0.01, t-critical from the table (2.947) would have been still less than the calculated t-ratio (3.53), so we can further infer that P value must be &lt;0.01 and differences must be very significant. Actual P value calculated in a slightly complicated manner by software such as excel is 0.0030 which is indeed &lt;0.01 (you can also use a web-based calculator that computes P from t and df <\/span><a style=\"text-align: initial;font-size: 1em\" href=\"https:\/\/www.graphpad.com\/quickcalcs\/pValue1\">https:\/\/www.graphpad.com\/quickcalcs\/pValue1<\/a><span style=\"text-align: initial;font-size: 1em\">). In case calculated t ratio is negative, no problem; take the absolute value and infer the results. The sign <\/span>indicate<span style=\"text-align: initial;font-size: 1em\"> the direction of <\/span>difference<span style=\"text-align: initial;font-size: 1em\">. For example, old rats having <\/span>larger<span style=\"text-align: initial;font-size: 1em\"> sample mean than young rats. Had our calculated value been -3.53, results would have been still <\/span>same<span style=\"text-align: initial;font-size: 1em\">, P&lt;0.05.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">P value depends on the following three factors:<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1) If mean differences <\/span>is<span style=\"text-align: initial;font-size: 1em\"> much greater than zero (i.e., two groups are so much different), P value will be smaller<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2) If data are very consistent, i.e., low standard deviations, P value will be smaller<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">3) If <\/span>sample<span style=\"text-align: initial;font-size: 1em\"> size is large, <\/span>P<span style=\"text-align: initial;font-size: 1em\"> value will be smaller<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">t-ratio can also be calculated by another formula which some students find easier:<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-354\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207.png\" alt=\"\" width=\"700\" height=\"476\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207.png 700w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207-300x204.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207-65x44.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207-225x153.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-207-350x238.png 350w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">However, method through SE of differences explained earlier is advantageous, as it enables us to calculate 95% CI of the differences. Yet another method utilizes calculating Z score. This method requires us to know exact population mean and population standard deviation beforehand. As already explained, in vast majority of cases (except for simulations) the properties of true population, including mean and standard deviation, remain unknown to us. Therefore, practical utility of method through Z-score remains negligible with empirical scientific data.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>9.\u00a0\u00a0 Overlapping error bars<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Suppose you have plotted Mean\u00b1 SD in a bar chart with SD shows as error bars extending to both sides of mean. What if you saw two group\u2019s SD error bars overlapping? Does it mean the differences between the sample means not significant? As SD captures only the scatter or variability of individual elements, SD overlap tells us nothing in reality. Suppose you have plotted Mean\u00b1SEM and the SEM error bars overlap, only conclusion we can make is that P&gt;0.05. However, if SEM error bars do not overlap, you cannot conclude the reverse; that the difference is significant. It could be significant or it could be not significant. Suppose you have plotted Mean\u00b195%CI and the 95%CI error bars overlap, it tells us nothing; differences could be significant or not. What if 95%CI error bars do not overlap? That would\u00a0<span style=\"text-align: initial;font-size: 1em\">mean P&lt;0.05 and differences statistically significant. Therefore, to know whether <\/span>difference<span style=\"text-align: initial;font-size: 1em\"> between two group means as statistically significant or not, the easiest way is to plot Mean\u00b195%CI in bar charts to see do the 95% CI error bars overlap. If they do not overlap, a crisp conclusion that P&lt;0.05 and difference to be statistically significant can be made without even performing any further tests. If they do not overlap? In that <\/span>case<span style=\"text-align: initial;font-size: 1em\"> you can calculate Standard Error of the differences between sample means, and calculate 95% CI and make inferences about P value (if range <\/span>include<span style=\"text-align: initial;font-size: 1em\"> 0, then P&gt;0.05 and if range <\/span>do<span style=\"text-align: initial;font-size: 1em\"> not include 0, P&lt;0.05).<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-355\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208.png\" alt=\"\" width=\"739\" height=\"140\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208.png 739w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208-300x57.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208-65x12.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208-225x43.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-208-350x66.png 350w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Manual calculation of t-test is no more advantageous than the conclusion arrived from 95% CI. However, computational t-tests have advantage; it informs us exact P value to let us know whether we have significant evidence of difference (not evidence of significant differences). Exact P value also enables us to spot cases of borderline significance (for example, P=0.0499, I would be sceptical to read statements like \u2018differences were found to be significant with P&lt;0.05\u2019).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>10. Paired t-test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In situations where corresponding measurement is made between individual elements of two groups, a matched (or paired or independent) t-test is done. Examples include before and after analyses, or matched control vs treated (for example, subjects with treatment only on left eye and no treatment on right eye). Another example include each student\u2019s individual performance in mid semester test-1 and mid semester test 2.<\/p>\n<p>&nbsp;<\/p>\n<p>Assumptions for paired t-test<\/p>\n<p>1)\u00a0\u00a0 Random samples<\/p>\n<p><span style=\"font-size: 1em\">2) Accurate data<\/span><\/p>\n<p><span style=\"font-size: 1em\">3) Independent measurements of each pair from other such pairs<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">4) Differences between matched values follow roughly Gaussian distribution. Note that individual measurements need not assume to have come from populations that are Gaussian; this assumption is explicitly about the differences between two measurements.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Note also that assumption about equal variances that is needed for <\/span>unpaired<span style=\"text-align: initial;font-size: 1em\"> t-test is not required in <\/span>paired<span style=\"text-align: initial;font-size: 1em\"> t-test.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Let us consider an example from Darwin, 1876. He wanted to know whether self-fertilized or cross-\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">fertilized seeds produce taller plants. He planted each pot with self-fertilized seed and cross-fertilized\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">seed. By doing this, Darwin controlled for any changes in temperature, soil, light intensity etc., as all\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">would be <\/span>same<span style=\"text-align: initial;font-size: 1em\"> for the same pot.<\/span><\/p>\n<\/div>\n<table style=\"width: 411px\">\n<tbody>\n<tr>\n<td style=\"width: 157px\"><strong>Cross-fertilized<\/strong><\/td>\n<td style=\"width: 143px\"><strong>Self-Fertilized<\/strong><\/td>\n<td style=\"width: 111px\"><strong>Difference<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">23.500<\/td>\n<td style=\"width: 143px\">17.375<\/td>\n<td style=\"width: 111px\">6.125<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">12.000<\/td>\n<td style=\"width: 143px\">20.375<\/td>\n<td style=\"width: 111px\">-8.375<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">21.000<\/td>\n<td style=\"width: 143px\">20.000<\/td>\n<td style=\"width: 111px\">1.000<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">22.000<\/td>\n<td style=\"width: 143px\">20.000<\/td>\n<td style=\"width: 111px\">2.000<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">19.125<\/td>\n<td style=\"width: 143px\">18.375<\/td>\n<td style=\"width: 111px\">0.750<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">21.500<\/td>\n<td style=\"width: 143px\">18.625<\/td>\n<td style=\"width: 111px\">2.875<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">22.125<\/td>\n<td style=\"width: 143px\">18.625<\/td>\n<td style=\"width: 111px\">3.500<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">20.375<\/td>\n<td style=\"width: 143px\">15.250<\/td>\n<td style=\"width: 111px\">5.125<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">18.250<\/td>\n<td style=\"width: 143px\">16.500<\/td>\n<td style=\"width: 111px\">1.750<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">21.625<\/td>\n<td style=\"width: 143px\">18.000<\/td>\n<td style=\"width: 111px\">3.625<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">23.250<\/td>\n<td style=\"width: 143px\">16.250<\/td>\n<td style=\"width: 111px\">7.000<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">21.000<\/td>\n<td style=\"width: 143px\">18.000<\/td>\n<td style=\"width: 111px\">3.000<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">22.125<\/td>\n<td style=\"width: 143px\">12.750<\/td>\n<td style=\"width: 111px\">9.375<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">23.000<\/td>\n<td style=\"width: 143px\">15.500<\/td>\n<td style=\"width: 111px\">7.500<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 157px\">12.000<\/td>\n<td style=\"width: 143px\">18.000<\/td>\n<td style=\"width: 111px\">-6.000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The above data can effectively be presented as before-after plot with change of each individual measurement is shown (this is created using excel):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-356 alignleft\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209.png\" alt=\"\" width=\"525\" height=\"432\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209.png 525w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209-300x247.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209-65x53.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209-225x185.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-209-350x288.png 350w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Let us first define our null hypothesis and alternative hypotheses:<\/p>\n<p>H0: Mean difference between paired observations is zero<\/p>\n<p>Ha: Mean difference between paired observations is not zero<\/p>\n<p>&nbsp;<\/p>\n<p><strong>11. 95% Confidence Interval of the difference between sample means<\/strong><\/p>\n<p style=\"text-align: justify\">First, differences between each pair of values are calculated (third column of earlier figure). These differences are treated as raw data, and mean of these data and SEM are calculated exactly as we would for any other set of data. 95% CI is calculated exactly as we would for mean (t*.SEM). In our example,<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Mean of differences=2.62 inches<\/p>\n<p style=\"text-align: justify\">SEM=1.22 inches<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">95% CI : (0.003639 inches to 5.230 inches). As 95% CI do not include zero, our null hypothesis, we can instantly conclude that P value must be &lt;0.05. However, our lower limit of 0.003639 is very close to 0, so we can infer that this significance must only be a \u2018borderline significance.\u2019<\/p>\n<p>&nbsp;<\/p>\n<p><strong>12. Paired t-test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">For paired t-test, we need to compute t-score, which is very easy to calculate. t-score = Mean differences\/SEM, exactly as in unpaired t test.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">As calculated in last section, Mean differences=2.62 inches and SEM=1.22 inches. Therefore, t-score:<\/p>\n<p style=\"text-align: justify\">= 2.62\/1.22<\/p>\n<p style=\"text-align: justify\">= 2.15<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Next step is to look up t-distribution table for critical t-value given a significance level and df. As we have 15 matched measurements, n=15, and df=14. Significance level is 0.05 as usual.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-358\" src=\"http:\/\/esp14.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210.png\" alt=\"\" width=\"1337\" height=\"721\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210.png 1337w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-300x162.png 300w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-768x414.png 768w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-1024x552.png 1024w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-65x35.png 65w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-225x121.png 225w, https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-content\/uploads\/sites\/176\/2019\/03\/Untitled-210-350x189.png 350w\" sizes=\"auto, (max-width: 1337px) 100vw, 1337px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Critical t-value is 2.145. As the critical t-value from table (2.145) is less than the t-ratio that we earlier calculated from our data (2.15), we can conclude that P&lt;0.05 we reject the null hypothesis and conclude\u00a0that the difference between sample means as statistically significant. But you should promptly infer that it is only a \u201cborderline significance.\u201d Remember that the exact same conclusion we had already been inferred using 95% CI in the last section, so t-test is not really required for testing the statistical significance. Had our significance level been 0.02, t-value from table would be 2.624 (one value right from our earlier value), which is far higher than the calculated t-ratio (2.15), so the exact P value must be &gt;0.02. That would mean our P value must be somewhere between 0.02 to 0.05. The exact P value calculated by software (one can use a weeb-based calculator https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/) is 0.0497 which is indeed less than 0.05 and indeed is pretty borderline.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>13. Summary<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">a. For hypothesis testing involving means of two groups, a 95% CI of the differences in sample means would suffice; t-tests are completely optional.<\/p>\n<p style=\"text-align: justify\">b. Standard Error of the difference between two sample means is computed using the equation:<\/p>\n<p style=\"text-align: justify\">c. Width of 95% CI is Standard Error x t*<\/p>\n<p style=\"text-align: justify\">d. If 95% CI of mean differences do not include zero (null hypothesis), then differences can be concluded as statistically significant and P&lt;0.05<\/p>\n<p style=\"text-align: justify\">e. t-Ratio is ratio between difference between two sample means and Standard Error of the difference<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Quadrant-III: Learn More\/ Web Resources \/ Supporting Materials:<\/strong><\/p>\n<ol>\n<li>A web-based t-test calculator (for both paired and unpaired variants) is available at <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/ttest1.cfm\">https:\/\/www.graphpad.com\/quickcalcs\/ttest1.cfm<\/a><\/li>\n<\/ol>\n<ol start=\"2\">\n<li>One and two tail t distribution values <a href=\"http:\/\/www.statisticshowto.com\/tables\/t-distribution-table\/\">http:\/\/www.statisticshowto.com\/tables\/t-distribution-<\/a><a href=\"http:\/\/www.statisticshowto.com\/tables\/t-distribution-table\/\">table\/<\/a><\/li>\n<\/ol>\n<ol start=\"3\">\n<li>Bayesian t-tests <a href=\"https:\/\/arxiv.org\/abs\/1704.02479\">https:\/\/arxiv.org\/abs\/1704.02479<\/a><\/li>\n<\/ol>\n<ol start=\"4\">\n<li>An online calculator for calculating 95% CI of mean <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/CImean1\/?Format=SD\">https:\/\/www.graphpad.com\/quickcalcs\/CImean1\/?Format=SD<\/a><\/li>\n<\/ol>\n<ol start=\"5\">\n<li>Online calculator to calculate exact P from a t score or F score <a href=\"https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/\">https:\/\/www.graphpad.com\/quickcalcs\/pValue1\/<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"author":3,"menu_order":18,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-felix-bast"],"pb_section_license":""},"chapter-type":[],"contributor":[59],"license":[],"class_list":["post-347","chapter","type-chapter","status-publish","hentry","contributor-dr-felix-bast"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapters\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":5,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapters\/347\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapters\/347\/revisions\/359"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapters\/347\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/wp\/v2\/media?parent=347"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/pressbooks\/v2\/chapter-type?post=347"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/wp\/v2\/contributor?post=347"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/esp14\/wp-json\/wp\/v2\/license?post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}