Giter Club home page Giter Club logo

About Me

I am Shu Fai. I like helping people, me included, to do analysis in psychological studies. These are the R packages and other tools I am working on:

Structural Equation Modelling (SEM)

manymome: Moderation (mo), mediation (me), and moderated mediation (mome) in "many" models. In colaboration with S.-H. Cheung (Cheung & Cheung, 2023). Our goals: Do things fast and do them right. This package is for computing indirect effects and conditional indirect effects fast and easily, with as little coding as possible. (A quick introduction)

semlbci: Likelihood-based confidence interval (lbci) in sem. LBCI is a useful but underused method to form CI in SEM. I hope more researchers can use this method (Cheung & Pesigan, 2023). (Get started)

semfindr: A finder (hence findr) for finding influential cases in an SEM analysis, in collaboration with Mark H. C. Lai. We should always see if there are any influential cases in SEM but this is not easy, even for me as I have projects with large samples with missing data. We hope this package, with efficiency and easiness-to-use in mind, can help more researchers to do this. (No, outliers are not necessarily influential cases, and influential cases are not necessarily outiers. Checking for outliers is not enough.) (How to use it)

semptools: Helpers for customizing an SEM figure generated by semPlot::semPaths(), in collaboration with Mark H. C. Lai. It helped me a lot to generate publication-ready and teaching-ready SEM figures quickly. (A quick start guide)

semhelpinghands: Helper functions I wrote to help myself to do some common tasks in SEM efficiently. See this page for an overview.

Multiple Regression

stdmod: Started out as a package for doing standardized moderation right (many did it wrong) in linear regression but now a tool for doing standardization right in linear regression, including moderated regression (Cheung, Cheung, Lau, Hui, & Vong, 2022). The usual method for confidence intervals is wrong and I hope this package (among others) can help people to form better CIs. it supports bootstrap confidence intervals. Illustrations can be found here for moderated regression and here for a regression model with categorical predictors.

manymome: Again? Yes, because it can also be used for regression models 😄! Moderation (mo), mediation (me), and moderated mediation (mome) in "many" regression models, fitted by several one-outcome regression models using lm(). In colaboration with S.-H. Cheung (Cheung & Cheung, 2023). Our goal: Do things fast, and do them right. This package is for computing indirect effects and conditional indirect effects fast and easy, with as little coding as possible. Illustrations can be found in this page for mediation and this page for moderated mediation.

SPSS

DIY Bootstrapping in SPSS: For forming nonparametric bootstrap confidence intervals for literally anything we can see in the SPSS output (Cheung, Pesigan, & Vong, 2023). Flexibility comes at a cost ... some coding is inevitable. But I meant it: Anything we can see, including standardized regression coefficients ("betas") and adjusted R-squares, reliability coefficients, and many other statistics. Video demonstration can be found here.

Hope you find the tools useful. (I certainly do find the tools useful because I usually develop tools that I myself also want to use in my research. 😊)

I would love to see bug reports and suggestions. Feel free to raise them in the corresponding GitHub issues pages. Thanks. 🙏🙂

Shu Fai Cheung's Projects

betaselectr icon betaselectr

Do selective standardization in structural equation models and regression models

blavaan icon blavaan

An R package for Bayesian structural equation modeling

boot icon boot

:exclamation: This is a read-only mirror of the CRAN R package repository. boot — Bootstrap Functions (Originally by Angelo Canty for S)

bootnet icon bootnet

Bootstrap methods for various network estimation routines

car icon car

:exclamation: This is a read-only mirror of the CRAN R package repository. car — Companion to Applied Regression. Homepage: https://r-forge.r-project.org/projects/car/, https://CRAN.R-project.org/package=car, https://socialsciences.mcmaster.ca/jfox/Books/Companion/index.html

diybootstat icon diybootstat

Extension commands and examples for DIY bootstrapping in SPSS

jmvmed icon jmvmed

A jamovi module for testing the indirect effect in a simple mediation model

lavaan icon lavaan

an R package for structural equation modeling and more

lme4 icon lme4

Mixed-effects models in R using S4 classes and methods with RcppEigen

lmhelprs icon lmhelprs

A collection of helper functions for some common tasks in fitting linear models, mainly by lm().

lstatdemo icon lstatdemo

Demonstrations, usually shiny apps, for learning statistics

manymome icon manymome

Moderation, mediation, and moderated mediation in structural equation modeling and multiple regression

mirt icon mirt

Multidimensional item response theory

openmx icon openmx

Repository for the OpenMx Structural Equation Modeling package

out2text icon out2text

Extract outputs from some common analyses and convert them to text outputs

pythonstylesf icon pythonstylesf

My (SF) own coding style for Python, to help me collaborate with past-me and future-me

qgraph icon qgraph

Developmental version of qgraph

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.