bf-defprit
Supplementary material for "Translating priors from linear mixed models to repeated-measures ANOVA and paired t-tests"
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Last synced: 7 months ago
·
JSON representation
·
Repository
Supplementary material for "Translating priors from linear mixed models to repeated-measures ANOVA and paired t-tests"
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 3 years ago
· Last pushed over 3 years ago
Metadata Files
Readme
License
Citation
README.Rmd
---
output: github_document
---
```{r include = FALSE}
library("targets")
```
# Translating priors from linear mixed models to repeated-measures ANOVA and paired *t* tests
**Frederik Aust, Johnny van Doorn & Julia M. Haaf**
This repository contains research products associated with the publication.
We provide a Dockerfile, R scripts, and a Quarto document to reproduce the reported simulations.
The Quarto document in the `reports` directory and the `_targets_*.R` scripts contain details about reported simulations and can be used to reproduce the results.
With the help of [Quarto](https://quarto.org/) the `.qmd`-file can be rendered into a report of the simulation results in HTML format.
View the report of the simulation results [here](https://htmlpreview.github.io/?https://github.com/crsh/bf-defprit/blob/main/report/prior_translation.html).
## Recommended citation
Aust, F., van Doorn, J., & Haaf, J. M. (2022). Translating priors from linear mixed models to repeated-measures ANOVA and paired *t* tests. *PsyArXiv*. https://doi.org/10.31234/osf.io/by2d9
## Software requirements
The required software is detailed in the `DESCRIPTION` file.
To run the Docker container, execute `_run_docker.sh`, e.g. `sh _run_docker.sh` in the terminal.
This will recreate the software environment used to run the simulation.
The environment can be interacted with in an RStudio instance in a web browser that will open automatically.
## `targets` pipelines
The simulations were run using reproducible pipelines defined with the `targets` package.
To run the pipeline execute `_make.sh`, e.g. `sh _make.sh` in the terminal.
This project contains three separate but interdependent pipelines
### Partial aggregation simulation
```{r echo = FALSE, results = "asis"}
cat("```mermaid\n")
targets::tar_mermaid(
script = "_targets_partial_aggregation.R"
, store = "_targets_partial_aggregation"
, reporter = "silent"
) |>
cat(sep = "\n")
cat("\n```")
```
### Full aggregation simulation
```{r echo = FALSE, results = "asis"}
cat("```mermaid\n")
targets::tar_mermaid(
script = "_targets_full_aggregation.R"
, store = "_targets_full_aggregation"
, reporter = "silent"
) |>
cat(sep = "\n")
cat("\n```")
```
### Report
```{r echo = FALSE, results = "asis"}
cat("```mermaid\n")
targets::tar_mermaid(
script = "_targets_report.R"
, store = "_targets_report"
) |>
cat(sep = "\n")
cat("\n```")
```
## Simulation data
The `_targets*/objects` directories contain all (intermediary) simulation results in `RDS`-format, which can be readily imported into R using `targets::tar_load()` or `loadRDS()`.
Owner
- Name: Frederik Aust
- Login: crsh
- Kind: user
- Location: Cologne, Germany
- Company: Psychological Methods, University of Amsterdam
- Website: https://frederikaust.com/
- Twitter: FrederikAust
- Repositories: 18
- Profile: https://github.com/crsh
Citation (CITATION)
citHeader("To cite bf-defprit in publications use:")
citEntry(
entry = "Article",
title = {Bayes Factors for Mixed Models: Perspective on Responses},
author = {{van Doorn}, Johnny and Aust, Frederik and Haaf, Julia M. and Stefan, Angelika M. and Wagenmakers, Eric-Jan},
journal = {Computational Brain & Behavior},
year = {2022},
volume = ,
number = ,
pages = ,
url = ,
doi = ,
)
GitHub Events
Total
Last Year
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Frederik Aust | f****t@u****e | 14 |
Committer Domains (Top 20 + Academic)
uni-koeln.de: 1
Issues and Pull Requests
Last synced: 9 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
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- BayesFactor >= 0.9.12 imports
- broom >= 0.7.12 imports
- dplyr >= 1.0.8 imports
- future >= 1.21.0 imports
- ggh4x >= 0.2.2 imports
- ggplot2 >= 3.3.5 imports
- mvtnorm >= 1.1 imports
- papaja >= 0.1.1 imports
- patchwork >= 1.1.1 imports
- quarto >= 1.1 imports
- rlang >= 1.0.2 imports
- scales >= 1.1.1 imports
- spelling >= 2.2 imports
- tarchetypes >= 0.7.1 imports
- targets >= 0.13.4 imports
- tibble >= 3.1.6 imports
- tidyr >= 1.2.0 imports
- viridis >= 0.6.1 imports
- testthat >= 3.0.0 suggests
Dockerfile
docker
- ${BASE_NAME} latest build
- rocker/rstudio ${R_RELEASE} build