The Difference between Two Means
Formatting Data for Computer Analysis
Most computer programs that computetests require your data to be in a specific form. Consider the data in Table 2.
Table 2. Example Data.
|Group 1||Group 2|
Here there are two groups, each with three observations. To format these data for a computer program, you normally have to use two variables: the first specifies the group the subject is in and the second is the score itself. The reformatted version of the data in Table 2 is shown in Table 3.
Table 3. Reformatted Data.
To use Analysis Lab to do the calculations, you would copy the data and then
- Click the "Enter/Edit Data" button. (You may be warned that for security reasons you must use the keyboard shortcut for pasting data.)
- Paste your data.
- Click "Accept Data".
- Set the Dependent Variable to .
- Set the Grouping Variable to .
- Click the "
Thevalue is , the , and .