Coder Social home page Coder Social logo

milanwiedemann / shinychange Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 239 KB

shinychange: An Interactive Tutorial on Latent Change Score Modeling in R

Home Page: https://milanwiedemann.shinyapps.io/shinychange/

R 100.00%
latent-change-score-modeling latent-difference-score-modeling lcsm lavaan-syntax structural-equation-modeling r-package shiny

shinychange's Introduction

shinychange: An Interactive Tutorial on Latent Change Score Modeling in R

The main aim of this interavtive tutorial is to show how different univariate and bivariate latent change score models (lcsm) can be implemented in R using lavaan syntax (Rosseel, 2012).

At the moment it is possible to:

  • Generate lavaan Syntax for different model specifications and varying time points
  • Simulate Data to explore the effect of different parameters
  • Fit Models using example datasets
  • Create Longitudinal Plots and simplified Path Diagrams to visualise data and model specifications

I started working on this project to better understand how latent change score modeling works. The underlying functions of this shiny application come from the lcsm R package that I created to make it easier to write lavaan syntax for different models. The lcsm package combines the strengths of other R packages like lavaan, broom, and semPlot by generating lavaan syntax that helps these packages work together.

This is work in progress and feedback is very welcome. The code of the R package lcsm and this shiny application can be found on GitHub. Please send me your thoughts on Twitter, GitHub, or by email.

Installation of the R Package lcsm

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("milanwiedemann/lcsm")

Related Work

For details about this methods see for example McArdle (2009), Grimm et al. (2012), or Usami et al. (2019).

Examples illustrating how to implement different latent change score models in R can be found for example in: Ghisletta & McArdle (2012), Grimm, Ram & Estabrook (2017), Kievit et al., (2018) including a shiny interface, and Jacobucci et al. (2019).

Online tutorials from the Quantitative Developmental Systems Methodology Core by Xiao Yang and Miriam Brinberg show examples how to specify lavaan syntax for univariate and bivariate latent change score models described in Grimm, Ram & Estabrook (2017).

shinychange's People

Contributors

milanwiedemann avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

guhjy

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.