- Visit the General Social Survey website at http://www.icpsr.umich.edu:8080/GSS/homepage.htm
- Click on Analyze
- Select Frequencies or crosstabulation and then click Start
- Enter these values (without the quotes) on the screen that appears.
- The Row variable should be "sex"
- The Column variable should be "race"
- The Filter variable should be "year(2000)"

- Uncheck any percentaging boxes.
- Click Run the Table

- Label three empty columns as "sex", "race", and "frequency"
- Enter "male" three times and then "female" three times in the sex column.
- Enter "white", "black", and "other" in the race column. Repeat the sequence so the whole sequence is there twice.
- Enter the frequencies from the webpage for each pair of categorical variables.

Your data should look something like this (but be sure to use your data from the year 2000)

row | sex | race | frequency |
---|---|---|---|

1 | male | white | 1002 |

2 | male | black | 144 |

3 | male | other | 86 |

4 | female | white | 1239 |

5 | female | black | 256 |

6 | female | other | 105 |

- Choose File / Save Project As
- Navigate the file system to the R: drive
- Choose section
**01**or**02**as appropriate - Choose the
**tech3**folder - Save your data under a name that is unique to your group.

Be sure to open up this file any time you need to do further work on your project.

- Choose Stat / Tables / Cross Tabulation and Chi-Square from the menu
- The row variable should be sex and the column variable should be race.
- Tell Minitab that the Frequencies are in the frequency column.
- Display the Counts and nothing else.
- Click OK

Repeat the above steps for the contingency table (remember that control-e is a quick way to pull up the last command), except display the Total percents. Typically, probability distributions are written as decimals, but Minitab displays them as percents. Be sure to answer as a decimal when you answer the questions later.

Repeat the above steps for a contingency table, except display the Row percents or the Column percents (depending on which conditional percents you want - note that I asked for both). If you check Row percents and sex is your row variable, then you'll get the percent of each sex that are white, black, or other and be able to answer questions like "What is the chance that a randomly selected male is black?"

After you have created all of the probability distributions, you can use them to answer the questions.

Your output for this section will be a graph similar to the one to the right. My example uses 0.5 as the probability of success for each trial. Be sure you use the probability given you in class.

- Choose File / New / Minitab Worksheet. This data is so very different from the last problem that we'll put it in a different worksheet just to keep it separate.
- Label empty columns as "n", "x1", "x2", "x3", "x4", "p1", "p2", "p3", and "p4".
- Fill in the numbers from 1 to 1000 into the "n" column
- Choose Calc / Make Patterned Data / Simple Set of Numbers
- Store the patterned data in "n".
- Start with the first value of 1
- Go to the last value of 1000
- Click OK

- Generate the random data
- Choose Calc / Random Data / Bernoulli
- Generate 1000 rows of data
- Store in columns x1, x2, x3, and x4
- Use the probability of success that was given to you. Enter it as a decimal.
- Click OK

- Find the accumulated probabilities
- Choose Calc / Calculator
- Store the results into "p1"
- The expression is "pars(x1)/n"
- Click OK
- Repeat steps a-d, but change the variables. Use p2 with x2, p3 with x3, and p4 with x4.

- Choose Graph / Time Series Plot / Multiple
- The Series are contained in columns p1, p2, p3, and p4.
- Turn off the symbols. There are too many data points to show symbols.
- Click on Data View
- Uncheck the Symbols box
- Click OK

- Add a reference line at your probability so we can see the values getting
close to it.
- Click on Time / Scale
- Choose the Reference Lines tab
- For the Y positions, enter your probability
- Click OK

- Change the Title
- Click on Labels
- Use a title like "Law of Large Numbers"
- Give it a subtitle with the probability of success, something like "p = 0.5"
- Click OK

- Click OK

- Get rid of the legend, it's not necessary for this graph. Do this by right clicking the mouse over the legend and selecting Delete from the menu.
- Change the line
style.
- Click on the points on the graph
- Click the right mouse button and choose Edit Connect Line
- Change the lines to custom instead of automatic
- Change the type of line to be a solid line (instead of none)

- Change the size of the reference line at your probability
- Right click on the reference line and choose Edit Y: Ref Line
- Change the line to be custom instead of automatic
- Change the style of line to be dashed
- Change the color of the line to be dark brown or some other color that's not being used
- Change the size of the line to be 2

- Relabel the axes
- Double click on the word "Index" below the X axis
- Change the text to be "# of trials"
- Click OK
- Double click on the word "Data" to the left of the Y axis
- Change the text to be "probability"
- Click OK

Check your graph and make sure everything is okay. If it is, then copy and paste it into Word.

- Create a new worksheet to hold the Jalen Rose data.
- Label two empty columns as "shots made" and "probability"
- The number of shots made can be anywhere from 0 (a really bad game) to
19 (a most excellent game). Jalen can't make less than 0 shots, nor can he
make more than attempts. Fill in the "shots made" column with the whole numbers
from 0 to 19
- Go to Calc / Make Patterned Data / Simple Set of Numbers
- You should be able to figure it out on your own by now.

- Find the probabilities for each of those shots made.
- Choose Calc / Probability Distributions / Binomial
- Choose Probability
- The number of trials is 19
- The probability of success is 0.406
- The input column is "shots made"
- The output column is "probability"
- Click OK

- Highlight the "shots made" and "probability" columns by clicking on the C1 and C2 at the top.
- Copy the data
- Switch to Word
- Paste the data.
- Highlight the data in Word
- Add a tab at about 1" so that the data lines up with the headings. To add a tab, just click on the ruler where you want the tab to go. If the ruler isn't showing, go to View / Ruler.

As an alternative, you can go to Manip / Display Data in Minitab. Display both variables and then you can copy and paste into Word as normal. This includes the row number, which isn't necessary, which is why I gave the previous instructions.

- Choose Graph / Scatterplot / Simple
- The Y variable should be "probability"
- The X variable should be "shots made"
- Add a title by choosing Labels
- Click OK to generate the graph

- Fix the scale on the X axis so that it goes from 0 to 19
- Right click on the x-axis and choose Edit X scale
- Uncheck the Auto check boxes for the minimum and maximum under the scale range
- Change the X minimum to be -0.5 and the X maximum to be 19.5. It is necessary to subtract and add 0.5 for the graph to appear properly.
- Under Major Tick Positions, click number of ticks and enter 20
- Click OK

- (Optional, Recommended) Change the color and size of the symbols.
- Right clicking on the points and choosing Edit Symbols.
- Change to custom instead of automatic
- Change the point size to something like 1.5

- Click OK

As always, copy and paste the graph into Word and then explain what we're looking at.