

The within-group standard deviation can be obtained from the standard error of the difference in means using the following formula: For example, the t value for a 95% confidence interval from a comparison of a sample size of 25 with a sample size of 22 can be obtained by typing = tinv(1-0.95,25+22-2) in a cell in a Microsoft Excel spreadsheet.įrom standard error to standard deviation Relevant details of the t distribution are available as appendices of many statistical textbooks, or using standard computer spreadsheet packages. The numbers 3.92, 3.29 and 5.15 need to be replaced with larger numbers specific to both the t distribution and the sample size, and can be obtained from tables of the t distribution with degrees of freedom equal to N E + N C – 2, where N E and N C are the sample sizes in the two groups. If the sample size is small then confidence intervals should have been calculated using a t distribution. For 90% confidence intervals 3.92 should be replaced by 3.29, and for 99% confidence intervals it should be replaced by 5.15.
#7 permute 2 trial
If a 95% confidence interval is available for the difference in means, then the same standard error can be calculated as:Īs long as the trial is large. In the example, the standard error of the difference in means is obtained by dividing 3.8 by 2.78, which gives 1.37.įrom confidence interval to standard error The standard error of the difference in means can therefore be obtained by dividing the difference in means (MD) by the t value: The t value is the ratio of the difference in means to the standard error of the difference in means. However, this is not a solution for results which are reported as P=NS: see Section 7.7.3.7. A conservative approach would be to take the P value at the upper limit (e.g. This can be obtained from a table of the t distribution with 45 degrees of freedom or a computer (for example, by entering = tinv(0.008, 45) into any cell in a Microsoft Excel spreadsheet).ĭifficulties are encountered when levels of significance are reported (such as P0.05) rather than exact P values. The t value that corresponds with a P value of 0.008 and 25+22 – 2=45 degrees of freedom is t = 2.78. It is noted that the P value for the comparison was P = 0.008, obtained using a two-sample t-test. Consider a trial of an experimental intervention (N E = 25) versus a control intervention (N C = 22), where the difference in means was MD = 3.8. The degrees of freedom are given by N E + N C – 2, where N E and N C are the sample sizes in the experimental and control groups.

Where actual P values obtained from t-tests are quoted, the corresponding t value may be obtained from a table of the t distribution. Care is often required to ensure that an appropriate F value is used, and advice of a knowledgeable statistician is recommended.

Related methods can be used to derive standard deviations from certain F statistics, since taking the square root of an F value may produce the same t value. Review authors may select the appropriate steps in this process according to what results are available to them. We describe first how a t value can be obtained from a P value, then how a standard error can be obtained from a t value or a confidence interval, and finally how a standard deviation is obtained from the standard error. An assumption that the standard deviations of outcome measurements are the same in both groups is required in all cases, and the standard deviation would then be used for both intervention groups. The difference in means itself (MD) is required in the calculations from the t value or the P value. Standard deviations can be obtained from standard errors, confidence intervals, t values or P values that relate to the differences between means in two groups. 7.7.3.3 Obtaining standard deviations from standard errors, confidence intervals, t values and P values for differences in means For the current version, please go to /handbook/current or search for this chapter here. This is an archived version of the Handbook.
