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…·6 min read·Sep 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…·4 min read·Oct 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)…·3 min read·Apr 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…·2 min read·Apr 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…·3 min read·May 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…·6 min read·Apr 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…·5 min read·Apr 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…·5 min read·Dec 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…·3 min read·Aug 10, 2021----