SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Contacts SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Auxillary Chapter

POSITIONAL TABULATION

Name:
    POSITIONAL TABULATION
Type:
    Analysis Command
Purpose:
    Generate a position tabulation for one of Dataplot's supported univariate statistics for either a list of variables or a list of matrices.
Description:
    Dataplot typically computes statistic for the rows of a variable. However, there may be times where it is desirable to compute a statistic for each row of a list of variables. For example, given the variables A, B, C, and D where each variable has 5 rows, the POSITIONAL TABULATION MEAN will print the means for
row 1: mean of A(1), B(1), C(1), D(1) row 2: mean of A(2), B(2), C(2), D(2) row 3: mean of A(3), B(3), C(3), D(3) row 4: mean of A(4), B(4), C(4), D(4) row 5: mean of A(5), B(5), C(5), D(5) If you specify a list of matrices, then the statistic will be computed for each (i,j) position of the matrices. The list can contain either variables or matrices, but not a mix. All names in the list should have the same dimension. That is, if it is a list of variables, then each variable should have the same length. If it is a list of matrices, then each matrix should have the same number of rows and the same number of columns. Syntax:
    POSITIONAL TABULATION <stat> <y1> ... <yk> <SUBSET/EXCEPT/FOR qualification> where <stat> is one of Dataplot's supported statistics; <y1> ... <yk> is a list of 1 to 30 response variables or matrices (with the same dimensions); and where the <SUBSET/EXCEPT/FOR qualification> is optional.
This syntax generates a count of the number of elements in each row and column combination. Examples:
    POSITIONAL TABULATION MEAN Y1 TO Y5
    POSITIONAL TABULATION MEAN Y1 TO Y5 FOR I = 1 1 25

Note:
    For a list of supported statistics, enter the command
HELP STATISTICS Only statistics that operate on a single response are supported. Note:
    The output is also written to the file DPST1F.DAT. For example, you can do something like the following
POSITIONAL TABULATION MEAN A B C D SKIP 0 READ DPST1F.DAT ROW COL YMEAN Note:
    To specify the number of digits to print to the right of the decimal point, enter the command (the default is exponential format)
SET WRITE DECIMALS Default:
    None
Synonyms:
    None
Related Commands:
    CROSS TABULATE = Generates a cross tabulation for a specified statistic.
    MATRIX ROW = Generated row statistics for a matrix.
    STATISTIC PLOT = Generate a statistic versus subset plot.
    FLUCTUATION PLOT = Generates a fluctuation plot.
    TABULATION PLOT = Generates a tabulation plot.
Applications:
    Exploratory Data Analysis
Implementation Date:
    2011/9
Program 1:
     
    let y1 = data 1 2 3
    let y2 = data 4 5 6
    let y3 = data 7 8 9
    .
    set write decimals 3
    positional tabulation mean y1 y2 y3
    .
    read dpst1f.dat row col ymean
    
        
    plot generated by sample program
Program 2: read matrix a 1 2 3 4 5 6 7 8 9 end of data . read matrix b 11 21 31 41 51 61 71 81 91 end of data . read matrix c 101 102 103 111 121 131 141 151 161 end of data . SET WRITE DECIMALS 1 POSITIONAL TABULATION SUM A B C

Date created: 09/22/2011
Last updated: 09/22/2011
Please email comments on this WWW page to alan.heckert@nist.gov.