https://github.com/bonstats/gcreg
General Constraint Regression Models
Science Score: 26.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.8%) to scientific vocabulary
Keywords
Repository
General Constraint Regression Models
Basic Info
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
gcreg: General Constraint Regression models in R
This package is currently being developed. It's aim is to provide methods for fitting regression models with: * Functional and shape constraints, e.g. monotonicity * Parameter inequality constraints * Joint constraints, e.g. combinations of the above * Other constraints that create closed and convex parameter spaces
The paper accompanying this package is available here.
The current focus of development is on monotonicity in polynomial fixed and mixed effects models but will be extended over time to more general models and constraints.
To get started, install this package from GitHub using the devtools package:
r
devtools::install_github("bonStats/gcreg")
library(gcreg)
To install with vignettes you will need to install some required packages and set build_vignettes = T:
r
install.packages(c("rmarkdown","ggplot2","fda"))
devtools::install_github("bonStats/gcreg", build_vignettes = T)
library(gcreg)
You can start fitting constrained polynomial models with the gcreg::cpm() function. For example
r
library(fda)
data(onechild)
cpm(height~day, data = onechild, degree = 5, constraint = "monotone", c_region = c(1,312))
See the package vignettes for more examples:
* Fixed effects constrained polynomial models (Updated: 2017-12-01)
* Mixed effects monotone-constrained polynomial models (Updated: 2017-12-01)
Owner
- Name: Joshua Bon
- Login: bonStats
- Kind: user
- Location: Meanjin / Brisbane
- Company: Queensland University of Technology
- Website: https://bonstats.github.io/
- Repositories: 3
- Profile: https://github.com/bonStats
Research statistician. Computation and a lot of dabbling. Centre for Data Science, Queensland University of Technology
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 6
- Total pull requests: 0
- Average time to close issues: 22 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.33
- Average comments per pull request: 0
- Merged pull requests: 0
- 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
- bonStats (4)
- c-bharat (2)