stats
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| somx | 1 | compute simple sum of elements in a half-matrix |
| somx2 | 1 | compute square sum of elements in a half-matrix |
| moy | 1 | compute mean for a half-matrix |
| ect | 1 | compute standard deviation for a half-matrix |
| shake | 1 | shaking elements of a vector at random |
| sompx | 1 | compute square sum of mean deviations for a half matrix |
| sompxy | 1 | sum x-mean(x) * y-mean(y) for two half matrices |
| resid | 1 | compute residuals of half-matrix A against half-matrix B |
| norm | 1 | normalization of a half-matrix |
| pmt_perm | 1 | randomization procedure for partial Mantel test |
| pmt_perm_exact | 1 | exact permutation procedure for partial Mantel test |
| smt_perm | 1 | randomization procedure for simple Mantel test |
| smt_perm_exact | 1 | exact permutation procedure for simple Mantel test |
03 Members
Double()(), Int32)compute simple sum of elements in a half-matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the half-matrix |
[stop] | Int32 | - |
sum as double
Double()(), Int32)compute square sum of elements in a half-matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the half-matrix |
[stop] | Int32 | - |
square sum as double
Double()(), Int32)compute mean for a half-matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the half-matrix |
[stop] | Int32 | - |
mean as double
Double()(), Int32)compute standard deviation for a half-matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the half-matrix |
[stop] | Int32 | - |
standard deviation as double
Int32(), Int32)shaking elements of a vector at random
| Name | Type | Description |
|---|---|---|
a | Int32() | array pointer, size of the array |
f | Int32 | - |
Double()(), Int32)compute square sum of mean deviations for a half matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the half-matrix |
[stop] | Int32 | - |
sum as double
Double()(), Double()(), Int32, Double, Double)sum x-mean(x) * y-mean(y) for two half matrices
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix A pointer, matrix B pointer, size of the matrices, mean matrix A, mean matrix B |
b | Double()() | - |
[stop] | Int32 | - |
lmoyA | Double | - |
lmoyB | Double | - |
sum as double
Double()(), Double()(), Int32, Double, Double)compute residuals of half-matrix A against half-matrix B
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix A pointer, matrix B pointer, size of the matrices, mean matrix A, mean matrix B |
b | Double()() | - |
[stop] | Int32 | - |
lmoyA | Double | - |
lmoyB | Double | - |
Double()(), Int32)normalization of a half-matrix
| Name | Type | Description |
|---|---|---|
a | Double()() | matrix pointer, size of the matrix |
[stop] | Int32 | - |
randomization procedure for partial Mantel test
| Name | Type | Description |
|---|---|---|
A | Double()() | matrix A pointer, matrix B pointer, matrix C pointer, r_bc pointer, struct for parameters |
B | Double()() | - |
C | Double()() | - |
r_bc | Double | - |
p | Result | - |
1 if ok
exact permutation procedure for partial Mantel test
| Name | Type | Description |
|---|---|---|
A | Double()() | matrix A pointer, matrix B pointer, matrix C pointer, r_bc pointer, struct for results |
B | Double()() | - |
C | Double()() | - |
r_bc | Double | - |
p | Result | - |
1 if ok
randomization procedure for simple Mantel test
| Name | Type | Description |
|---|---|---|
A | Double()() | matrix A pointer, matrix B pointer, struct for results |
B | Double()() | - |
p | Result | - |
1 if ok
exact permutation procedure for simple Mantel test
| Name | Type | Description |
|---|---|---|
A | Double()() | matrix pointer A, matrix pointer B, struct for results |
B | Double()() | - |
p | Result | - |
1 if ok