Data Organization (SPCHART command)

The data can be organized in the following ways:

  • Each case is a unit with a subgroup identifier that is specified with a BY variable. Table 1 is an example of this type of data organization. The data do not have to be sorted by subgroup.
  • Each case is a subgroup and there are as many variables as individuals within one sample. Table 2 shows this type of organization.
  • Each case is a unit and there are no subgroups. Table 3 shows this type of organization. Cases are not sorted or aggregated before plotting.
Table 1. Each case is a unit with a subgroup identifier
Subgroup Length
8:50 6.35
11:30 6.39
8:50 6.40
11:30 6.46
8:50 6.32
11:30 6.37
8:50 6.39
11:30 6.36
... ...
Table 2. Each case is a subgroup
N1 N2 N3 N4
6.35 6.40 6.32 6.39
6.39 6.46 6.37 6.36
... ... ... ...
Table 3. Each case is a unit and there are no subgroups
pH
4.9
4.5
4.7
5.1
4.6
5.1
4.9
4.8
...