fldquar | Compute quatiles for data fields |
-d <data> | source data |
-fout <field> | resulted field |
[-v <value>] | percentual amount of data |
[-md <value>] | missing value to be skipped |
This operation finds a value of the sorted data that limits a given portion of data. The value is not given, then the default value (50 %) is used.
Example: This simple example shows, how the first and the third quartiles can be computed.
NDA> load boston.dat NDA> mkgrp grp NDA> addsg grp NDA> select crim -f boston.crim NDA> fldquar -d crim -fout crim25 -v 25 NDA> fldquar -d crim -fout crim75 -v 75 NDA> rngplt grp -n crim -inx 0 -f crim25 -f crim75 -sca data -min boston.crim -max boston.crim -co blue -labs ... ... zn ... ... indus ... ...