{"id":24906196,"url":"https://github.com/mightymetrika/mmibain","last_synced_at":"2025-07-06T08:34:41.374Z","repository":{"id":198905341,"uuid":"701773535","full_name":"mightymetrika/mmibain","owner":"mightymetrika","description":"Bayesian Informative Hypotheses Evaluation Web Applications","archived":false,"fork":false,"pushed_at":"2024-05-17T02:16:20.000Z","size":4830,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-23T03:04:33.845Z","etag":null,"topics":["bayes-factor","bayesian","hypothesis","informative","r","statistics"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mightymetrika.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-07T14:12:50.000Z","updated_at":"2024-05-17T02:16:23.000Z","dependencies_parsed_at":"2024-05-17T03:27:46.899Z","dependency_job_id":null,"html_url":"https://github.com/mightymetrika/mmibain","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.4358974358974359,"last_synced_commit":"5a0e7aa431b08ca4b4fdb8c146942ad25807f23c"},"previous_names":["mightymetrika/mmibain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mightymetrika%2Fmmibain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mightymetrika%2Fmmibain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mightymetrika%2Fmmibain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mightymetrika%2Fmmibain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mightymetrika","download_url":"https://codeload.github.com/mightymetrika/mmibain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245932329,"owners_count":20696037,"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":["bayes-factor","bayesian","hypothesis","informative","r","statistics"],"created_at":"2025-02-02T00:39:08.134Z","updated_at":"2025-03-27T22:22:11.737Z","avatar_url":"https://github.com/mightymetrika.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# mmibain\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe Mighty Metrika Interface to BAIN ('mmibain') R package provides Shiny apps to explore basic functionality of the ['bain'](https://informative-hypotheses.sites.uu.nl/software/bain/) package for BAyesian INformative Hypotheses Evaluation.\n\n## Installation\n\nYou can install the released version of 'mmibain' from [CRAN](https://CRAN.R-project.org):\n\n```{r eval=FALSE}\ninstall.packages(\"mmibain\")\n```\n\nYou can install the development version of 'mmibain' from [GitHub](https://github.com/) with:\n\n```{r eval=FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"mightymetrika/mmibain\")\n```\n\n\n## Play RepliCrisis\n\n'RepliCrisis' is a Shiny app game that simulates evalutating replication studies based on the framework presented in [Hoijtink, Mulder, van Lissa \u0026 Gu (2019)](https://doi.org/10.1037/met0000201). Follow these steps to play:\n\n* Set your sample size (for groups within study), difficulty, alpha level, and seed for reproducibility.\n* Define thresholds for the Bayes Factor and Posterior Model Probability to assess evidence in favor of the original study.\n* Conduct the original study to generate data and form a hypothesis.\n* Show diagnostics and descriptives to understand statistical results and hypotheses.\n* Conduct a replication study, using swap controls to match the original study's results.\n* Run replication analysis to evaluate the results against the original hypothesis.\n* Start a new game by conducting a new original study.\n\nTo play, load 'mmibain' and call the RepliCrisis() function:\n\n```{r eval=FALSE}\nlibrary(mmibain)\nRepliCrisis()\n```\n\n\n## mmibain Shiny App\n\nThe package also includes a Shiny app for running basic bain::bain() models:\n\n* Upload your data in CSV format.\n* Choose your modeling engine (lm, t_test, lavaan).\n* Input your model and any additional arguments.\n* Fit the model and input hypotheses for evaluation.\n* Adjust settings such as the fraction parameter, standardized regression coefficients, and confidence intervals.\n* Set a seed for reproducible results.\n* Run the Bayesian Informative Hypotheses Evaluation.\n\nLaunch the app with:\n\n```{r eval=FALSE}\nmmibain()\n```\n\n\n# References\nHoijtink, H., Mulder, J., van Lissa, C., \u0026 Gu, X. (2019). A tutorial on testing hypotheses using the Bayes factor. Psychological methods, 24(5), 539–556. https://doi.org/10.1037/met0000201\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightymetrika%2Fmmibain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmightymetrika%2Fmmibain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightymetrika%2Fmmibain/lists"}