PinnedPublished inTowards DevMultinomial Logistic Regression in RNow we can generalize the binary classification tasks into multiple classes, and build a multinomial logistic regression (MLR) model. If…Sep 12, 2022Sep 12, 2022
PinnedPublished inTowards DevA Gentle Introduction to PurrrThe purrr package provides us a set of convenient functions (e.g., map, map_lgl, map_chr, map_int, and map_dbl) to manipulate each element…Oct 6, 2021Oct 6, 2021
Apple Silicon: R, VS code and QuartoThis blog post focuses on setting up Visual Studio Code (VS Code) for R programming on MacBooks with Apple Silicon chips (M1, M2, etc.). If…4d ago4d ago
Cholesky factors of covariance and correlation matrices in StanIn this blog, I would like to give a quick overview of different types of matrices and their transformations (e.g., Cholesky decomposition)…Apr 17, 2023A response icon1Apr 17, 2023A response icon1
Simulating and Modeling Statistical Distributions via bayes.jsI have been thinking about building a web app for simulating data with given parameters and recovering the parameters with Bayesian MCMC…Apr 3, 2023Apr 3, 2023
Published inTowards DevCheckpoints in stan via chkptstanrIn this blog, I will introduce a new R package chkptstanr, which allows checkpoints in stan. This feature is useful when you want to cache…May 5, 2022May 5, 2022
ANOVA vs LMER for discrete explanatory variables with stanIn this blog, we focus on understanding and comparing the generative processes of analysis of variance (ANOVA) vs. linear mixed effects…Apr 16, 2022Apr 16, 2022
Published inTowards DevNested or Splitted Structures in Data Simulation and InferenceThe development of dplyr and purrr packages makes the workflow of R programming more smooth and flexible. The dplyr package provides an…Apr 10, 2022Apr 10, 2022
Simulation-based linear mixed effect regression models with stanIn this blog, I will provide a step-by-step instruction of how we can generate data from a mixed effect model and recover the parameters of…Dec 26, 2021Dec 26, 2021