A SAS macro for modelling periodic data using cosinor analysis. (September 2021)
- Record Type:
- Journal Article
- Title:
- A SAS macro for modelling periodic data using cosinor analysis. (September 2021)
- Main Title:
- A SAS macro for modelling periodic data using cosinor analysis
- Authors:
- Doyle, Margaret M.
Murphy, Terrence E.
Pisani, Margaret A.
Yaggi, Henry K.
Jeon, Sangchoon
Redeker, Nancy S.
Knauert, Melissa P. - Abstract:
- Highlights: Cosinor analysis allows for the fitting of a cosine curve to data of known period and is frequently used in the analysis of circadian rhythm. Parameters estimated by the model include time of minimum and maximum, curve amplitude and rhythm adjusted mean. We are not aware of any published SAS procedures or macros which would facilitate these analyses. To meet this gap, we describe a SAS macro which performs cosinor analyses and demonstrate the use of this macro with data from our research. Abstract: Background and objective: Cosinor analysis, developed by Franz Hallberg and colleagues in the 1960s, allows for the fitting of a cosine curve to data of a known period. Cosinor analysis is frequently used in the analysis of biological rhythm data. While software exists to perform these analyses, we are not aware of any published SAS procedures or macros which would facilitate them. Methods: To meet this gap, we herein describe SAS macros which perform cosinor analyses that assume either normally or gamma distributed outcomes and fixed period. The macros can 1) produce datasets with cosinor parameters including acrophase, mesor, amplitude, nadir and test for rhythmicity 2) output datasets with fitted and observed values from the model, and 3) plot the resulting curve and underlying data. Results: We demonstrate the use of these macros with data from our research on circadian rhythms of heart rate and sleep in critically ill patients. Conclusions: Cosinor analysisHighlights: Cosinor analysis allows for the fitting of a cosine curve to data of known period and is frequently used in the analysis of circadian rhythm. Parameters estimated by the model include time of minimum and maximum, curve amplitude and rhythm adjusted mean. We are not aware of any published SAS procedures or macros which would facilitate these analyses. To meet this gap, we describe a SAS macro which performs cosinor analyses and demonstrate the use of this macro with data from our research. Abstract: Background and objective: Cosinor analysis, developed by Franz Hallberg and colleagues in the 1960s, allows for the fitting of a cosine curve to data of a known period. Cosinor analysis is frequently used in the analysis of biological rhythm data. While software exists to perform these analyses, we are not aware of any published SAS procedures or macros which would facilitate them. Methods: To meet this gap, we herein describe SAS macros which perform cosinor analyses that assume either normally or gamma distributed outcomes and fixed period. The macros can 1) produce datasets with cosinor parameters including acrophase, mesor, amplitude, nadir and test for rhythmicity 2) output datasets with fitted and observed values from the model, and 3) plot the resulting curve and underlying data. Results: We demonstrate the use of these macros with data from our research on circadian rhythms of heart rate and sleep in critically ill patients. Conclusions: Cosinor analysis provides a parsimonious and intuitive set of estimates to summarize periodic data. We are hopeful that the publication of our macro will allow a wider spectrum of users to avail themselves of this technique. … (more)
- Is Part Of:
- Computer methods and programs in biomedicine. Volume 209(2021)
- Journal:
- Computer methods and programs in biomedicine
- Issue:
- Volume 209(2021)
- Issue Display:
- Volume 209, Issue 2021 (2021)
- Year:
- 2021
- Volume:
- 209
- Issue:
- 2021
- Issue Sort Value:
- 2021-0209-2021-0000
- Page Start:
- Page End:
- Publication Date:
- 2021-09
- Subjects:
- Cosinor -- Circadian -- Acrophase -- Mesor -- Nadir -- SAS -- R
Medicine -- Computer programs -- Periodicals
Biology -- Computer programs -- Periodicals
Computers -- Periodicals
Medicine -- Periodicals
Médecine -- Logiciels -- Périodiques
Biologie -- Logiciels -- Périodiques
Biology -- Computer programs
Medicine -- Computer programs
Periodicals
Electronic journals
610.28 - Journal URLs:
- http://www.sciencedirect.com/science/journal/01692607 ↗
http://www.elsevier.com/journals ↗ - DOI:
- 10.1016/j.cmpb.2021.106292 ↗
- Languages:
- English
- ISSNs:
- 0169-2607
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 3394.095000
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 18641.xml