Graphically presenting the 1 Proportion test

We can represent the results of the 1 Proportion test in the previous example using a probability distribution plot. Using the binomial distribution, we can show where the results of the study are in relation to the historical figures of 25 percent.

Getting ready

Following on from the previous example, we will use the figures of 92 students in total, out of which 28 smoke regularly. It is not necessary to open the dataset but it may be beneficial to run the previous example to compare the results.

How to do it…

The following steps will use probability distribution plots to generate a binomial distribution for 92 trials and an event probability of 0.25:

  1. Go to the Graph menu and select Probability Distribution Plot….
  2. Select the View Probability graph.
  3. From the dropdown for Distribution:, select Binomial.
  4. Under Number of trials:, enter 92 and for Event probability:, enter the hypothesized probability of 0.25.
  5. Select the tab for Shaded Area, choose X Value, and select Both Tails.
  6. For the X value field, enter 28.
  7. Click on OK.

How it works…

The probability distribution plot creates a histogram of the probability density function. For our observed results of 28, we have shaded the area of the distribution above 28. This indicates that we have 0.1399 in the tails of the distribution above 28. As this is a two-sided test and we are checking for a difference, the values of 18 and lower are shaded as well. The area in the distribution below 18 is 0.1383.

Add the two tails together to obtain the P-value of the 1 Proportion test, 0.1383 plus 0.1399 equals 0.2782 - the result of previous example.

For a one-sided test, we can choose to shade just one tail of the distribution.

See also

  • The Comparing the population mean to a target with a 1-Sample t-test recipe
  • The Using the Power and Sample Size tool for a 1 Proportion test recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.195.29