brolgar: R パッケージによる縦断データ上の視覚的・分析的な探索
brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R
brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R
@misc{tierney2020brolgar,
title = {brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R},
author = {Nicholas J Tierney and Dianne Cook and Tania Prvan},
year = {2020},
eprint = {2012.01619},
archivePrefix = {arXiv},
primaryClass = {stat.AP},
url = {https://arxiv.org/abs/2012.01619}
}
Tierney, N. J., Cook, D., & Prvan, T. (2020). brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.01619
TIERNEY NJ, COOK D, PRVAN T. brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R[EB/OL]. (2020-12-03)[2026-11-29]. https://arxiv.org/abs/2012.01619.
要旨
縦断データ(パネルデータ)は、個人における時間的なパターンを調べる機会を提供する。これは、異なる、しばしば不規則な時間点において同一の個人に対して測定値を収集するためである。このデータは通常、「スパゲッティプロット」として可視化され、各個人に対して線図が描かれる。これらが一つのプロットに重ねられると、スパゲッティのボウルのような外観を呈することがある。被験者の数が少なくても、これらのプロットは読み取りが困難に過負荷となる。個人差の興味深い側面はノイズの中で失われてしまう。縦断データは、全体の傾向と個人間の変動を捉えつつ、様々なレベルの依存性を考慮する階層線形モデルでしばしばモデル化される。しかし、これらのモデルは適合が困難であり、異常な個人パターンを見逃す可能性がある。より良い可視化ツールは、縦断モデルの診断を支援し、個人の経験をよりよく捉えることができる。本稿では、縦断データにおいて興味深い個人パターンを特定および要約するためのツールを提供する R パッケージ brolgar(BRowse over Longitudinal data Graphically and Analytically in R)を紹介する。
Longitudinal (panel) data provide the opportunity to examine temporal patterns of individuals, because measurements are collected on the same person at different, and often irregular, time points. The data is typically visualised using a "spaghetti plot", where a line plot is drawn for each individual. When overlaid in one plot, it can have the appearance of a bowl of spaghetti. With even a small number of subjects, these plots are too overloaded to be read easily. The interesting aspects of individual differences are lost in the noise. Longitudinal data is often modelled with a hierarchical linear model to capture the overall trends, and variation among individuals, while accounting for various levels of dependence. However, these models can be difficult to fit, and can miss unusual individual patterns. Better visual tools can help to diagnose longitudinal models, and better capture the individual experiences. This paper introduces the R package, brolgar (BRowse over Longitudinal data Graphically and Analytically in R), which provides tools to identify and summarise interesting individual patterns in longitudinal data.