PinnedJake JinginTowards 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

PinnedJake JinginTowards 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

Jake JingCholesky 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, 2023Apr 17, 2023

Jake JingSimulating 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

Jake JinginTowards 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

Jake JingANOVA 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

Jake JinginTowards 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

Jake JingSimulation-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

Jake JingLKJ correlation distribution in StanLewandowski-Kurowicka-Joe (LKJ) distribution is a very useful prior distribution for parameter estimation in correlation matrices, and is…Aug 10, 2021Aug 10, 2021