FAQ/gam - CBU statistics Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Type the missing letters from: He's no ded, he's jus resing hs eys

Revision 4 as of 2014-04-08 11:27:18

location: FAQ / gam

Generalized Additive (Mixed) Models (GAM(M)) - an overview

GAMs or GAMMs are used to fit and plot a combination of time varying functions such as polynomials to responses. More than one function can be used in the same model of a response with one function fitted to the response over one time period and another function used over another time period with the functions possibly linked at a single time point, known as a knot.

They can include interaction terms to compare curves across different groups (e.g. males and females) with R^2 used as a means of assessing the degree of fit (interpreted as in linear regression). GAMs and GAMMs can be fitted in R using the mgcv procedure. McKeown and Sneddon (2014) describe and illustrate the use of GAMs and GAMMs with accompanying R code using the mgcv procedure presented in the appendix to the paper.

Reference

McKeown GJ and Sneddon I (2014) Modeling Continuous Self-Report Measures of Perceived Emotion Using Generalized Additive Mixed Models. Psychological Methods 19(1), 155-174.