This page offers structured overviews of one or more selected methods. Add additional methods for comparisons by clicking on the dropdown button in the righthand column. To practice with a specific method click the button at the bottom row of the table
One or more quantitative of interval or ratio level and/or one or more categorical with independent groups, transformed into code variables
Dependent variable
Dependent variable
One of ordinal level
One categorical with 2 independent groups
Null hypothesis
Null hypothesis
H_{0}: P(first score of a pair exceeds second score of a pair) = P(second score of a pair exceeds first score of a pair)
If the dependent variable is measured on a continuous scale, this can also be formulated as:
H_{0}: the population median of the difference scores is equal to zero
A difference score is the difference between the first score of a pair and the second score of a pair.
Model chisquared test for the complete regression model:
H_{0}: $\beta_1 = \beta_2 = \ldots = \beta_K = 0$
Wald test for individual regression coefficient $\beta_k$:
H_{0}: $\beta_k = 0$
or in terms of odds ratio:
H_{0}: $e^{\beta_k} = 1$
Likelihood ratio chisquared test for individual regression coefficient $\beta_k$:
H_{0}: $\beta_k = 0$
or in terms of odds ratio:
H_{0}: $e^{\beta_k} = 1$
in the regression equation
$
\ln \big(\frac{\pi_{y = 1}}{1  \pi_{y = 1}} \big) = \beta_0 + \beta_1 \times x_1 + \beta_2 \times x_2 + \ldots + \beta_K \times x_K
$. Here $ x_i$ represents independent variable $ i$, $\beta_i$ is the regression weight for independent variable $ x_i$, and $\pi_{y = 1}$ represents the true probability that the dependent variable $ y = 1$ (or equivalently, the proportion of $ y = 1$ in the population) given the scores on the independent variables.
Alternative hypothesis
Alternative hypothesis
H_{1} two sided: P(first score of a pair exceeds second score of a pair) $\neq$ P(second score of a pair exceeds first score of a pair)
H_{1} right sided: P(first score of a pair exceeds second score of a pair) > P(second score of a pair exceeds first score of a pair)
H_{1} left sided: P(first score of a pair exceeds second score of a pair) < P(second score of a pair exceeds first score of a pair)
If the dependent variable is measured on a continuous scale, this can also be formulated as:
H_{1} two sided: the population median of the difference scores is different from zero
H_{1} right sided: the population median of the difference scores is larger than zero
H_{1} left sided: the population median of the difference scores is smaller than zero
Model chisquared test for the complete regression model:
H_{1}: not all population regression coefficients are 0
Wald test for individual regression coefficient $\beta_k$:
H_{1}: $\beta_k \neq 0$
or in terms of odds ratio:
H_{1}: $e^{\beta_k} \neq 1$
If defined as Wald $ = \dfrac{b_k}{SE_{b_k}}$ (see 'Test statistic'), also one sided alternatives can be tested:
H_{1} right sided: $\beta_k > 0$
H_{1} left sided: $\beta_k < 0$
Likelihood ratio chisquared test for individual regression coefficient $\beta_k$:
H_{1}: $\beta_k \neq 0$
or in terms of odds ratio:
H_{1}: $e^{\beta_k} \neq 1$
Assumptions
Assumptions
Sample of pairs is a simple random sample from the population of pairs. That is, pairs are independent of one another
In the population, the relationship between the independent variables and the log odds $\ln (\frac{\pi_{y=1}}{1  \pi_{y=1}})$ is linear
The residuals are independent of one another
Often ignored additional assumption:
Variables are measured without error
Also pay attention to:
Multicollinearity
Outliers
Test statistic
Test statistic
$W = $ number of difference scores that is larger than 0
Model chisquared test for the complete regression model:
$X^2 = D_{null}  D_K = \mbox{null deviance}  \mbox{model deviance} $
$D_{null}$, the null deviance, is conceptually similar to the total variance of the dependent variable in OLS regression analysis. $D_K$, the model deviance, is conceptually similar to the residual variance in OLS regression analysis.
Wald test for individual $\beta_k$:
The wald statistic can be defined in two ways:
Wald $ = \dfrac{b_k^2}{SE^2_{b_k}}$
Wald $ = \dfrac{b_k}{SE_{b_k}}$
SPSS uses the first definition.
Likelihood ratio chisquared test for individual $\beta_k$:
$X^2 = D_{K1}  D_K$
$D_{K1}$ is the model deviance, where independent variable $k$ is excluded from the model. $D_{K}$ is the model deviance, where independent variable $k$ is included in the model.
Sampling distribution of $W$ if H_{0} were true
Sampling distribution of $X^2$ and of the Wald statistic if H_{0} were true
The exact distribution of $W$ under the null hypothesis is the Binomial($n$, $P$) distribution, with $n =$ number of positive differences $+$ number of negative differences, and $P = 0.5$.
If $n$ is large, $W$ is approximately normally distributed under the null hypothesis, with mean $nP = n \times 0.5$ and standard deviation $\sqrt{nP(1P)} = \sqrt{n \times 0.5(1  0.5)}$. Hence, if $n$ is large, the standardized test statistic
$$z = \frac{W  n \times 0.5}{\sqrt{n \times 0.5(1  0.5)}}$$
follows approximately the standard normal distribution if the null hypothesis were true.
Sampling distribution of $X^2$, as computed in the model chisquared test for the complete model:
chisquared distribution with $K$ (number of independent variables) degrees of freedom
Sampling distribution of the Wald statistic:
If defined as Wald $ = \dfrac{b_k^2}{SE^2_{b_k}}$: approximately the chisquared distribution with 1 degree of freedom
If defined as Wald $ = \dfrac{b_k}{SE_{b_k}}$: approximately the standard normal distribution
Sampling distribution of $X^2$, as computed in the likelihood ratio chisquared test for individual $\beta_k$:
chisquared distribution with 1 degree of freedom
Significant?
Significant?
If $n$ is small, the table for the binomial distribution should be used:
Two sided:
Check if $W$ observed in sample is in the rejection region or
Find two sided $p$ value corresponding to observed $W$ and check if it is equal to or smaller than $\alpha$
Right sided:
Check if $W$ observed in sample is in the rejection region or
Find right sided $p$ value corresponding to observed $W$ and check if it is equal to or smaller than $\alpha$
Left sided:
Check if $W$ observed in sample is in the rejection region or
Find left sided $p$ value corresponding to observed $W$ and check if it is equal to or smaller than $\alpha$
If $n$ is large, the table for standard normal probabilities can be used:
Two sided:
Check if $z$ observed in sample is at least as extreme as critical value $z^*$ or
Find two sided $p$ value corresponding to observed $z$ and check if it is equal to or smaller than $\alpha$
Right sided:
Check if $z$ observed in sample is equal to or larger than critical value $z^*$ or
Find right sided $p$ value corresponding to observed $z$ and check if it is equal to or smaller than $\alpha$
Left sided:
Check if $z$ observed in sample is equal to or smaller than critical value $z^*$ or
Find left sided $p$ value corresponding to observed $z$ and check if it is equal to or smaller than $\alpha$
For the model chisquared test for the complete regression model and likelihood ratio chisquared test for individual $\beta_k$:
Find $p$ value corresponding to observed $X^2$ and check if it is equal to or smaller than $\alpha$
For the Wald test:
If defined as Wald $ = \dfrac{b_k^2}{SE^2_{b_k}}$: same procedure as for the chisquared tests. Wald can be interpret as $X^2$
If defined as Wald $ = \dfrac{b_k}{SE_{b_k}}$: same procedure as for any $z$ test. Wald can be interpreted as $z$.
n.a.
Waldtype approximate $C\%$ confidence interval for $\beta_k$

$b_k \pm z^* \times SE_{b_k}$
where the critical value $z^*$ is the value under the normal curve with the area $C / 100$ between $z^*$ and $z^*$ (e.g. $z^*$ = 1.96 for a 95% confidence interval).
n.a.
Goodness of fit measure $R^2_L$

$R^2_L = \dfrac{D_{null}  D_K}{D_{null}}$
There are several other goodness of fit measures in logistic regression. In logistic regression, there is no single agreed upon measure of goodness of fit.
Put the two paired variables in the boxes below Variable 1 and Variable 2
Under Test Type, select the Sign test
Analyze > Regression > Binary Logistic...
Put your dependent variable in the box below Dependent and your independent (predictor) variables in the box below Covariate(s)
Jamovi
Jamovi
Jamovi does not have a specific option for the sign test. However, you can do the Friedman test instead. The $p$ value resulting from this Friedman test is equivalent to the two sided $p$ value that would have resulted from the sign test. Go to:
ANOVA > Repeated Measures ANOVA  Friedman
Put the two paired variables in the box below Measures
Regression > 2 Outcomes  Binomial
Put your dependent variable in the box below Dependent Variable and your independent variables of interval/ratio level in the box below Covariates
If you also have code (dummy) variables as independent variables, you can put these in the box below Covariates as well
Instead of transforming your categorical independent variable(s) into code variables, you can also put the untransformed categorical independent variables in the box below Factors. Jamovi will then make the code variables for you 'behind the scenes'