Git Product home page Git Product logo

modelbpp's Introduction

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. ๐Ÿ™๐Ÿ™‚

modelbpp's People

Contributors

sfcheung avatar

Watchers

 avatar

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.