# Minitab Notes for Activity 9

## Creating the Worksheet

1. Label the first column as len_cm, the second column as ht_in, and the third column as gender (or sex, but you'll have to make the appropriate changes later).
2. Enter the data into the appropriate columns. You may either enter "m" and "f" for the gender or write the entire word "male" and "female" out. Hint, "m" and "f" are quicker to type.
3. If you typed "m" and "f", go to Manip / Code / Text to Text
1. Code the data from gender into gender.
2. Convert the original value "m" into the new value "male". (You don't need to use quotes).
3. Convert the original value "f" into the new value "female".
4. Click OK.

## Converting the Units

If you are supposed to convert the finger length into inches, then label a blank column as len_in.

1. Go to Calc / Calculator
2. Store the results to len_in.
3. The expression is len_cm / 2.54
4. Click OK

If you are supposed to convert the height into centimeters, then label a blank column as ht_cm.

1. Go to Calc / Calculator
2. Store the results to ht_cm.
3. The expression is ht_in * 2.54
4. Click OK

## Making a Scatter Plot (#4)

1. Go to Graph / Plot
2. Enter the response variable for Y and the predictor variable for X
3. Click OK

## Summarize the Data (#6)

1. Go to Stat / Basic Statistics / Display Descriptive Statistics
2. Select the finger length and height with the appropriate units
3. Click OK

## Correlation Hypothesis Test (#8)

1. Go to Stat / Basic Statistics / Correlation
2. Select the predictor and response variables.
3. Click OK

## Regression (#10-14)

1. Go to Stat / Regression / Regression
2. Select the response variable (y) and predictor variable (x)
3. Click OK

1. Go to Manip / Subset Worksheet
2. Name the worksheet "male" or "female" as appropriate
3. Click on Condition
1. Type gender="male" or gender="female" (quotes are needed)
2. Click OK
4. Find the correlation coefficient and p-value as you did for problem 8. Remember that the sample size is different since you're using only one gender, so the critical values will change.

An alternative to the subset worksheet command is to split the worksheet by the gender. This will give you two worksheets, one for males and one for females. This might be advantageous for those people who would rather work on a computer than talk to someone of the opposite sex. Those people will just need to correlation portions twice, once for each gender.

Go to Activities page
Go to Math 113 homepage.

Last updated April 15, 2003 9:00 PM