For example, a healthcare consultant wants to compare the mean patient satisfaction ratings of two hospitals. Before collecting the data for a 2-sample t-test, the consultant uses a power and sample size calculation to determine how large the sample must be to detect a difference between the means of the two ratings with an 90% probability (power 0.9).
To perform a power and sample size calculation for a 2-sample t-test, choose
.If you have paired or dependent data, such as measurements of a bearing taken with two different calipers, use Power and Sample Size for Paired t instead. For more information, go to How are dependent and independent samples different?.