SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
template<domain D :shared3p > | |
D float32 | pairedTTest (D int32[[1]] sample1, D int32[[1]] sample2, D bool[[1]] filter, float32 constant) |
template<domain D :shared3p > | |
D float64 | pairedTTest (D int64[[1]] sample1, D int64[[1]] sample2, D bool[[1]] filter, float64 constant) |
template<domain D :shared3p > | |
D float32 | pairedTTest (D float32[[1]] sample1, D float32[[1]] sample2, D bool[[1]] filter, float32 constant) |
template<domain D :shared3p > | |
D float64 | pairedTTest (D float64[[1]] sample1, D float64[[1]] sample2, D bool[[1]] filter, float64 constant) |
Perform paired t-tests.
sample1 | - first sample |
sample2 | - second sample |
filter | - vector indicating which elements of the sample to include in computing the t value |
constant | - hypothesized difference of means (set to 0 if testing for equal means) |
D float32 pairedTTest | ( | D float32[[1]] | sample1, |
D float32[[1]] | sample2, | ||
D bool[[1]] | filter, | ||
float32 | constant | ||
) |
D float64 pairedTTest | ( | D float64[[1]] | sample1, |
D float64[[1]] | sample2, | ||
D bool[[1]] | filter, | ||
float64 | constant | ||
) |
D float32 pairedTTest | ( | D int32[[1]] | sample1, |
D int32[[1]] | sample2, | ||
D bool[[1]] | filter, | ||
float32 | constant | ||
) |
D float64 pairedTTest | ( | D int64[[1]] | sample1, |
D int64[[1]] | sample2, | ||
D bool[[1]] | filter, | ||
float64 | constant | ||
) |