# Minitab Notes for Activity 9

## Creating the Worksheet

- 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).
- 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.
- If you typed "m" and "f", go to Manip / Code
/ Text to Text
- Code the data from gender into gender.
- Convert the original value "m" into the new value "male".
(You don't need to use quotes).
- Convert the original value "f" into the new value "female".
- Click OK.

## Converting the Units

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

- Go to Calc / Calculator
- Store the results to len_in.
- The expression is len_cm / 2.54
- Click OK

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

- Go to Calc / Calculator
- Store the results to ht_cm.
- The expression is ht_in * 2.54
- Click OK

## Making a Scatter Plot (#4)

- Go to Graph / Plot
- Enter the response variable for Y and the predictor variable
for X
- Click OK

## Summarize the Data (#6)

- Go to Stat / Basic Statistics / Display Descriptive Statistics
- Select
the finger length and height with the appropriate units
- Click OK

## Correlation Hypothesis Test (#8)

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

## Regression (#10-14)

- Go to Stat / Regression / Regression
- Select the response variable (y) and predictor variable (x)
- Click OK

## Your Gender Only (#15)

- Go to Manip / Subset Worksheet
- Name the worksheet "male" or "female" as appropriate
- Click on Condition
- Type gender="male" or gender="female" (quotes
are needed)
- Click OK

- 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