text: #### Confidence Intervals for Independent Samples t-Test (Jump to: Lecture | Video )
  
  We use the independent samples t-test to test if two sample means are different from one another. After the t-test, confidence intervals can be constructed to estimate how large that mean difference is.
  
  Imagine we already have this data from a previous t-test:
  
  Construct a 95% confidence interval for the difference of these two means.
  
  Above are the equations for the lower and upper bounds of the confidence interval.
  
  We already know most of the variables in the equation, but what should we put for t? First, we need to calculate the degrees of freedom for both samples:
  
  Now, we'll use the smaller degree of freedom value to look up the t value. Go to the t-table and look up the critical value for a two-tailed test, alpha = 0.05, and 29 degrees of freedom. You should find a value of 2.0452. Now, we can finish calculating the lower and upper bounds:
  
  We are 95% confident that the mean difference between sample 1 and sample 2 is between 6.65 and 9.35.
metadata: {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}