Science Score: 10.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
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: umich-cphds
  • Language: C++
  • Default Branch: master
  • Size: 3.09 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 6 years ago · Last pushed over 4 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures"
)
```

# R package `gigg`

# Group Inverse-Gamma Gamma Shrinkage for Sparse Regression with Grouping Structure

`r badger::badge_devel("umich-cphds/gigg", "blue")` `r badger::badge_code_size("umich-cphds/gigg")`

## Overview

This package implements a Gibbs sampler corresponding to a Group 
Inverse-Gamma Gamma (GIGG) regression model with adjustment covariates. 
Hyperparameters in the GIGG prior specification can either be fixed by the 
user or can be estimated via Marginal Maximum Likelihood Estimation.

## Installation

If the devtools package is not yet installed, install it first:

```{r, eval=FALSE}
install.packages('devtools')
```

```{r, eval = FALSE}
# install the package from Github:
devtools::install_github('umich-cphds/gigg') 
```

Once installed, load the package:

```{r, eval = FALSE}
library(gigg)
```

## Examples

GIGG regression Gibbs sampler with fixed hyperparameters:

```{r, eval = FALSE}
X = concentrated$X
C = concentrated$C
Y = as.vector(concentrated$Y)
grp_idx = concentrated$grps

gf = gigg(X, C, Y, method = "fixed", grp_idx, n_burn_in = 500, n_samples = 1000, 
          n_thin = 1, verbose = TRUE, btrick = FALSE, stable_solve = TRUE)
```

GIGG regression Gibbs sampler with hyperparameter estimation via Marginal Maximum Likelihood Estimation:

```{r, eval = FALSE}
X = concentrated$X
C = concentrated$C
Y = as.vector(concentrated$Y)
grp_idx = concentrated$grps

gf_mmle = gigg(X, C, Y, method = "mmle", grp_idx, n_burn_in = 500, 
               n_samples = 1000, n_thin = 1, verbose = TRUE, btrick = FALSE, 
               stable_solve = TRUE)
```

### Current Suggested Citation

Boss, J., Datta, J., Wang, X., Park, S.K., Kang, J., & Mukherjee, B. 
(2021). Group Inverse-Gamma Gamma Shrinkage for Sparse Regression with Block-Correlated Predictors. 
arXiv preprint arXiv:2102.10670.

Owner

  • Name: Center for Precision Health Data Science
  • Login: umich-cphds
  • Kind: organization

University of Michigan Center for Precision Health Data Science

GitHub Events

Total
Last Year

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 21
  • Total Committers: 4
  • Avg Commits per committer: 5.25
  • Development Distribution Score (DDS): 0.286
Top Committers
Name Email Commits
Michael (Mike) Kleinsasser 3****a@u****m 15
Mike Kleinsasser m****a@u****u 3
Michael Kleinsasser mk@0****t 2
Alexander Rix a****x@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total 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
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
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 223 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: gigg

Group Inverse-Gamma Gamma Shrinkage for Sparse Regression with Grouping Structure

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 223 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Average: 42.7%
Downloads: 84.1%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • Rcpp * imports