Giter Club home page Giter Club logo

session9's Introduction

Actions Status

Session 9: Repeated Measures and Longitudinal Data Analysis I

Lecture

Learning Objectives

  1. Identify and define hierarchical and longitudinal data
  2. Analyze correlated data using Analysis of Variance
  3. Define and calculate Intraclass Correlation
  4. Identify and define random and fixed effects

Textbook sections:

  • Vittinghoff sections 7.1 (7.2-7.3 next class)

Outline

  1. Introduction to hierarchical and longitudinal data
  2. Fecal Fat example
  3. Correlations within subjects (ICC)
  4. Random and fixed effects

Lab

Learning Objectives

  1. Create and interpret a notched barplot
  2. Create spaghetti / line plots for grouped data
  3. Use pivot_wider to create a wide-format dataframe
  4. Do a manual ICC calculation
  5. Write a function
  6. Perform a permutation simulation

Exercises

  1. Read the fecal fat dataset and convert pilltype and subject to factors
  2. Create a notched boxplot of the data.
  3. Interpret the notches. What is wrong with the usual interpretation in this example?
  4. Subtract subject means from the fecal fat data, manually and using residuals of a one-way AOV
  5. Make line plots for each subject, with and without subject mean centering
  6. Convert to a wide-format dataset and remove the subject column
  7. Write a function to calculate subject and residual variance and ICC of this dataset as a vector
  8. Create a simulated dataset where subjects are randomized for each treatment
  9. compare ICC for your original and simulated dataset
  10. Repeat the simulation 999 times, and compare to your original dataset

session9's People

Contributors

lwaldron avatar

Watchers

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