Advanced tables and statistics > Dealing with hierarchical data > Analysis levels > Process with levels
 
Process with levels
Quick reference
To use process to update tables at a given level only, type:
process level_name
More information
process is followed by the name of an analysis level lower than the level currently being processed in the Edit. This passes control to the tabulation section and updates only tables at the named level. The format of the statement is:
process level_name
This is useful when information for a specific level is on the same card as its parent level. Suppose the level Trip is a sub-level of Person, as follows:
person cards=1
trip <person
You might write the loop as:
ed person
do 10 t1 = 134,140,2
c(164,165)=c(t1,t1+1)
process trip
10 continue
However, process can produce unreliable results with hierarchical data that has more than two levels. So when there is information for more than two levels on the same card, it is preferable to recode the data so that each level is on a separate card.
For a full discussion of process, see Going temporarily to the tab section.
See also
Analysis levels