Reader small image

You're reading from  R Statistics Cookbook

Product typeBook
Published inMar 2019
Reading LevelExpert
PublisherPackt
ISBN-139781789802566
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Francisco Juretig
Francisco Juretig
author image
Francisco Juretig

Francisco Juretig has worked for over a decade in a variety of industries such as retail, gambling and finance deploying data-science solutions. He has written several R packages, and is a frequent contributor to the open source community.
Read more about Francisco Juretig

Right arrow

Repeated measures

Repeated measures designs contain several measurements for the same experimental unit. This generally occurs when we assign different doses of a treatment to a unit and want to evaluate the response through time.

We now have a fixed effect for time, which is typically coded as 1,2,3..,k that needs to be added. We would expect that this variable/effect will have an impact on the response.

These designs raise four major points, and we need to decide how to solve them:

  • Do we think that time has the same impact for all of the experimental units? We have two options for this:
    • If yes, we will just add the time variable as a fixed effect.
    • If no, we will still add the time variable as a fixed effect, plus a random effect for time by subject. What this means is that the time effect can be obtained as the sum of the fixed effect (average for all units) plus the random...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
R Statistics Cookbook
Published in: Mar 2019Publisher: PacktISBN-13: 9781789802566

Author (1)

author image
Francisco Juretig

Francisco Juretig has worked for over a decade in a variety of industries such as retail, gambling and finance deploying data-science solutions. He has written several R packages, and is a frequent contributor to the open source community.
Read more about Francisco Juretig