Package: lmerPerm 0.1.9
Wentao Zeng
lmerPerm: Perform Permutation Test on General Linear and Mixed Linear Regression
We provide a solution for performing permutation tests on linear and mixed linear regression models. It allows users to obtain accurate p-values without making distributional assumptions about the data. By generating a null distribution of the test statistics through repeated permutations of the response variable, permutation tests provide a powerful alternative to traditional parameter tests (Holt et al. (2023) <doi:10.1007/s10683-023-09799-6>). In this early version, we focus on the permutation tests over observed t values of beta coefficients, i.e.original t values generated by parameter tests. After generating a null distribution of the test statistic through repeated permutations of the response variable, each observed t values would be compared to the null distribution to generate a p-value. To improve the efficiency,a stop criterion (Anscombe (1953) <doi:10.1111/j.2517-6161.1953.tb00121.x>) is adopted to force permutation to stop if the estimated standard deviation of the value falls below a fraction of the estimated p-value. By doing so, we avoid the need for massive calculations in exact permutation methods while still generating stable and accurate p-values.
Authors:
lmerPerm_0.1.9.tar.gz
lmerPerm_0.1.9.tar.gz(r-4.5-noble)lmerPerm_0.1.9.tar.gz(r-4.4-noble)
lmerPerm_0.1.9.tgz(r-4.4-emscripten)lmerPerm_0.1.9.tgz(r-4.3-emscripten)
lmerPerm.pdf |lmerPerm.html✨
lmerPerm/json (API)
# Install 'lmerPerm' in R: |
install.packages('lmerPerm', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:7cb2b9e6ec. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-linux | OK | Oct 26 2024 |
Exports:lmerppermute_funs1s2
Dependencies:bootclicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclelme4lmerTestmagrittrMASSMatrixmgcvminqamunsellnlmenloptrnumDerivpillarpkgconfigR6RColorBrewerRcppRcppEigenrlangscalestibbleutf8vctrsviridisLitewithr