Applets

Converter

Links

WISE Stuff

About WISE

Converter
Converter values and vice versa. The simple version converts only right-tail and values. The graphic version allows the user to input left-tail , raw scores, and the mean and standard deviation of the group of interest.
-test values are related to amount of overlap of confidence intervals.
values. Challenge yourself and see how well your estimates match with the real value.

Last revised: January 28, 2013

hypothesis testing applet

  • Central Limit Theorem
  • Hypothesis Testing
  • Statistical Power
  • Regression Analysis
  • Choosing the Correct Test
  • Signal Detection Theory
  • Utility Maximization in Group Classification
  • P to Z Converter
  • Sampling Distribution of the Mean
  • Confidence Interval Creation
  • Bootstrapping
  • Using WISE Tutorials
  • Excel Downloads
  • Selected Topics
  • Quick Guides
  • Technical Support Downloads
  • WISE Publications
  • WISE Videos
  • Technical Support
  • Meet the WISE People
  • Selected WISE Publications
  • How to Cite WISE Materials
  • Other Sites
  • Specialized Topics
  • Data Sources
  • Statistics Software

Tutorial: Hypothesis Testing

Sadly, browsers no longer support the interactive java applet that is featured in this tutorial., introduction to hypothesis testing.

Overview : Statistical hypothesis testing is a method of making decisions about a population based on sample data. We can compute how likely it is to find specific sample data if the sample was drawn randomly from the hypothesized population. For example, we can determine if graduates of a training program on average obtain higher test scores than individuals who did not take this training program.

What do I need to know? To make best use of this exercise, you should know how the sampling distribution of the mean is related to sample size and the population variance. It would be helpful to have completed the WISE tutorials on the Sampling Distribution and Central Limit Theorem . A quick review of these topics and the normal distribution can be found at the bottom of this page.

What do I need? You will need a calculator to answer some questions. If you will need to submit your responses to your instructor, download the Tutorial Worksheet to use as you go through the tutorial.

Instructions: You will be asked questions and you will be given feedback regarding your answers. We provide detailed explanations, but you should try to answer the questions on your own before consulting our solutions. You will learn much more by doing the exercises yourself than if you merely read them and the answers.

At the end of the tutorial, you will be able to test your knowledge with our online quiz on hypothesis testing or gain further practice on a set of questions similar to those in the tutorial.

Optional review material:

  • Review Sampling Distribution of the Mean
  • Review Central Limit Theorem
  • Review z -scores and the Normal Distribution

Let’s Get Started!

Suggested format for citing this tutorial: Berger, D. E. & Saw, A. T. (2008). WISE Hypothesis Testing Tutorial. Retrieved [date] from https://wise.cgu.edu .

We would like to thank the following individuals for their work on an older version of a Hypothesis Testing tutorial which this version is based on: Chris Aberson, Michael Healy, Victoria Romero, and Diana Kyle.

Questions, comments, difficulties? See our technical support page or contact us: [email protected] .

Conceptual Learning with Interactive Applets

Interactive applets for undergraduate mathematics and statistics

Conceptual Learning with Interactive Applets is a project to build high-quality web-based applets and supporting resources for enhancing conceptual understanding in undergraduate mathematics and statistics. Our applets are built using GeoGebra .

The project is based in the University of Melbourne , School of Mathematics and Statistics , and funded by a University of Melbourne Learning & Teaching Initiatives grant.

Select a subject to view applets for that subject, or browse the full collection below.

This applet demonstrates the concept of coordinate vectors in $\mathbb R^2$ A basis $\mathcal B$ of a vector space $V$ is a linearly independent spanning set. One useful feature of a basis is that it gives rise to a way of writing coordinates on $V$. Any vector $\mathbf v \in V$ can be written uniquely […]

This applet demonstrates the Gram-Schmidt algorithm performed in $\mathbb R^3$. The Gram-Schmidt algorithm converts a basis of an inner product space into an orthonormal basis. It does this by building up the orthonormal basis one vector at a time. For each vector in turn, we remove any component that is parallel to the vectors which […]

This applet shows the geometric effect of a linear transformation $T: \mathbb R^2 \to \mathbb R^2$. You can type a matrix $M$ on the right hand side of the applet, and then click Play to see how the vertices of a triangle are transformed when multiplying by $M$. Other resources: Geogebratube page for this applet

This applet shows the geometric effect of a linear transformation $T$ in $\mathbb R^3$. You can type a 3×3 matrix $M$ on the right hand side of the applet, and then click Play to see how the vertices of a cube are transformed when multiplying by $M$. Can you see if the corresponding transformations are […]

This applet helps visualise the surface generated by cylindrical coordinates using r,θ and z. Click and drag on the sliders on the left to adjust the ranges for r,θ and z. Geogebratube page for this applet

This applet visualises surfaces generated by spherical coordinates using r,θ and φ. Click and drag on the sliders on the left to change the values for r,θ and φ. Click and drag on the graph to change/rotate the view. Geogebratube page for this applet

This applet shows a solution of the heat equation, a partial differential equation from MAST20029 Engineering Mathematics.

This applet visualises the span of two vectors in R3 using linear combinations.

This applet shows a line in R2 and the vector form of its equation.

This applet shows a plane in R3 and the vector form of its equation.

This applet shows a line in R3 and the vector form of its equation. 

This applet shows how the determinant is unaffected by the elementary row operation of addition of a scalar multiple of a row to another row.

This applet shows the row, column, and solution spaces of a 3×3 matrix M.

This applet shows how the column space, solution space, rank and nullity of a matrix M change as you append additional columns. Initially the matrix M has a single column. You can add extra columns to M by editing the text boxes on the right of the applet, and clicking the ‘Append column’ button. The […]

This applet explores a geometric interpretation of the parameter t in the parameterisation of the standard hyperbola using cosh and sinh.

This applet explores the velocity vector of a parametric curve, and its relationship to the chord r(t+h)-r(t) and the difference quotient.

This applet illustrates the connection between a confidence interval, a formal hypothesis test, and the p-value of a hypothesis test.

This applet gives a visualisation of the concept of statistical power, and helps illustrate the relationship between power, sample size, standard deviation and difference between the means.

This applet illustrates partitioning of variability into explained (fitted) and unexplained (residual) variability.

This applet illustrates the partitioning of variability into explained and unexplained variability, in the context of ANOVA.

This applet illustrates the effect of a linear transformation in R2 on the unit circle/unit disk, and the geometric meaning of eigenvectors, eigenvalues and determinant.

This applet displays the distribution for the order statististics of a sample of size n from an arbitrary population distribution.

This applet shows the maximum likelihood estimator and (log) likelihood function for several statistical models.

This applet illustrates the ε-δ definitions of the limit and continuity of a function. It can be used to investigate (non-)convergence or (dis)continuity of real functions, including the Dirichlet everywhere discontinuous function and variants.

This applet illustrates the definition of derivative as the limit of the gradient of a chord.

This applet illustrates the ε-M definition of convergence of a sequence.

This applet illustrates upper and lower Riemann sums and refinement of partitions.

This applet shows the relationship between terms of a sequence and the partial sums of a series. It also allows exploration of some important sequences & series including geometric and harmonic sequences.

This applet explores the normal approximation to the binomial distribution.

This applet shows the construction of the inverse of a function, and can be used to explore whether the inverse is a function.

This applet plots and traces a parametric curve, given as a vector function in R2.

This applet plots two parametric curves simultaneously. It can be used to explore whether two particles collide.

This applet explores the relationship between the pmf or density and the cumulative distribution function of a range of discrete and continuous probability distributions.

This applet explores a logistic population growth model with no harvesting. The phase plot is shown alongside the plot of p vs t.

This applet explores a logistic population growth model with constant harvesting.

This applet shows the relationship between a plot of an estimated empirical CDF and a normal probability plot.

This applet explores QQ-plots for a range of distributions.

This applet simulates a spring acting under gravity, subject to drag and an external driving force.

This applet illustrates the concept of independent identically distributed random variables.

This applet aims to demonstrate visually the projection of a vector u onto a vector v.

This applet illustrates how the distribution of the sample mean converges towards normality as sample size increases.

This applet calculates the zygote and adult allele and genotype frequencies according to the Fisher-Haldane-Wright model of population genetics, and plots the results.

This applet iterates a difference equation (also known as recurrence relation) and displays the resulting sequence both graphically and numerically.

This worksheet performs iteration and produces cobweb diagrams for a first-order difference equation (AKA recurrence relation, discrete dynamical system).

This applet shows a linear approximation to a non-linear difference equation close to an equilibrium, using cobwebbing. It can be used to investigate the accuracy of a linear approximation, or to motivate the linear stability criterion for equilibria of a first-order difference equation.

Guess the correlation of a sample of bivariate data drawn from a linear or non-linear population.

Repeatedly sample from a bivariate population, and construct a histogram of sample regression line slope.

This applet illustrates a solution of the wave equation, from the MAST20029 Engineering Mathematics lecture notes.

This applet displays the direction field and solutions for an ordinary differential equation (ODE), and calculates approximate solutions using Euler’s method.

This applet investigates the continuity of a 2-branch piecewise-defined function.

This applet investigates the continuity of a piecewise-defined function.

This applet displays the direction field and solutions for an ordinary differential equation (ODE).

This applet explores how the rate of change of a composite function y = f(g(x)) depends on the rates of change of both f and g.

Learning Materials

  • Business Studies
  • Combined Science
  • Computer Science
  • Engineering
  • English Literature
  • Environmental Science
  • Human Geography
  • Macroeconomics
  • Microeconomics

Chapter 10: Problem 31

Load the hypothesis tests for a mean applet. (a) Set the shape to right skewed, the mean to \(50,\) and the standard deviation to \(10 .\) Obtain 1000 simple random samples of size \(n=8\) from this population, and test whether the mean is different from \(50 .\) How many of the samples led to a rejection of the null hypothesis if \(\alpha=0.05 ?\) How many would we expect to lead to a rejection of the null hypothesis if \(\alpha=0.05 ?\) What might account for any discrepancies? (b) Set the shape to right skewed, the mean to \(50,\) and the standard deviation to \(10 .\) Obtain 1000 simple random samples of size \(n=40\) from this population, and test whether the mean is different from \(50 .\) How many of the samples led to a rejection of the null hypothesis if \(\alpha=0.05 ?\) How many would we expect to lead to a rejection of the null hypothesis if \(\alpha=0.05 ?\)

Short answer, step by step solution, - configure the applet, - generate samples for part (a), - perform hypothesis test for part (a), - calculate expected rejections for part (a), - analyze discrepancies for part (a), - generate samples for part (b), - perform hypothesis test for part (b), - count rejections for part (b), - calculate expected rejections for part (b), - analyze discrepancies for part (b), key concepts.

These are the key concepts you need to understand to accurately answer the question.

mean hypothesis test

Sample size effect.

  • Smaller sample size (n=8): A small sample means there's more variability in the sample mean. Therefore, you might get more extreme values just by chance, which can lead to more rejections of the null hypothesis than expected.
  • Larger sample size (n=40): With larger samples, the sample mean is likely to be closer to the true population mean (this is due to the Central Limit Theorem). Consequently, the results become more predictable and might show fewer rejections of the null hypothesis due to random fluctuations.

significance level α

  • Set α = 0.05: This means we're willing to accept a 5% chance that our significant results are due to random variation (`false positives`), rather than a real effect.
  • Expected rejections: When we tested our 1000 samples, we expected around 5% (or 50 samples) to show significance purely by chance.
  • Comparing results: By comparing the actual number of significant results to our expected 5% (50 samples), we can judge whether our observations are in line with expectations or if other factors (like sample size variability) might be influencing the outcome.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

hypothesis testing applet

Most popular questions from this chapter

SAT Exam Scores A school administrator believes that students whose first language learned is not English score worse on the verbal portion of the SAT exam than students whose first language is English. The mean SAT verbal score of students whose first language is English is 515 on the basis of data obtained from the College Board. Suppose a simple random sample of 20 students whose first language learned was not English results in a sample mean SAT verbal score of \(458 .\) SAT verbal scores are normally distributed with a population standard deviation of \(112 .\) (a) Why is it necessary for SAT verbal scores to be normally distributed to test the hypotheses using the methods of this section? (b) Use the classical approach or the \(P\) -value approach at the \(\alpha=0.10\) level of significance to determine if there is evidence to support the administrator's belief.

To test \(H_{0}: \mu=105\) versus \(H_{1}: \mu \neq 105,\) a simple random sample of size \(n=35\) is obtained. (a) Does the population have to be normally distributed to test this hypothesis by using the methods presented in this section? (b) If \(\bar{x}=101.9\) and \(s=5.9,\) compute the test statistic. (c) Draw a \(t\) -distribution with the area that represents the \(P\) -value shaded. (d) Determine and interpret the \(P\) -value. (e) If the researcher decides to test this hypothesis at the \(\alpha=0.01\) level of significance, will the researcher reject the null hypothesis? Why?

To test \(H_{0}: \mu=20\) versus \(H_{1}: \mu<20,\) a simple random sample of size \(n=18\) is obtained from a population that is known to be normally distributed. (a) If \(\bar{x}=18.3\) and \(s=4.3,\) compute the test statistic. (b) Draw a \(t\) -distribution with the area that represents the \(P\) -value shaded. (c) Approximate and interpret the \(P\) -value. (d) If the researcher decides to test this hypothesis at the \(\alpha=0.05\) level of significance, will the researcher reject the null hypothesis? Why?

The mean yield per acre of soybeans on farms in the United States in 2003 was 33.5 bushels, according to data obtained from the U.S. Department of Agriculture. A farmer in Iowa claimed the yield was higher than the reported mean. He randomly sampled 35 acres on his farm and determined the mean yield to be 37.1 bushels, with a standard deviation of 2.5 bushels. He computed the \(P\) -value to be less than 0.0001 and concluded that the U.S. Department of Agriculture was wrong. Why should his conclusions be looked on with skepticism?

According to the Insurance Information Institute, the mean expenditure for auto insurance in the United States was \(\$ 774\) for \(2002 .\) An insurance salesman obtains a random sample of 35 auto insurance policies and determines the mean expenditure to be \(\$ 735\) with a standard deviation of \(\$ 48.31 .\) Is there enough evidence to conclude that the mean expenditure for auto insurance is different from the 2002 amount at the \(\alpha=0.01\) level of significance?

Recommended explanations on Math Textbooks

Discrete mathematics, theoretical and mathematical physics, logic and functions.

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Privacy overview.

Rossman/Chance Applet Collection

Updated 2021 applets.






 




- categorical
- quantitative
- quantitative

(click here for help on running java on , )    
-intervals for different population shapes    
Probability
Probability Calculator Statistical Inference  



 (multiple groups)   (multiple groups)    Multiple Variables
(js) (js) (js) (js) (js)
Click to access old applets page

Teachers: Click to set up memory quiz for your class

IMAGES

  1. Hypothesis testing

    hypothesis testing applet

  2. Hypothesis testing using the binomial distribution (2.05a)

    hypothesis testing applet

  3. SOLVED:Use the applet Hypothesis Testing (for Proportions) (refer to

    hypothesis testing applet

  4. Use the applet Hypothesis Test for a Mean to investigate the

    hypothesis testing applet

  5. Use the applet Hypothesis Test for a Mean to investigate the

    hypothesis testing applet

  6. WISE Applets

    hypothesis testing applet

COMMENTS

  1. Hypothesis tests for a mean

    The hypothesis test is based on the T statistic. The resulting statistic from the test drops into the plot. Red values represent tests where the null hypothesis is rejected at the specified level of significance. The default significance level of 0.05 used for the tests can be changed by adjusting the Level input within the applet.

  2. Hypothesis tests for a proportion

    The hypothesis test is based on the Z statistic. The resulting statistic from the test drops into the plot. Red values are tests where the null hypothesis is rejected at the specified level of significance. Change the default significance level (set at 0.05) by adjusting the Level in the applet. 5 tests and 1000 tests add the hypothesis results ...

  3. WISE Applets

    This applet converts probability values to z values and vice versa. The simple version converts only right-tail p and z values. The graphic version allows the user to input left-tail p, raw scores, and the mean and standard deviation of the group of interest. Hypothesis Testing Applet

  4. Hypothesis tests for a mean

    Hypothesis tests for a mean. The applet below allows one to visually investigate hypothesis tests for a mean. Specify the sample size, n, the shape of the distribution (Normal or Right skewed), the true population mean (Mean), the true population standard deviation (Std. Dev.), the null value for the mean (Null mean) and the alternative for the test (Alternative).

  5. Power of a Hypothesis Test Applet

    This applet illustrates the fundamental principles of statistical hypothesis testing through the simplest example: the test for the mean of a single normal population, variance known (the Z test).. The basic set-up of the test is this: using only n independent observations X 1, X 2,..., X n from a normal distribution with unknown mean (but known variance), the task is to decide whether or not ...

  6. Full article: Two Applets for Teaching Hypothesis Testing

    Nevertheless, students have good intuition about what makes a thing "too unlikely to be true". This applet guides students to make a decision based on a given probability without introducing formal concepts of hypothesis testing. The applet consists of two "views", called "test view" (. Figure 1. ) and "investigate view" (.

  7. Hypothesis Testing

    The Four Steps in Hypothesis Testing. STEP 1: State the appropriate null and alternative hypotheses, Ho and Ha. STEP 2: Obtain a random sample, collect relevant data, and check whether the data meet the conditions under which the test can be used. If the conditions are met, summarize the data using a test statistic.

  8. Hypothesis Testing Applet

    Open in new window Open in current window Open in current window

  9. Confidence intervals, hypothesis testing and p-values tutorial

    Purpose of the applet To make explicit the correspondence between inference based on confidence intervals (CIs) and formal hypothesis testing using Confidence intervals, hypothesis testing and p-values tutorial - an amiable correspondence

  10. Power of a hypothesis test

    This applet gives a visualisation of the concept of statistical power, and helps illustrate the relationship between power, sample size, standard deviation and ... it has no effect on the hypothesis test.) Other resources: Online tutorial using this applet. Alternate version of the applet with large sample sizes. Geogebratube page for this ...

  11. Confidence intervals, hypothesis testing and p-values

    This applet illustrates the connection between a confidence interval, a formal hypothesis test, and the p-value of a hypothesis test. Conceptual Learning with Interactive Applets. Menu. Confidence intervals, hypothesis testing and p-values

  12. Hypothesis Testing Calculator with Steps

    Hypothesis Testing Calculator. The first step in hypothesis testing is to calculate the test statistic. The formula for the test statistic depends on whether the population standard deviation (σ) is known or unknown. If σ is known, our hypothesis test is known as a z test and we use the z distribution. If σ is unknown, our hypothesis test is ...

  13. WISE » Instructor's Guide: Hypothesis Testing Tutorial

    The Hypothesis Testing (HT) Tutorial assumes that students have some familiarity with basic statistics, such as means, standard deviation, and variance, and are able to calculate standard errors of the mean and z -scores. Students should also have an understanding of the normal distribution, sampling distributions, and the Central Limit Theorem.

  14. 10 2A Hypothesis Test for a Proportion Using Coin Flipping Applet

    Introduces hypothesis test for a population proportion using simulation with a coin-flipping applet. Utilizes the P-value approach. Based on Section 10.2A ...

  15. Theory-Based Inference Applet

    Theory-based inference Applet. Scenario. One proportion One mean Two proportions Two means. Enter data. Paste data. Stacked (Value Group) Includes header. Paste data below: Use Data.

  16. 5 Free Resources for Understanding Hypothesis Testing

    Hypothesis testing is a fundamental concept in statistics and involves making inferences about populations based on sample data. There are a number of free online resources that can help demystify the hypothesis testing process. These range from courses and textbooks to video tutorials, catering to different learning styles and levels of ...

  17. Power of a hypothesis test (large sample version)

    This applet gives a visualisation of the concept of statistical power, and helps illustrate the relationship between power, sample size, standard dev…

  18. WISE » Tutorial: Hypothesis Testing

    Sadly, browsers no longer support the interactive Java applet that is featured in this tutorial. Introduction to Hypothesis Testing. Overview: Statistical hypothesis testing is a method of making decisions about a population based on sample data.We can compute how likely it is to find specific sample data if the sample was drawn randomly from the hypothesized population.

  19. Conceptual Learning with Interactive Applets

    Confidence intervals, hypothesis testing and p-values. This applet illustrates the connection between a confidence interval, a formal hypothesis test, and the p-value of a hypothesis test. 12 Jul 2021 Applets. Power of a hypothesis test.

  20. Hypothesis Testing Applet

    Open in new window Open in current window ...

  21. Problem 31 Load the hypothesis tests for a ... [FREE SOLUTION]

    Load the hypothesis tests for a mean applet. (a) Set the shape to right skewed, the mean to \(50,\) and the standard deviation to \(10 .\) Obtain 1000 simple random samples of size \(n=8\) from this population, and test whether the mean is different from \(50 .\) How many of the samples led to a rejection of the null hypothesis if \(\alpha=0.05 ?\)

  22. Rossman/Chance Applet Collection

    One proportion inference. Goodness of Fit. Analyzing Two-way Tables. Matched Pairs. Randomization test for quantitative response (multiple groups) two means. Randomization test for categorical response (multiple groups) Dolphin Study applet.

  23. Power of a hypothesis test

    This applet gives a visualisation of the concept of statistical power, and helps illustrate the relationship between power, sample size, standard dev…

  24. Chi-Square Distribution Applet/Calculator

    This applet computes probabilities and percentiles for the chi-square distribution: (left) box and press "Tab" or "Enter" on your keyboard. The probability from the drop-down box for a right-tail probability. To determine a percentile, enter the percentile (e.g. use 0.8 for the 80th percentile) in the from the drop-down box, and press "Tab" or ...