Calculates the T-test for the mean of ONE group of scores a.
This is a refinement for the scipy.stats.ttest_1samp() for the null hypothesis testing that the expected value (mean) of a sample of independent observations is equal to the given population mean, popmean. It adds ability to carry single tailed test as well as operate on samples with varying number of active measurements, as specified by mask argument.
Since it is only a refinement and otherwise it should perform the same way as the original ttest_1samp – the name was overloaded.
Parameters : | a : array_like
popmean : float or array_like
axis : int, optional, (default axis=0)
mask : array_like, bool
alternative : (‘two-sided’, ‘greater’, ‘less’)
|
---|---|
Returns : | t : float or array
prob : float or array
|
Examples
TODO