Cosinor analysis of accident risk using SPSS’s regression procedures Peter Watson 31st October 1997 MRC Cognition & Brain Sciences Unit.

Slides:



Advertisements
Similar presentations
Objectives 10.1 Simple linear regression
Advertisements

DISPUTES & INVESTIGATIONS ECONOMICS FINANCIAL ADVISORY MANAGEMENT CONSULTING ©2014 Navigant Consulting, Inc. May 7, 2014 Navigant Reference: Impact.
Copyright © Cengage Learning. All rights reserved. 4 Trigonometric Functions.
Copyright © Cengage Learning. All rights reserved. 4.5 Graphs of Sine and Cosine Functions.
Graphs of Sine Curves Graph Transformations of the Sine Function Graph Transformations of the Cosine Function Determine the Amplitude and Period of Sinusoidal.
4.5 Sinusoidal Graphs Sketching and Writing Equations.
Warm Up Using your unit circle find each value: Sin 0°= Sin
1 Properties of Sine and Cosine Functions The Graphs of Trigonometric Functions.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 4 Graphs of the Circular Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1.
Lecture 8 Relationships between Scale variables: Regression Analysis
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Lecture 23: Tues., Dec. 2 Today: Thursday:
Econ Prof. Buckles1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 4. Further Issues.
Lecture 23: Tues., April 6 Interpretation of regression coefficients (handout) Inference for multiple regression.
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
Lecture 23 Multiple Regression (Sections )
Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 BA 555 Practical Business Analysis Review of Statistics Confidence Interval Estimation Hypothesis Testing Linear Regression Analysis Introduction Case.
Exercise 6 Dose linearity and dose proportionality
Inference for regression - Simple linear regression
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Simple Linear Regression Models
Correlation and Regression
Stat 112 Notes 3 Today: –Finish Chapter 3.3 (Hypothesis Testing). Homework 1 due next Thursday.
1 Data Analysis © 2005 Germaine G Cornelissen-Guillaume. Copying and distribution of this document is permitted in any medium, provided this notice is.
Sinusoidal Curve Fitting
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
The Examination of Residuals. Examination of Residuals The fitting of models to data is done using an iterative approach. The first step is to fit a simple.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Graphs of Cosine Section 4-5.
Lab 5 instruction.  a collection of statistical methods to compare several groups according to their means on a quantitative response variable  Two-Way.
2014. Engineers often: Regress data  Analysis  Fit to theory  Data reduction Use the regression of others  Antoine Equation  DIPPR We need to be.
6.4 Amplitude and Period of Sine and Cosine Functions.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
Lecture 3: Complex Exponentials; n th root of a complex number; continuous-time sinusoids.
1 Javier Aparicio División de Estudios Políticos, CIDE Primavera Regresión.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Within Subjects Analysis of Variance PowerPoint.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Regression Analysis Part C Confidence Intervals and Hypothesis Testing
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
Class 4 Ordinary Least Squares CERAM February-March-April 2008 Lionel Nesta Observatoire Français des Conjonctures Economiques
Confidence Interval Estimation For statistical inference in decision making:
Applied Quantitative Analysis and Practices LECTURE#25 By Dr. Osman Sadiq Paracha.
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
Correlation – Recap Correlation provides an estimate of how well change in ‘ x ’ causes change in ‘ y ’. The relationship has a magnitude (the r value)
Engineers often: Regress data to a model  Used for assessing theory  Used for predicting  Empirical or theoretical model Use the regression of others.
Confidence Interval Estimation For statistical inference in decision making: Chapter 9.
Example x y We wish to check for a non zero correlation.
Using Microsoft Excel to Conduct Regression Analysis.
1 Copyright © Cengage Learning. All rights reserved. 6. The Trigonometric Functions Graphs of Trigonometric Functions.
Graphs of Trigonometric Functions. Properties of Sine and Cosine Functions 2 6. The cycle repeats itself indefinitely in both directions of the x-axis.
BPS - 5th Ed. Chapter 231 Inference for Regression.
5.1 Graphing Sine and Cosine Functions
29 October 2009 MRC CBU Graduate Statistics Lectures 4: GLM: The General Linear Model - ANOVA & ANCOVA1 MRC Cognition and Brain Sciences Unit Graduate.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Multiple Regression.
Understanding Standards Event Higher Statistics Award
Week 10 Chapter 16. Confidence Intervals for Proportions
Graphs of Sine and Cosine Functions
Physics 114: Exam 2 Review Material from Weeks 7-11
Correlation and Regression
Statistical Methods For Engineers
Multiple Regression Models
Basic Practice of Statistics - 3rd Edition Inference for Regression
15.1 The Role of Statistics in the Research Process
Reasoning in Psychology Using Statistics
5.1 Graphing Sine and Cosine Functions
Presentation transcript:

Cosinor analysis of accident risk using SPSS’s regression procedures Peter Watson 31st October 1997 MRC Cognition & Brain Sciences Unit

Aims & Objectives To help understand accident risk we investigate 3 alertness measures over time –Two self-reported measures of sleep: Stanford Sleepiness Score (SSS) and Visual Analogue Score (VAS) –Attention measure: Sustained Attention to Response Task (SART)

Study 10 healthy Peterhouse college undergrads (5 male) Studied at 1am, 7am, 1pm and 7pm for four consecutive days How do vigilance (SART) and perceived vigilance (SSS, VAS) behave over time?

Characteristics of Sleepiness Most subjects “most sleepy” early in morning or late at night Theoretical evidence of cyclic behaviour (ie repeated behaviour over a period of 24 hours)

SSS variation over four days

VAS variation over four days

Aspects of cyclic behaviour Features considered: Length of a cycle (period) Overall value of response (mesor) Location of peak and nadir (acrophase) Half the difference between peak and nadir scores (amplitude)

Cosinor Model - cyclic behaviour f(t) = M + AMP.Cos(2  t +  ) +  t T Parameters of Interest: f(t) = sleepiness score; M = intercept (Mesor); AMP = amplitude;  =phase; T=trial period (in hours) under study = 24;  t = Residual

Period, T May be estimated Previous experience (as in our example) Constrained so that Peak and Nadir are T/2 hours apart (12 hours in our sleep example)

Periodicity 24 hour Periodicity upheld via absence of Time by Day interactions SSS : F(9,81)=0.57, p>0.8 VAS : F(9,81)=0.63, p>0.7

Fitting using SPSS “linear” regression For g(t)=2  t/24 and since Cos(g(t)+  ) = Cos(  )Cos(g(t))-Sin(  )Sin(g(t)) it follows the linear regression: f(t) = M + A.Cos(2  t/24) + B.Sin(2  t/24) is equivalent to the above single cosine function - now fittable in SPSS “linear” regression combining Cos and Sine function

SPSS:Regression: “Linear” Look at the combined sine and cosine Evidence of curviture about the mean? SSSF(2,157)=73.41, p<0.001; R 2 =48% VASF(2,13)=86.67, p<0.001; R 2 =53% Yes!

Fitting via SPSS NLR Estimates  AMP and M –SSS: Peak at 5-11am –VAS Peak at 5-05am M not generally of interest Can also obtain CIs for AMP and Peak sleepiness time

Equivalence of NLR and “Linear” regression models Amplitude: A = AMP Cos(  ) B = -AMP Sin(  ) Hence AMP = Acrophase: A = AMP Cos(  ) B = -AMP Sin(  ) Hence  ArcTan(-B/A)

Model terms Amplitude = 1/2(peak-nadir) Mesor = M = Mean Response (Acro)Phase =  = time of peak in 24 hour cycle In hours: peak = -  24 2  In degrees: peak = -  

Fitted Cosinor Functions (VAS in black; SSS in red)

% Amplitude % Amplitude = 100 x (Peak-Nadir) overall mean = 100 x 2 AMP MESOR

95% Confidence interval for peak Use SPSS NLR - estimates acrophase directly acrophase ± t 13,0.025 x standard error multiply endpoints by (=-24/2  ) Ie standard error(C.  ) = |C  x standard error(  )

Levels of Sleepiness CIs for peak sleepiness and % amplitude Stanford Sleepiness Score: 95% CI = (4-33,5-48), amplitude=97% Visual Analogue Score: 95% CI = (4-31,5-40), amplitude=129%

95% confidence intervals for predictions Using Multiple “Linear” Regression: Individual predictions in “statistics” option window This corresponds to prediction pred ± t 13, standard error of prediction

SSS - 95% Confidence Intervals

VAS 95% Confidence Intervals

Rules of Thumb for Fit De Prins J, Waldura J (1993) Acceptable Fit 95% CI phase range < 30 degrees SSS 19 degrees (from NLR) VAS 17 degrees (from NLR)

Conclusions Perceived alertness has a 24 hour cycle No Time by Day interaction - alertness consistent each day We feel most sleepy around early morning

Unperceived Vigilance Vigilance task (same 10 students as sleep indices) Proportion of correct responses to an attention task at 1am, 7am, 1pm and 7pm over 4 days

Vigilance over the four days

Results of vigilance analysis Linear regression F(2,13)=1.02, p>0.35, R 2 = 1% No evidence of curviture NLR Peak : 3-05am 95% CI of peak (9-58pm, 8-03am) Phase Range 151 degrees Amplitude 18%

Vigilance - linear over time Plot suggests no obvious periodicity Acrophase of 151 degrees > 30 degrees (badly inaccurate fit) Cyclic terms statistically nonsignificant, low R 2 Flat profile suggested by low % amplitude Vigilance, itself, may be linear with time

Polynomial Regression An alternative strategy is the fitting of cubic polynomials Similar results to cosinor functions – two turning points for perceived sleepiness – no turning points (linear) for attention measure

Conclusions Cosinor analysis is a natural way of modelling cyclic behaviour Can be fitted in SPSS using either “linear” or nonlinear regression procedures

Thanks to helpful colleagues….. Avijit Datta Geraint Lewis Tom Manly Ian Robertson