Seasonal Analysis of Health Data
Amplitude Adjusted Fourier Transform (AAFT)
Case--crossover Analysis to Control for Seasonality
Mean and Confidence Interval for Circular Phase
Function to Draw CI Polygon
Cosinor Regression Model for Detecting Seasonality in Yearly Data or C...
Creates an Adjacency Matrix
Count the Number of Days in the Month
Inverse Fraction of the Year or Hour
Forward and Backward Sweep of the Kalman Filter
Fit a GLM with Month
Monthly Means
Remove Letters and Characters from a String
Test of Non-linearity of a Time Series
Initial Values for Non-stationary Cosinor
Non-stationary Cosinor
Periodogram
Phase from Cosinor Estimates
Plot the Results of a Cosinor
Plot of Monthly Estimates
Plot of Monthly Mean Estimates
Plot the Results of the Non-linear Test
Plot the Results of a Non-stationary Cosinor
Circular Plot
Circular Plot Using Segments
Plot Results by Month
Print the Results of a Case-Crossover Model
Print the Results of a Cosinor
Print monthglm
Print the Results from Monthmean
Print the Results of the Non-linear Test
Print the Results of a Non-stationary Cosinor
printing a summary of a Cosinor
printing a summary of a month.glm
printing a summary of an nscosinor
Random Inverse Gamma Distribution
season: Tools for Uncovering and Estimating Seasonal Patterns.
Seasonal Residual Checks
Plot a Sinusoid
Summary of the Results of a Case-crossover Model
Summary for a Cosinor
Summary for a Monthglm
Summary for a Non-stationary Cosinor
Third-order Moment
Walter and Elwood's Test of Seasonality
Fraction of the Year
Routines for the seasonal analysis of health data, including regression models, time-stratified case-crossover, plotting functions and residual checks, see Barnett and Dobson (2010) ISBN 978-3-642-10748-1. Thanks to Yuming Guo for checking the case-crossover code.