Package: specr 1.0.1

Philipp K. Masur

specr: Conducting and Visualizing Specification Curve Analyses

Provides utilities for conducting specification curve analyses (Simonsohn, Simmons & Nelson (2020, <doi:10.1038/s41562-020-0912-z>) or multiverse analyses (Steegen, Tuerlinckx, Gelman & Vanpaemel, 2016, <doi:10.1177/1745691616658637>) including functions to setup, run, evaluate, and plot all specifications.

Authors:Philipp K. Masur [aut, cre], Michael Scharkow [aut]

specr_1.0.1.tar.gz
specr_1.0.1.zip(r-4.7)specr_1.0.1.zip(r-4.6)specr_1.0.1.zip(r-4.5)
specr_1.0.1.tgz(r-4.6-any)specr_1.0.1.tgz(r-4.5-any)
specr_1.0.1.tar.gz(r-4.7-any)specr_1.0.1.tar.gz(r-4.6-any)
specr_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
specr/json (API)

# Install 'specr' in R:
install.packages('specr', repos = c('https://masurp.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/masurp/specr/issues

Pkgdown/docs site:https://masurp.github.io

Datasets:

On CRAN:

Conda:

multiversespecification-curve

7.63 score 69 stars 137 scripts 304 downloads 1 mentions 17 exports 72 dependencies

Last updated from:500d470f77. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR240
source / vignettesOK302
linux-release-x86_64ERROR253
macos-release-arm64ERROR152
macos-oldrel-arm64ERROR159
windows-develERROR132
windows-releaseERROR138
windows-oldrelERROR134
wasm-releaseOK138

Exports:%>%as_tibbleboot_nullicc_specsplot_choicesplot_curveplot_decisiontreeplot_gridplot_samplesizesplot_specsplot_summaryplot_variancerun_specssetupsetup_specsspecrsummarise_specs

Dependencies:backportsbase64encbootbroomcachemclicodetoolscowplotcpp11digestdplyrfarverfastmapfurrrfuturegenericsggforceggplot2ggraphggrepelglobalsgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclelistenvlme4magrittrMASSMatrixmemoiseminqanlmenloptrparallellypillarpkgconfigpolyclippurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrsampleS7scalessliderstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewarpwithr

Incorporating Bayesian Statistics
Setting up custom functions | Estimating the models | Inspecting specific models | Plotting posterior distributions for all specifications

Last update: 2024-05-28
Started: 2023-01-17

Inference with specification curve analysis
Preparations | Loading packages and data | Creating a custom function to extract full model | Setup specifications | Run standard specification curve analysis | Refit the models under-the-null | Run bootstrap sampling procedure | Summarize findings | Plot inference curve | References

Last update: 2024-05-23
Started: 2024-05-22

Using parallelization
Simple parallelization without custom functions | Parallelization with custom functions from different packages

Last update: 2024-01-26
Started: 2023-01-16

Incorporating multilevel models
Simply adding a random effect structure | Defining customatized multilevel functions | Setting up specifications | Fit the models

Last update: 2023-01-20
Started: 2023-01-17

Setting up different types of specifications
Different independent and dependent variables | Simply providing different variable as vectors | Specific variable/model combinations | Adding composite and latent variables | Control variables | Adding a bunch of control variables | Sets of covariates | Dealing with duplicates in specifications | Subset analyses | Simple subset analysis based on grouping variables | More complex analysis using the subsets functionality

Last update: 2023-01-20
Started: 2023-01-16

An introduction to specr
Understanding the data | Defining analytical choices | Fit models across specifications | Investigating the specification curve | Visualizing results | Decomposing the variance in the specification curve

Last update: 2023-01-20
Started: 2023-01-17

Incorporating structural equation models
Preparations | Preparing the data set | Understanding lavaan syntax and output | Specification curve analysis with latent variables | Defining the customized sem model function | Run the specification curve analysis with additional parameters | Additional insights from "lavaan" objects

Last update: 2023-01-20
Started: 2023-01-17

Investigating specific specifications
Setup specifications with a specific extract function | Identify model(s) of interest | Investigate models | Some more examples

Last update: 2023-01-20
Started: 2023-01-16

Visualizing specification curve analyses
Specification curve analysis | Setting up specifications | Fitting the models | Investigating the results | Visualizations | Comprehensive standard visualization | More advanced customization | Plot curve and choices seperately | Include sample size histogram | Alternative way to visualize specification results

Last update: 2023-01-20
Started: 2019-12-13