Package: restriktor 0.6-50

Leonard Vanbrabant

restriktor: Restricted Statistical Estimation and Inference for Linear Models

Allow for easy-to-use testing or evaluating of linear equality and inequality restrictions about parameters and effects in (generalized) linear statistical models.

Authors:Leonard Vanbrabant [aut, cre], Rebecca Kuiper [aut], Yves Rosseel [ctb], Aleksandra Dacko [ctb]

restriktor_0.6-50.tar.gz
restriktor_0.6-50.tar.gz(r-4.7-any)restriktor_0.6-50.tar.gz(r-4.6-any)
restriktor_0.6-50.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
restriktor/json (API)

# Install 'restriktor' in R:
install.packages('restriktor', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • AngerManagement - Reduction of aggression levels Dataset
  • Burns - Relation between the response variable PTSS and gender, age, TBSA, guilt and anger.
  • Exam - Relation between exam scores and study hours, anxiety scores and average point scores.
  • FacialBurns - Dataset for illustrating the conTest_conLavaan function.
  • Hurricanes - The Hurricanes Dataset
  • Kuiper2012estimates - Estimates and standard errors from four studies on past experience and buyer trust
  • myGORICs - An example of IC values
  • myLLs - An example of log-likelihood (LL) values
  • myPTs - An example of penalty (PT) values
  • ZelazoKolb1972 - "Walking" in the newborn

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.61 score 4 packages 166 scripts 5.1k downloads 1 mentions 44 exports 41 dependencies

Last updated from:6dfdc89efe. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK185
source / vignettesOK275
linux-release-x86_64OK178
wasm-releaseOK129

Exports:benchmarkbenchmark_asympbenchmark_meansbootstrapDcalc_ICweightscalculate_IC_weightscoef.con_goriccoef.restriktorcon_weights_bootconGLM.glmconLM.lmconMLM.mlmconRLM.rlmconTestconTest_ceqconTest_ceq.conGLMconTest_ceq.conLMconTest_ceq.conRLMconTest_summaryconTest_summary.restriktorconTestCconTestC.restriktorconTestDconTestF.conGLMconTestF.conLMconTestF.conRLMconTestLRT.conGLMconTestLRT.conLMconTestLRT.conMLMconTestScore.conGLMconTestScore.conLMconTestScore.conRLMconTestWald.conRLMevSyngoricgoric.lavaanihtleave1studyoutlogLik.restriktormodel.matrix.restriktorplot.evSynprint.goric_ICwrestriktorsummary.restriktor

Dependencies:bootclicodetoolscpp11digestfarverfuturefuture.applyggplot2globalsgluegmmgridExtragtableisobandlabelinglatticelavaanlifecyclelistenvMASSMatrixmnormtmvtnormnormnumDerivparallellypbivnormprogressrquadprogR6RColorBrewerrlangS7sandwichscalestmvtnormvctrsviridisLitewithrzoo

Guidelines for Interpreting GORIC(A) Output
Goal GORIC(A) | GORIC(A) output | GORIC(A) values | GORIC(A) weights and ratios | Hypotheses sets | Interpretation output | General | One informative hypothesis | vs Complement | Example | vs Unconstrained | Multiple informative hypotheses | Complement as failsafe | Unconstrained as failsafe | No failsafe | Note: Hypothesis specification | Special cases | Equal fit | Overlapping hypotheses | Example: Subset true | Example: Non-overlapping part true | Follow-up exploratory analysis for non-overlapping part | Support for boundary | Example: $H_1$ versus its complement | Follow-up exploratory analysis for boundary | Example: $H_1$, $H_2$, and the unconstrained | Notes | Just below maxmimum fit | Equality restriction (=) | About-equality restrictions | Not highest fit | Example: Correct hypothesis | Example: Incorrect hypothesis | Note on sample size | Remarks Bayesian model selection | Example: Prior sensitivity bain | Example: Support for incorrect equality | N = 100 | N = 1000 | bain | GORIC | N = 10000

Last update: 2026-02-05
Started: 2023-07-05

Guidelines interpretation GORIC(A) benchmark output
Introduction | GORIC(A) weights benchmarks | How to use benchmarks | Labelling | Use minimum effect | Sensitivity analysis | Defaults | General R code | Examples | Example 1 (ANOVA): $H_1$ vs its complement | Footnote | Example 2 (ANOVA): Overlapping hypotheses | Log-likelihood benchmarks | Example 3 (ANOVA): Border is true | Higher sample size | Example 1 (ANOVA) Ctd.

Last update: 2026-02-05
Started: 2024-09-12

How to evaluate theory-based hypotheses in a lavaan model using the GORICA
Packages | Example 1: Confirmatory Factor Analysis | Example 2: Multiple Group CFA | Measurement invariance | Hypothesis evaluation using GORICA | Example 3: Structural equation modeling (SEM) | Example 4: Multilevel SEM | Example 5: linear growth model with a time-varying covariate | Example 6: Mediation

Last update: 2026-02-05
Started: 2026-02-05

Tutorial for GORIC(A) evidence aggregation
Examples with R code | Example 1: Relationship previous experience and trust | Data preparation | Data for evSyn | Hypotheses | GORICA Evidence Synthesis | Example 2: Comparing surgical and non-surgical treatments for periodontal disease | Background Information & Data | Set 1 | Set 2 | Set 3 | Specifying sets of hypotheses in evSyn | Types of input for evSyn | using Estimates and Covariance Matrix | using GORIC(A) Values | using GORIC(A) Weights | Note | using Log-likelihood and Penalty Values

Last update: 2026-02-05
Started: 2026-02-05

Readme and manuals

Help Manual

Help pageTopics
Package for equality and inequality restricted estimation, model selection and hypothesis testingrestriktor-package
Reduction of aggression levels Dataset (4 treatment groups)AngerManagement
Benchmark Functions for GORIC(A) Analysisbenchmark benchmark_asymp benchmark_means plot.benchmark print.benchmark
Bootstrapping a Lavaan ModelbootstrapD print.conTestLavaan
Relation between the response variable PTSS and gender, age, TBSA, guilt and anger.Burns
Calculating IC weights based on IC values (AIC, ORIC, GORIC(A), BIC, SIC, ...)calculate_IC_weights calc_ICweights IC_weights print.goric_ICw
function for computing the chi-bar-square weights based on Monte Carlo simulation.con_weights_boot
Tests for iht with equality constraints onlyconTest_ceq conTest_ceq.conGLM conTest_ceq.conLM conTest_ceq.conRLM
function for computing all available hypothesis testsconTest_summary conTest_summary.restriktor iht_summary
one-sided t-test for ihtconTestC conTestC.restriktor
F-bar test for ihtconTestF conTestF.conGLM conTestF.conLM conTestF.conRLM
Likelihood-ratio-bar test for ihtconTestLRT conTestLRT.conGLM conTestLRT.conLM conTestLRT.conMLM
Score-bar test for ihtconTestScore conTestScore.conGLM conTestScore.conLM conTestScore.conRLM
Wald-bar test for robust ihtconTestWald conTestWald.conRLM
GORIC(A) Evidence synthesisevSyn evsyn evSyn_escalc evSyn_est evSyn_gorica evSyn_ICratios evSyn_ICvalues evSyn_ICweights evSyn_LL leave1studyout leave1studyout.default leave1studyout.evSyn plot.evSyn print.evSyn print.summary.evSyn summary.evSyn
Relation between exam scores and study hours, anxiety scores and average point scores.Exam
Dataset for illustrating the conTest_conLavaan function.FacialBurns
Generalized Order-Restricted Information Criterion (Approximation) Weightscoef.con_goric goric goric.CTmeta goric.default goric.effectlite goric.ELR goric.lavaan goric.lm goric.numeric goric.rma print.con_goric summary.con_goric
The Hurricanes DatasetHurricanes
function for informative hypothesis testing (iht)conTest contest conTestD contestD iht
Methods for ihtconTest-methods iht-methods print.conTest
Estimates and standard errors from four studies on past experience and buyer trustKuiper2012estimates
An example of IC valuesmyGORICs
An example of log-likelihood (LL) valuesmyLLs
An example of penalty (PT) valuesmyPTs
Estimating linear regression models with (in)equality restrictionsconGLM.glm conLM.lm conMLM.mlm conRLM.rlm restriktor
Methods for restriktorcoef.restriktor logLik.restriktor model.matrix.restriktor print.restriktor print.summary.restriktor restriktor-methods summary.restriktor
"Walking" in the newborn (4 treatment groups)ZelazoKolb1972