Evaluate theory-based hypotheses with the GORIC and GORICA in restriktor.
Hypothesis testing answers the question whether a null hypothesis can be rejected. Often, however, researchers have one or more theories they want to compare directly. The goric() function evaluates theory-based, informative hypotheses (hypotheses with equality and/or inequality restrictions on the parameters) against each other. It computes:
the GORIC, the generalized order-restricted information criterion;
the GORICA, its approximation, which only needs the estimates and their covariance matrix, and can therefore be applied to almost any model (e.g., SEM, multilevel, meta-analysis, time series);
their small-sample versions GORICC and GORICAC;
the GORIC(A) weights, which quantify the relative support for each hypothesis in the set, comparable to Akaike weights.
A first example
Using the same walking data as in the first tutorial example, we evaluate the hypothesis that the mean age decreases with more exercise against its complement (all other possible orderings):
restriktor (0.7): generalized order-restricted information criterion:
Results:
Values:
model loglik penalty goric
1 H1 -40.014 3.098 86.224
2 complement -40.102 4.869 89.940
Weights:
model loglik.weights penalty.weights goric.weights
1 H1 0.522 0.855 0.865
2 complement 0.478 0.145 0.135
Conclusion:
The order-restricted hypothesis 'H1' has 6.41 times more support than its
complement.
---
Additional information:
- Note: The log-likelihood (loglik) value of the best hypothesis Hypothesis
'H1' is close to the log-likelihood (loglik) value of Hypothesis
'complement'. You may want to use the benchmark() function to investigate
whether this is the case. If so, then this indicates that there is
support for their boundary. More details can be found in the vignette
'Guidelines_GORIC_output' (to open it, run
vignette("Guidelines_GORIC_output", package = "restriktor")) and in the
decision tree on https://github.com/rebeccakuiper/Tutorials (the file
'Decision tree - Interpretation.pdf').
- The benchmark() function can be used to label the height of the output,
for example, the height of the ratio(s) of weights (e.g., to say whether
that value denotes medium, high, or very large evidence). More details
can be found in the vignette 'Guidelines_GORIC-benchmarks'; to open it,
run vignette("Guidelines_GORIC-benchmarks", package = "restriktor").
The GORIC weights show that \(H_1\) is 6.41 times more supported than its complement. Unlike a p-value, this ratio directly expresses how much more support one hypothesis has than another. The output and benchmarks help you judge whether such a ratio is large.
Hypothesis testing or model selection?
Both approaches use the same fitted model and the same constraint syntax, but they answer different questions:
iht() compares \(H_1\) with two fixed reference hypotheses: the null hypothesis, in which all inequality restrictions are replaced by equalities (Type A), and the unconstrained hypothesis (Type B). Not rejecting Type B means that the data are not in conflict with \(H_1\); it is not evidence for\(H_1\).
goric() quantifies the relative support for \(H_1\) compared with hypotheses you choose: its complement (all parameter values that are not in line with \(H_1\)), the unconstrained hypothesis, or a set of competing theories. It gives a weight of evidence for each hypothesis, without a significance level.
Therefore, the conclusions of both approaches usually point in the same direction, but they do not have to. A hypothesis that fits clearly better than the null hypothesis (Type A rejected) can still be only slightly better than its complement, for example when some restrictions are almost on the boundary. The examples in this tutorial show both approaches side by side where this is meaningful; see in particular example 5 and example 8.
Use hypothesis testing if you want a decision about one informative hypothesis with a controlled type I error rate. Use model selection if you have several competing theories, if you want to quantify the support for a hypothesis rather than reject a null hypothesis, or if your model is not supported by iht() (for example SEM, multilevel models or meta-analysis, with the GORICA).
What else can restriktor do with the GORIC(A)?
Function
Purpose
goric()
Evaluate a set of hypotheses, against the unconstrained model, the complement, or none
goric_posthoc()
Evaluate the best hypothesis against its complement
goric_CI()
Confidence intervals for GORIC(A) values and weights
benchmark()
Benchmarks to interpret the height of the GORIC(A) weights
evSyn()
Aggregate evidence for hypotheses over multiple studies (evidence synthesis)
goric_arima(), arme()
Hypotheses about time series and measurement error