Multilevel data in brms distributional models with smooth terms (splines)

This short entry summarizes what I found (and learned) about using smooth terms (splines) within brms mixed-models fitted with the brms R-package and a zero-one-inflated beta family (zoib) and, about the importance of modelling sigma in these cases. The main reference to this entry was found in Estimating Distributional Models with brms (Paul Bürkner, 2023) …

Continue reading ‘Multilevel data in brms distributional models with smooth terms (splines)’ »

Install CmdStan for R in Windows

Assuming that Rtools is already installed, these are the steps to install cmdstanr from RStudio in Windows 10: install.packages(«devtools») devtools::install_github(«stan-dev/cmdstanr») library(cmdstanr) This is cmdstanr version 0.5.3 – CmdStanR documentation and vignettes: mc-stan.org/cmdstanr – CmdStan path: C:/Users/tonis/Documents/.cmdstan/cmdstan-2.30.0 – CmdStan version: 2.30.0 A newer version of CmdStan is available. See ?install_cmdstan() to install it. To disable this …

Continue reading ‘Install CmdStan for R in Windows’ »

DAGitty — draw and analyze causal diagrams

Visit this site to create causal diagrams online or in R. DAGitty is a browser-based environment for creating, editing, and analyzing causal diagrams (also known as directed acyclic graphs or causal Bayesian networks). The focus is on the use of causal diagrams for minimizing bias in empirical studies in epidemiology and other disciplines. For background …

Continue reading ‘DAGitty — draw and analyze causal diagrams’ »

Worth reading: A Critical Perspective on Effect Sizes (Quentin A., 2022)

Effect sizes (ES) are usually required by journal editors to help readers to better understand research outcomes. However, ES should be understood and, when reported, researcher must provide not only which ES metric is used (Hedge’s g, Cohen’s d, and the Glass Δ,  η2 and ηp2 …) but also additional information such as sample sizes and statistical …

Continue reading ‘Worth reading: A Critical Perspective on Effect Sizes (Quentin A., 2022)’ »