11453

Power Analysis for a Two-Sample t-Test

A -test examines a statistical hypothesis following a Student distribution under the null hypothesis. The object is to estimate the mean of a normal distribution for small sample size and unknown standard deviation. The -test can be used to determine if two sets of data are significantly different from one other. This Demonstration provides a visual representation for calculating power in a two-sample -test. Use the sliders to manipulate effect size, sample size and the -value to see how they affect the power in hypothesis testing. The area of the blue shaded region represents the power.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

This Demonstration provides a visualization of power analysis for a two-tailed, two-sample -test. A two-sample -test is a hypothesis test to check for statistical significance between two samples. The red curve is the distribution of the null hypothesis. In a two-sample test, this is normally the control sample. The blue curve is the noncentral distribution of the alternative hypothesis. This is normally the experimental sample. The effect size and the sample size determine the noncentrality parameter . This value appears above the alternative hypothesis distribution. The two vertical lines represent the critical values. The area outside these values represents statistical significance for the given -value. Any part of the noncentral distribution outside the given values represents experiments that would be considered statistically significant. This total area is referred to as the power.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+