SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions

Functions

template<domain D :shared3p >
D float32 pairedTTest (D int32 sample1, D int32 sample2, D bool filter, float32 constant)
 
template<domain D :shared3p >
D float64 pairedTTest (D int64 sample1, D int64 sample2, D bool filter, float64 constant)
 
template<domain D :shared3p >
D float32 pairedTTest (D float32 sample1, D float32 sample2, D bool filter, float32 constant)
 
template<domain D :shared3p >
D float64 pairedTTest (D float64 sample1, D float64 sample2, D bool filter, float64 constant)
 

Detailed Description

Perform paired t-tests.

Note
D - shared3p protection domain
Supported types - int32 / int64 / float32 / float64
Parameters
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)
Returns
returns the t-value
Leakage
None

Function Documentation

◆ pairedTTest() [1/4]

template<domain D :shared3p >
D float32 pairedTTest ( D float32  sample1,
D float32  sample2,
D bool  filter,
float32  constant 
)

◆ pairedTTest() [2/4]

template<domain D :shared3p >
D float64 pairedTTest ( D float64  sample1,
D float64  sample2,
D bool  filter,
float64  constant 
)

◆ pairedTTest() [3/4]

template<domain D :shared3p >
D float32 pairedTTest ( D int32  sample1,
D int32  sample2,
D bool  filter,
float32  constant 
)

◆ pairedTTest() [4/4]

template<domain D :shared3p >
D float64 pairedTTest ( D int64  sample1,
D int64  sample2,
D bool  filter,
float64  constant 
)