nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Math.Statistics / stats

stats

Full name Microsoft.VisualBasic.Math.Statistics.Hypothesis.Mantel.stats Assembly Microsoft.VisualBasic.Math.Statistics Members 13

01 Syntax

Microsoft.VisualBasic.Math.Statistics.Hypothesis.Mantel.stats

02 Methods

NameOverloadsSummary
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

method somx #
somx(Double()(), Int32)

compute simple sum of elements in a half-matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the half-matrix

[stop]Int32

-

Returns

sum as double

method somx2 #
somx2(Double()(), Int32)

compute square sum of elements in a half-matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the half-matrix

[stop]Int32

-

Returns

square sum as double

method moy #
moy(Double()(), Int32)

compute mean for a half-matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the half-matrix

[stop]Int32

-

Returns

mean as double

method ect #
ect(Double()(), Int32)

compute standard deviation for a half-matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the half-matrix

[stop]Int32

-

Returns

standard deviation as double

method shake #
shake(Int32(), Int32)

shaking elements of a vector at random

Parameters
NameTypeDescription
aInt32()

array pointer, size of the array

fInt32

-

method sompx #
sompx(Double()(), Int32)

compute square sum of mean deviations for a half matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the half-matrix

[stop]Int32

-

Returns

sum as double

method sompxy #
sompxy(Double()(), Double()(), Int32, Double, Double)

sum x-mean(x) * y-mean(y) for two half matrices

Parameters
NameTypeDescription
aDouble()()

matrix A pointer, matrix B pointer, size of the matrices, mean matrix A, mean matrix B

bDouble()()

-

[stop]Int32

-

lmoyADouble

-

lmoyBDouble

-

Returns

sum as double

method resid #
resid(Double()(), Double()(), Int32, Double, Double)

compute residuals of half-matrix A against half-matrix B

Parameters
NameTypeDescription
aDouble()()

matrix A pointer, matrix B pointer, size of the matrices, mean matrix A, mean matrix B

bDouble()()

-

[stop]Int32

-

lmoyADouble

-

lmoyBDouble

-

method norm #
norm(Double()(), Int32)

normalization of a half-matrix

Parameters
NameTypeDescription
aDouble()()

matrix pointer, size of the matrix

[stop]Int32

-

method pmt_perm #
pmt_perm(Double()(), Double()(), Double()(), Double, Result)

randomization procedure for partial Mantel test

Parameters
NameTypeDescription
ADouble()()

matrix A pointer, matrix B pointer, matrix C pointer, r_bc pointer, struct for parameters

BDouble()()

-

CDouble()()

-

r_bcDouble

-

pResult

-

Returns

1 if ok

method pmt_perm_exact #
pmt_perm_exact(Double()(), Double()(), Double()(), Double, Result)

exact permutation procedure for partial Mantel test

Parameters
NameTypeDescription
ADouble()()

matrix A pointer, matrix B pointer, matrix C pointer, r_bc pointer, struct for results

BDouble()()

-

CDouble()()

-

r_bcDouble

-

pResult

-

Returns

1 if ok

method smt_perm #
smt_perm(Double()(), Double()(), Result)

randomization procedure for simple Mantel test

Parameters
NameTypeDescription
ADouble()()

matrix A pointer, matrix B pointer, struct for results

BDouble()()

-

pResult

-

Returns

1 if ok

method smt_perm_exact #
smt_perm_exact(Double()(), Double()(), Result)

exact permutation procedure for simple Mantel test

Parameters
NameTypeDescription
ADouble()()

matrix pointer A, matrix pointer B, struct for results

BDouble()()

-

pResult

-

Returns

1 if ok