ordPens
ordPens: An R package for Selection, Smoothing and Principal Components Analysis for Ordinal Variables - Published in JOSS (2021)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Scientific Fields
Economics
Social Sciences -
40% confidence
Engineering
Computer Science -
40% confidence
Last synced: 4 months ago
·
JSON representation
Repository
Ordinal PCA, Selection and/or Smoothing of Ordinal Predictors
Basic Info
- Host: GitHub
- Owner: ahoshiyar
- License: gpl-2.0
- Language: HTML
- Default Branch: master
- Size: 3.35 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 2
Created over 5 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# `ordPens`: Selection and/or Smoothing and Principal Components Analysis for Ordinal Variables
We provide selection, and/or smoothing/fusion of ordinally scaled independent variables using a group lasso or generalized ridge penalty. In addition, nonlinear principal components analysis for ordinal variables is offered, using a second-order difference penalty.
Also, ANOVA with ordered factors is provided by the function `ordAOV`; testing for differentially expressed genes can be done using `ordGene`. For details cf. Gertheiss (2014) and Sweeney et al. (2015), respectively.
For smoothing, selection and fusion, details may be found in Tutz and Gertheiss (2014, 2016).
All functions are documented in detail in `vignette("ordPens", package = "ordPens")`. For smoothing only, the package also builds a bridge to `mgcv::gam()`, see Gertheiss et al. (2022) for further information.
For the function implementing nonlinear principal components analysis, `ordPCA`, details can be found in Hoshiyar et al. (2021) and `vignette("ordPCA", package = "ordPens")`.
Version 1.1.0 is a minor release with new functions:
* Functions `ordSelect`, `ordFusion` updated/extended to cumulative
logit model models.
* Function `ordCV` added, provides cross-validation for penalized
regression models with ordinal predictors.
* Function `StabilityCumu` added, provides stability selection for
penalized cumulative logit models.
Version 1.0.0 is a major release with new functions:
* `ordPCA` applies nonlinear principal components analysis for ordinal variables.
Also, performance evaluation and selection of an optimal penalty parameter provided.
* `ordFusion` fits dummy coefficients of ordinally scaled independent variables with a fused lasso penalty for fusion and selection.
* A new type of spline basis for ordered factors `s(..., bs = "ordinal")`is provided, such that smooth terms in the `mgcv::gam()` formula can be used as an alternative and extension to `ordSmooth()`. Additionally, generic functions for prediction and plotting are provided.
## Installation & getting started
For standard use, install `ordPens` from [CRAN](https://cran.r-project.org/package=ordPens):
```{r CRAN-install, eval=FALSE}
install.packages("ordPens")
```
The development version of the package may be installed from GitHub:
```{r git-install, eval=FALSE}
devtools::install_git("https://github.com/ahoshiyar/ordPens", build_vignettes = TRUE)
```
For a detailed overview about the functionalities and given examples type:
```{r vignettes, eval=FALSE}
library(ordPens)
vignette("ordPens", package = "ordPens")
vignette("ordPCA", package = "ordPens")
```
## Issues
If you encounter any bugs or have any specific feature requests, please [file an issue](https://github.com/ahoshiyar/ordPens/issues).
## Contributions & Code of conduct
Contributions are very welcome. Interested contributors should consult the
[contribution
guidelines](https://github.com/ahoshiyar/ordPens/blob/master/Contributing.md)
prior to submitting a pull request.
Please note that the `ordPens` package is released with a [Contributor Code of Conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct/). By contributing to this project, you agree to abide by its terms.
## References
* Gertheiss, J. (2014). ANOVA for factors with ordered levels. *Journal of Agricultural, Biological and Environmental Statistics 19*, 258-277.
* Gertheiss, J., F. Scheipl, T. Lauer, and H. Ehrhardt (2022). Statistical inference for ordinal predictors in generalized linear and additive models with application to bronchopulmonary dysplasia. *BMC research notes 15*, 112.
* Hoshiyar, A., H.A.L. Kiers, and J. Gertheiss (2021). Penalized non-linear principal components analysis for ordinal variables with an application to international classification of functioning core sets. *British Journal of Mathematical and Statistical Psychology 76*, 353-371.
* Hoshiyar, A., Gertheiss, L.H., and Gertheiss, J. (2023). Regularization and model selection for item-on-items regression with applications to food products' survey data. Preprint, available from https://arxiv.org/abs/2309.16373.
* Sweeney, E., C. Crainiceanu, and J. Gertheiss (2015). Testing differentially expressed genes in dose-response studies and with ordinal phenotypes. *Statistical Applications in Genetics and Molecular Biology 15*, 213-235.
* Tutz, G. and J. Gertheiss (2014). Rating scales as predictors – the old question of scale level and some answers. *Psychometrica 79*, 357-376.
* Tutz, G. and J. Gertheiss (2016). Regularized regression for categorical data. *Statistical Modelling 16*, 161-200.
JOSS Publication
ordPens: An R package for Selection, Smoothing and Principal Components Analysis for Ordinal Variables
Published
December 06, 2021
Volume 6, Issue 68, Page 3828
Authors
Tags
smoothing ordinal ANOVA Nonlinear Principal Components Analysis fusion lassoGitHub Events
Total
Last Year
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| ahoshiyar | 4****r | 111 |
| Øystein Sørensen | o****n@h****m | 1 |
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 13
- Total pull requests: 2
- Average time to close issues: 10 days
- Average time to close pull requests: 11 minutes
- Total issue authors: 4
- Total pull request authors: 2
- Average comments per issue: 1.69
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- osorensen (5)
- mingzehuang (4)
- FranjoIM (3)
- fartist (1)
Pull Request Authors
- osorensen (1)
- ahoshiyar (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
DESCRIPTION
cran
- RLRsim * depends
- glmpath * depends
- grplasso * depends
- mgcv * depends
- quadprog * depends
- knitr * suggests
- psy * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
