2025

Psychometric Networks: Community = Clustering?
A friend of mine recently asked me one question about network community: in her recent research, a network without community defined has different estimation with the one…
2024

Sum Score, Factor Score, and Reliability
Network psychometrics has become an alternative approach to factor analysis and item response theory in multiple fields of psychology and education, such as psychopathology…
2023

Data Visualization Using `survey` Package: Survey Data
Many tutorials online are about general data visualization. This post aims to showcase some tricks for survey data
A tutorial for forester R package
As contributors of the R package said in their github website:
Since June 25, 2023, I start to move my website from hugo/rmarkdown/blogdown/wowchemy to quarto website. It is difficult to explain why I spend so much time on that. Perhaps…
A Conversation between R and Python on Data Analysis and Machine Learning
When I play with machine learning using python and R, I keep wondering whether I can combine R and Python code in a better way, such as using R for data…
Latent Class Model: Batch Mplus using R on Mac
Mplus is a very popular program for varied latent varaible modeling: (1) Structural equation modeling (2) multilevel analysis (3) mixture modeling (latent class model). R…
2022
NSF Grant on Bayesian Cognitive Diagnosis
The NSF grant awards can be easily searched via NSF website. Check Active Awards
and type “Bayesian & Cognitive Diagnosis” into the search box. Two things I’m really…
Web Scraping Academia Institute's Grant Fundings using R
How to use R for web scrapping
Power Analysis for Structural Equation Modeling
Showcase current software used for power analysis of Structural Equation Modeling
[Workshop] Creating Academic Blog via R
Michael Clark has a great workshop in his blog introducing distill package. I suggest readers check it out first.
2021
Gradient Descent Algorithm via julia
32 rows × 12 columns (omitted printing of 4 columns)
Health Care Data Analysis with Apple Watch
The data contained within Health app on iPhone can be saved and exported for other uses. Perhaps you want to export Health app data to use in another health or fitness app…
Posterior Predictive Model Checking (PPMC) is frequently used for model fit evaluation in Bayesian Confirmatory Factor Analysis (BCFA). In standard PPMC procedures, model…
2019
Introduction to Latent Attribute Network Analysis
Network analysis is a very useful tool. This post show how to visualize the latent attribute network in Diagnostic Classification Modeling(DCM). There are a ton of R package…
Which Country own the most Liberty Nobel Prizes? France? Ireland?
It is of my interest to use ggplot
package to visualize some fun data. In this post, I tried to play with a Nobel Prizes Data including countries, prize year, each prize.…
Recently I found a interesting R package call nessy which allows you to create a simple game driven by shiny. Thus. I tried a little bit about this package. Making a…
Introduce gganimate for Psychometric
A new R packge (gganimate
) provides some new features for animation in R. Its big advantage is it could make use of ggplot API and embeded into ggplot. Next, I will use a…
Lasso Regression Example using glmnet package in R
More details please refer to the link below: (https://web.stanford.edu/~hastie/glmnet/glmnet_alpha.html#lin)
Visuliaztion of Item Information Curves In R
This blog is to show a new way to display item information curves using ggridges
package. The ridge plot could show the IIF plots very clear when you have a large number of…
2018
Brief Introducation to JAGS and R2jags in R
This post is aimed to introduce the basics of using jags in R programming. Jags is a frequently used program for conducting Bayesian statistics.Most of information below is…
Introduce Descrepancy Measures
This Blog is the notes for my recent project about reliability and model checking. Next I want to organize a little about one important concept in model checking -…
This blog is trying to elaborate steps for cleaning the data. Since datasets varied, this blog could not cover all. Depedent on the data you’re using, different methods…
2017
Latent Profile Analysis using MCLUST (in R)
Hi there! This is Jihong. This is a webpage folked from JOSHUA M. ROSENBERG. It aims to provid a very clear example about how to conduct Latent Profile Analysis using MCLUST…
Recently, I was asked by my friend why should we use Measurement Invariance in real research. Why not just ignore this complex and tedious process? As far I’m concerned…
Simulation Study of Linking Using Mirt
This simulation study is to show how to do IRT Linking Process using mirt R Package. The simulation data includes 2 forms - Form A and Form B. These 2 forms are simulated…
How to use lavaan package to perform Confirmatory Factor Analysis
This is one of my homework in Structural Equation Modeling in Fall 2017. Dr. Templin provided a excelent example showing how to perform Confirmatory Factor Analysis (CFA)…