Cargando…

A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU

Cosinor analysis, developed by Franz Hallberg and colleagues in the 1960s, allows for the fitting of a cosine curve to data of known period and is frequently used in the analysis of circadian data. While software packages exist which will perform cosinor analyses, SAS has historically steered users...

Descripción completa

Detalles Bibliográficos
Autores principales: Doyle, Margaret, Murphy, Terrence, Knauert, Melissa
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Oxford University Press 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7740472/
http://dx.doi.org/10.1093/geroni/igaa057.679
_version_ 1783623539447824384
author Doyle, Margaret
Murphy, Terrence
Knauert, Melissa
author_facet Doyle, Margaret
Murphy, Terrence
Knauert, Melissa
author_sort Doyle, Margaret
collection PubMed
description Cosinor analysis, developed by Franz Hallberg and colleagues in the 1960s, allows for the fitting of a cosine curve to data of known period and is frequently used in the analysis of circadian data. While software packages exist which will perform cosinor analyses, SAS has historically steered users to a reference (Ferrarra, 1993) that contains a flaw that results in miscalculation of the acrophase (peak) and nadir (minimum) values about half the time. The R package ‘cosinor’ includes the same error as the SAS reference. The macro we have written 1.) outputs a dataset with the correct values of acrophase, mesor, amplitude, nadir p-value for rhythmicity and R-squared for a curve fit to an individual’s data and 2.) plots the resulting curve and underlying data. While the macro does not allow for the simultaneous analysis of data from multiple individuals it will output the data from multiple curves so that these parameters can be used in downstream data analysis. We demonstrate the use of this macro on a dataset of automated heart rate data collected on patients in the intensive care unit. Given the growing use of automated data collection, it is vitally important that software that provides accurate statistical analysis of circadian phenomena be made widely available to clinical investigators.
format Online
Article
Text
id pubmed-7740472
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher Oxford University Press
record_format MEDLINE/PubMed
spelling pubmed-77404722020-12-21 A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU Doyle, Margaret Murphy, Terrence Knauert, Melissa Innov Aging Abstracts Cosinor analysis, developed by Franz Hallberg and colleagues in the 1960s, allows for the fitting of a cosine curve to data of known period and is frequently used in the analysis of circadian data. While software packages exist which will perform cosinor analyses, SAS has historically steered users to a reference (Ferrarra, 1993) that contains a flaw that results in miscalculation of the acrophase (peak) and nadir (minimum) values about half the time. The R package ‘cosinor’ includes the same error as the SAS reference. The macro we have written 1.) outputs a dataset with the correct values of acrophase, mesor, amplitude, nadir p-value for rhythmicity and R-squared for a curve fit to an individual’s data and 2.) plots the resulting curve and underlying data. While the macro does not allow for the simultaneous analysis of data from multiple individuals it will output the data from multiple curves so that these parameters can be used in downstream data analysis. We demonstrate the use of this macro on a dataset of automated heart rate data collected on patients in the intensive care unit. Given the growing use of automated data collection, it is vitally important that software that provides accurate statistical analysis of circadian phenomena be made widely available to clinical investigators. Oxford University Press 2020-12-16 /pmc/articles/PMC7740472/ http://dx.doi.org/10.1093/geroni/igaa057.679 Text en © The Author(s) 2020. Published by Oxford University Press on behalf of The Gerontological Society of America. http://creativecommons.org/licenses/by/4.0/ This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Abstracts
Doyle, Margaret
Murphy, Terrence
Knauert, Melissa
A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title_full A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title_fullStr A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title_full_unstemmed A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title_short A SAS Macro for Cosinor Analysis of Automated Heart Rate Data in the ICU
title_sort sas macro for cosinor analysis of automated heart rate data in the icu
topic Abstracts
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7740472/
http://dx.doi.org/10.1093/geroni/igaa057.679
work_keys_str_mv AT doylemargaret asasmacroforcosinoranalysisofautomatedheartratedataintheicu
AT murphyterrence asasmacroforcosinoranalysisofautomatedheartratedataintheicu
AT knauertmelissa asasmacroforcosinoranalysisofautomatedheartratedataintheicu
AT doylemargaret sasmacroforcosinoranalysisofautomatedheartratedataintheicu
AT murphyterrence sasmacroforcosinoranalysisofautomatedheartratedataintheicu
AT knauertmelissa sasmacroforcosinoranalysisofautomatedheartratedataintheicu