Cosinor Analysis (Rhythmometry)
Cosinor analysis fits a cosine curve of known period to time-stamped data by least squares to estimate the MESOR, amplitude and acrophase of a rhythm and test whether its amplitude differs from zero.
코사이너 분석은 주기를 알고 있는 시간 자료에 코사인 곡선을 최소제곱으로 맞춰 MESOR, 진폭, 위상을 추정하고 진폭이 0 인지 검정하는 방법입니다.
Does my patients' blood pressure follow a 24-hour rhythm, and at what time of day does it peak?
환자들의 혈압에 24시간 리듬이 있고, 하루 중 언제 가장 높나요?
The cosinor model y = M + beta cos(2 pi t / tau) + gamma sin(2 pi t / tau) gives the rhythm-adjusted mean (MESOR), the amplitude sqrt(beta^2 + gamma^2) and the acrophase, with confidence intervals from the joint confidence ellipse. An F test of zero amplitude tells whether a rhythm is present, and the population-mean version averages subject-level fits. The population-mean version supports a single harmonic only.
When to use Cosinor Analysis (Rhythmometry)
- Measurements are taken at known times and a period (such as 24 hours) is assumed
- You need the peak time and amplitude of a rhythm
- You have repeated subjects and want a population-mean rhythm
When to use something else
- The period is unknown: use spectral analysis or a periodogram
- The outcome itself is an angle or clock time: use Circular Descriptive Statistics
Assumptions and requirements
- The period is known and fixed
- Residuals are independent and normally distributed
- The rhythm is sinusoidal (or a sum of harmonics)
- At least three subjects for the population-mean cosinor
What the analysis reports
- MESOR, amplitude and acrophase with confidence intervals
- Zero-amplitude F test
- Percent rhythm (R squared; single-series fits only)
- Peak time within the period and harmonic details
How to report it
A single cosinor with a 24-hour period gave MESOR = [value], amplitude = [value] (95% CI [value, value]) and acrophase = [value] degrees (peak at [value] h); the zero-amplitude test was F(2, [df]) = [value], p = [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Cosinor Analysis (Rhythmometry) itself, at the same price.
- Multi-Harmonic Cosinor (Three Harmonics) — components set to “3”
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with pingouin and statsmodels.
독립 계산. pingouin·statsmodels 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Cosinor Analysis (Rhythmometry) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a time variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.