Obtain a Sample Correlation

Minitab 18

Minitab®  – Procedure

  1. Select Stat >> Basic statistics >> Correlation ...
  2. Specify the two (or more) variables for which you want the correlation coefficient(s) calculated.
    • Pearson correlation is the default.  An optional Spearman rho method is also available. 
  3. If it isn't already checked, put a checkmark in the box labeled Display p-values by clicking once on the box.
  4. Select OK. The output will appear in the session window.

Example

For people of the same age and gender, height is often considered a good predictor of weight. The data set htwtmales.txt contains the heights (ht, in cm) and weights (wt, in kg) of a sample of 14 males between the ages of 19 and 26 years.

  1. What is the sample correlation coefficient between ht and wt?
  2. Is there sufficient evidence to conclude that the population correlation coefficient between ht and wt is significantly different from 0?

Minitab Dialog Box

minitab correlation dialog box

Resulting Sample Minitab Output

Correlation: wt, ht

Pearson correlation of wt and ht = 0.689
P-Value = 0.006

Video Review