iht_interpreter {mmirestriktor}R Documentation

Interpret Results of Informative Hypothesis Test

Description

This function provides a human-readable explanation of the results of an informative hypothesis test. It interprets the p-values of both Type A and Type B tests and provides an overall conclusion.

Usage

iht_interpreter(iht_res, alpha = 0.05)

Arguments

iht_res

A 'conTest' object containing the results of an informative hypothesis test.

alpha

The significance level for interpreting the p-values. Default is 0.05.

Value

A character string providing a detailed interpretation of the hypothesis test results.

References

Vanbrabant, L., & Rosseel, Y. (2020). An Introduction to Restriktor: Evaluating informative hypotheses for linear models. In R. van de Schoot & M. Miocevic (Eds.), Small Sample Size Solutions: A Guide for Applied Researchers and Practitioners (1st ed., pp. 157 -172). Routledge.

Examples

model <- mmir_model(mpg ~ -1 + hp + wt, data = mtcars, engine = "lm",
                    standardize = TRUE)
iht_res <- restriktor::iht(model, constraints = 'hp < wt')
iht_interpreter(iht_res) |> cat()


[Package mmirestriktor version 0.3.1 Index]