{"id":23069536,"url":"https://github.com/tmsalab/rrum","last_synced_at":"2025-04-03T09:46:12.159Z","repository":{"id":145718956,"uuid":"105230322","full_name":"tmsalab/rrum","owner":"tmsalab","description":"The goal of rrum is to provide an implementation of Gibbs sampling algorithm  for Bayesian Estimation of reduced Reparametrized Unifed Model (rRUM), described by Culpepper and Hudson (2017) \u003cdoi: 10.1177/0146621617707511\u003e.","archived":false,"fork":false,"pushed_at":"2023-11-29T08:04:56.000Z","size":148,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T13:49:13.909Z","etag":null,"topics":["armadillo","cdm","cognitive-diagnostic-models","gibbs-sampling-algorithm","psychometrics","r","rcpparmadillo","rrum","rstats"],"latest_commit_sha":null,"homepage":"https://tmsalab.github.io/rrum","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmsalab.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-29T04:36:56.000Z","updated_at":"2023-11-29T03:19:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fa2afb2-5b97-46d6-adbd-fa41b51cd8ae","html_url":"https://github.com/tmsalab/rrum","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsalab%2Frrum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsalab%2Frrum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsalab%2Frrum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsalab%2Frrum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmsalab","download_url":"https://codeload.github.com/tmsalab/rrum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981136,"owners_count":20863825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["armadillo","cdm","cognitive-diagnostic-models","gibbs-sampling-algorithm","psychometrics","r","rcpparmadillo","rrum","rstats"],"created_at":"2024-12-16T06:15:52.729Z","updated_at":"2025-04-03T09:46:12.146Z","avatar_url":"https://github.com/tmsalab.png","language":"C++","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# rrum\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/tmsalab/rrum/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tmsalab/rrum/actions/workflows/R-CMD-check.yaml)\n[![Package-License](https://img.shields.io/badge/license-GPL%20(%3E=2)-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![CRAN Version Badge](https://www.r-pkg.org/badges/version/rrum)](https://cran.r-project.org/package=rrum)\n[![CRAN Status](https://badges.cranchecks.info/worst/rrum.svg)](https://cran.r-project.org/web/checks/check_results_rrum.html)\n[![RStudio CRAN Mirror's Monthly Downloads](https://cranlogs.r-pkg.org/badges/rrum?color=brightgreen)](https://www.r-pkg.org/pkg/rrum)\n[![RStudio CRAN Mirror's Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/rrum?color=brightgreen)](https://www.r-pkg.org/pkg/rrum)\n\u003c!-- badges: end --\u003e\n\nThe goal of `rrum` is to provide an implementation of Gibbs sampling algorithm \nfor Bayesian Estimation of **Reduced Reparameterized Unified Model (rrum)**,\ndescribed by Culpepper and Hudson (2017) \u003cdoi: 10.1177/0146621617707511\u003e.\n\n## Installation\n\nYou can install `rrum` from CRAN using:\n\n```{r}\n#| label: cran-installation\n#| eval: false\ninstall.packages(\"rrum\")\n```\n\nOr, you can be on the cutting-edge development version on GitHub using:\n\n```{r}\n#| label: gh-installation\n#| eval: false\n# install.packages('remotes')\nremotes::install_github(\"tmsalab/rrum\")\n```\n\n## Usage\n\nTo use `rrum`, load the package using:\n\n```{r}\n#| label: example\n#| eval: false\nlibrary(\"rrum\")\n```\n\nFrom here, the rRUM model can be estimated using:\n\n```{r}\n#| label: rrum-est\n#| eval: false\nrrum_model = rrum(\u003cdata\u003e, \u003cq\u003e)\n```\n\nAdditional parameters can be accessed with:\n\n```{r}\n#| label: rrum-est-adv\n#| eval: false\nrrum_model = rrum(\u003cdata\u003e, \u003cq\u003e, chain_length = 10000L,\n                  as = 1, bs = 1, ag = 1, bg = 1,\n                  delta0 = rep(1, 2^ncol(Q)))\n```\n\n`rRUM` item data can be simulated using:\n\n```{r}\n#| label: rrum-sim\n#| eval: false\n# Set a seed for reproducibility\nset.seed(888)\n\n# Setup Parameters\nN = 15   # Number of Examinees / Subjects\nJ = 10   # Number of Items\nK = 2    # Number of Skills / Attributes\n\n# Simulate identifiable Q matrix\nQ = sim_q_matrix(J, K)\n\n# Penalties for failing to have each of the required attributes\nrstar  = .5 * Q\n\n# The probabilities of answering each item correctly for individuals \n# who do not lack any required attribute\npistar = rep(.9, J)\n\n# Latent Class Probabilities\npis = c(.1, .2, .3, .4)\n\n# Generate latent attribute profile with custom probability (N subjects by K skills)\nsubject_alphas = sim_subject_attributes(N, K, prob = pis)\n\n# Simulate rrum items\nrrum_items = simcdm::sim_rrum_items(Q, rstar, pistar, subject_alphas)\n```\n\n## Authors\n\nSteven Andrew Culpepper, Aaron Hudson, and James Joseph Balamuta\n\n## Citing the `rrum` package\n\nTo ensure future development of the package, please cite `rrum`\npackage if used during an analysis or simulation study. Citation information\nfor the package may be acquired by using in *R*:\n\n```{r}\n#| label: citation\n#| eval: false\ncitation(\"rrum\")\n```\n\n## License\n\nGPL (\u003e= 2)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmsalab%2Frrum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmsalab%2Frrum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmsalab%2Frrum/lists"}