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’ »

Covid-19: Cuarentena día 3. Soporte y Feedback educativo a distancia

Durante esta cuarentena causada por la grave extensión de la pandemia #Covid-19 en España voy a recoger algunas ideas en este blog que últimamente tengo abandonado. Además de preparar tareas para mis alumnos, estar pendiente de sus dudas y asistir a una formación virtual con mis compañeros me estoy dedicando a descargar y analizar con …

Continue reading ‘Covid-19: Cuarentena día 3. Soporte y Feedback educativo a distancia’ »