statsmodels.stats.nonparametric.JonckheereTerpstraResult#

class statsmodels.stats.nonparametric.JonckheereTerpstraResult(statistic, pvalue, zstat, distribution, alternative, nobs, n_groups, counts, mean_null, var_null, concordant_minus_discordant, tau)[source]#

Result of jonckheere_terpstra.

Parameters:
statisticfloat

The Jonckheere-Terpstra J statistic.

pvaluefloat

P-value based on the asymptotic normal approximation.

zstatfloat

Standardized normal approximation for the test statistic.

distributionstr

The distribution used to compute pvalue, always "normal".

alternativestr

The alternative hypothesis that was tested.

nobsint

Total number of observations across all samples.

n_groupsint

Number of samples, i.e., the number of ordered groups.

countsndarray

Number of observations in each sample.

mean_nullfloat

Mean of statistic under the null hypothesis.

var_nullfloat

Variance of statistic under the null hypothesis.

concordant_minus_discordantfloat

Difference between the number of concordant and discordant pairs, i.e., 2 * statistic - mean_null * 2.

taufloat

Kendall’s tau computed from the pooled observations and their ordered group labels.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Properties

alternative

Alias for field number 4

concordant_minus_discordant

Alias for field number 10

counts

Alias for field number 7

distribution

Alias for field number 3

mean_null

Alias for field number 8

n_groups

Alias for field number 6

nobs

Alias for field number 5

pvalue

Alias for field number 1

statistic

Alias for field number 0

tau

Alias for field number 11

var_null

Alias for field number 9

zstat

Alias for field number 2