


If you change the alternate for any situation, you can see the impact on the P-value (the probability of a sample result at least as far away from the null value as that seen in the data, assuming the null hypothesis is true).Assuming a table for a certain number of trials $n$, with a column per success probability $P$, and a row for each possible number of successes $X$

The blue arrow shows in which direction the "extreme" values of p̂ will be evidence against the null hypothesis, H 0 in favor of H a. The Normal curve shows the sampling distribution of the sample proportion p̂ when the null hypothesis is true. These concepts easily apply to any other significance test for the center of a distribution. This applet illustrates the P-value for a significance test involving one population proportion, p. Or you can specify the true population proportion and use the NEW SAMPLE button to create a random sample from the population, display the sample count and proportion, and calculate the P-value.Ĭlick the "Quiz Me" button to complete the activity. If you already have a sample, enter the number of "successes" to display the sample proportion on the graph and calculate the P-value. To set up the test, fill in the boxes: What null hypothesis H 0 about the population proportion p do you want to test? Which alternative (this represents the question) is of interest? How many observations ( n) do you have (30,000 or fewer)?
