Science Score: 20.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Last synced: 11 months ago
·
JSON representation
Repository
rai package for stepwise polynomial regression
Basic Info
- Host: GitHub
- Owner: korydjohnson
- Language: R
- Default Branch: master
- Size: 262 KB
Statistics
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 2
- Releases: 0
Created over 7 years ago
· Last pushed over 4 years ago
Metadata Files
Readme
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# rai
## Overview
rai provides a modified implementation of stepwise regression that greedily searches
the space of interactions among features in order to build polynomial regression models.
Furthermore, the hypothesis tests conducted are valid post model selection
due to the use of a revisiting procedure that implements an alpha-investing
rule. As a result, the set of rejected sequential hypotheses is proven to
control the marginal false discover rate. When not searching for polynomials,
the package provides a statistically valid algorithm
to run and terminate stepwise regression.
For more information, see the corresponding paper: [Revisiting Alpha-Investing: Conditionally Valid Stepwise Regression](https://arxiv.org/abs/1510.06322).
## Installation
You can install the released version of rai from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("rai")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("korydjohnson/rai")
```
## Usage
```{r example}
library(rai)
data("CO2")
theResponse = CO2$uptake
theData = CO2[ ,-5]
rai_out = rai(theData, theResponse)
```
The returned object includes a linear model object of the identified model:
```{r}
summary(rai_out$model)
```
You can view a summary of the series of tests conducted by rai and the results
of those tests by calling `summary` on the returned object:
```{r}
summary(rai_out)
```
Necessary functions are provided to use rai within a caret workflow:
```{r}
# fitControl <- caret::trainControl(method = "repeatedcv",
# number = 5, ## 5-fold CV...
# repeats = 5) ## repeated 5 times
# caret::train(x=theData, y=theResponse, method=rai_caret, trControl = fitControl)
```
Owner
- Name: Kory D. Johnson
- Login: korydjohnson
- Kind: user
- Repositories: 2
- Profile: https://github.com/korydjohnson
GitHub Events
Total
Last Year
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 28
- Total Committers: 2
- Avg Commits per committer: 14.0
- Development Distribution Score (DDS): 0.321
Top Committers
| Name | Commits | |
|---|---|---|
| Kory Johnson | k****n@g****m | 19 |
| Kory | k****n@w****t | 9 |
Committer Domains (Top 20 + Academic)
wu.ac.at: 1
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 5
- Total pull requests: 3
- Average time to close issues: 8 days
- Average time to close pull requests: less than a minute
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- 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
- korydjohnson (4)
- Freestyleyang (1)
Pull Request Authors
- korydjohnson (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 199 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: rai
Revisiting-Alpha-Investing for Polynomial Regression
- Homepage: https://github.com/korydjohnson/rai
- Documentation: http://cran.r-project.org/web/packages/rai/rai.pdf
- License: GPL-3
-
Latest release: 1.0.0
published about 7 years ago
Rankings
Forks count: 21.9%
Stargazers count: 26.2%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 38.1%
Downloads: 77.4%
Maintainers (1)
Last synced:
12 months ago
Dependencies
DESCRIPTION
cran
- dplyr * imports
- ggplot2 * imports
- readr * imports
- rlang * imports
- stats * imports
- testthat * suggests