Minitab Notes for Activity 9

Finding the p-value (Questions 9 & 20)

There are three options available in Minitab for dealing with probability distributions.

Okay, so of those options, the cumulative probability is the one we need to use.

  1. Choose Calc / Probability Distributions / Chi-Square
  2. Select Cumulative Probability Distribution.
  3. Leave the non-centrality parameter at 0, we're not in graduate school.
  4. Enter the correct degrees of freedom. The degrees of freedom is one less than the number of categories.
  5. Click on Input Constant and then put your test statistic in as the constant.
  6. Click OK
  7. The area returned by Minitab is the area to the left, but this is a right tail test, so you need to manipulate the area to the left to find the area to the right.

Example

Here are the assumptions. We have a chi-square distribution with 5 df and the test statistic was 8.4. When we used Minitab to find the area to the right of 8.4, it returned 0.864475. Since this is a right tail test, we want the area to the right of 8.4 and since the entire area under the curve is 1, we can subtract the area of on the left from 1 to get the area on the right. That is 1 - 0.864475 = 0.123555. That's our p-value.

Chi-square w/ 5 df

By the way, the figure above was generated using Minitab. I created a column of the numbers between 0 and 12, counting by 0.1, using the Calc / Make patterened data / Simple set of numbers command. I then went into Calc / Probability distributions / Chi-square and chose the Probability density function. My input column was the column with the numbers between 0 and 12 and I stored the probability values into another column. I then did a scatterplot and cleaned up and annotated the results.

Also note that I stopped at 12 because it showed most of the interesting features of the graph before 12. However, the graph continues on to the right forever, approaching the x-axis (the probabilities get really close to zero).