Giter Club home page Giter Club logo

ms-cfa-lipids's Introduction

ms-cfa-lipids

Confirmatory factor analysis (CFA) of multivariate lipid distributions across time and race-ethnic groups: United States, 2003-2012

CFA analyses in Mplus

  1. Run mplus-results.Rmd in R

    • Prior to running this program run export-mplus.R to get data in Mplus format using MplusAutomation R package.
      • Prior to running this program, get NHANES data in the read-data.R program, which pulls NHANES data off of the web.
    • Use templates with MplusAutomation package (createModels function) to make a batch of scripts to run each of the four models by year, race and sex groups.
    • Run models in Mplus using MplusAutomation in batch mode in virtuallab.unc.edu.
      • Log into virtual.lab.unc.edu
      • Open Mplus
      • Open Windows File Explorer
        • Type in %userprofile% to get to folder Mplus access on the remote site
          • Note: I had to contact support on 9/23/2016. A special version of R on virtuallab was set up for me to be able to call Mplus in virtuallab.
        • Open new file explorer and open local folder specified in Template for model 1, currently 'C:/temp/models2'.
        • Transfer .inp files from c:/temp/models2/ local folder to remote folder so can run MPlus program in virtuallab.unc.edu
      • Open R in virtuallab.unc.edu and run run-models.R. This will run all the Mplus programs one after another.
      • Got to remote folder and transfer the .out files to the local folder to save the Mplus output.
    • Take Mplus output and read in all output using extractModelParameters and extractModelSummaries functions in MplusAutomation in the mplus-results.Rmd program.
    • Make tables in R with the Mplus results now in R data frame formats.
  2. Create poster and e-poster (really slides) file

ms-cfa-lipids's People

Contributors

avonholle 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.