sums2prop | Convert a frame of sum values into propabilities |
-d <data> | source data |
-dout <trgdata> | result data |
This command converts a frame containing numerical values into propabilities by dividing each data record by the sum of its components.
Example: A frame of sums (see the example of clcomb, section 3.11) is converted into a frame of propabilities.
... # Original data contains the number of hits NDA> sums2prop -d hitcounts -dout hitprop # Resulting data contains propabilities # The sum of each data record is unity