|
POSITIONAL TABULATIONName:
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.
<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.
POSITIONAL TABULATION MEAN Y1 TO Y5 FOR I = 1 1 25
Only statistics that operate on a single response are supported.
SKIP 0 READ DPST1F.DAT ROW COL YMEAN
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
The following output is generated.
Positional Tabulation (MEAN)
-------------------------------
Row Column Statistic
-------------------------------
1 1 4.000
2 1 5.000
3 1 6.000
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
The following output is generated.
Positional Tabulation (SUM)
-------------------------------
Row Column Statistic
-------------------------------
1 1 113.0
2 1 156.0
3 1 219.0
1 2 125.0
2 2 177.0
3 2 240.0
1 3 137.0
2 3 198.0
3 3 261.0
Date created: 09/22/2011 |
Last updated: 12/11/2023 Please email comments on this WWW page to [email protected]. | ||||||||||||||||||||||||