Chapter 12 Trend Analysis

Slides:



Advertisements
Similar presentations
Correlation and regression
Advertisements

Trend analysis: considerations for water quality management Sylvia R. Esterby Mathematics, Statistics and Physics, University of British Columbia Okanagan.
Objectives (BPS chapter 24)
Correlation and Linear Regression
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Chapter Eighteen MEASURES OF ASSOCIATION
1 Econ 240A Power Outline Review Projects 3 Review: Big Picture 1 #1 Descriptive Statistics –Numerical central tendency: mean, median, mode dispersion:
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
Stat 217 – Day 26 Regression, cont.. Last Time – Two quantitative variables Graphical summary  Scatterplot: direction, form (linear?), strength Numerical.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 11 Notes Class notes for ISE 201 San Jose State University.
Stat 217 – Day 25 Regression. Last Time - ANOVA When?  Comparing 2 or means (one categorical and one quantitative variable) Research question  Null.
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
Measures of Association Deepak Khazanchi Chapter 18.
Correlation and Regression Analysis
Simple Linear Regression and Correlation
Regression and Correlation Methods Judy Zhong Ph.D.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition
Simple Linear Regression
STATISTICS: BASICS Aswath Damodaran 1. 2 The role of statistics Aswath Damodaran 2  When you are given lots of data, and especially when that data is.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
1 Trend Analysis Step vs. monotonic trends; approaches to trend testing; trend tests with and without exogeneous variables; dealing with seasonality; Introduction.
Correlation & Regression
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
The Regional Kendall Test for Trend Dennis Helsel US Geological Survey.
Multiple Regression Petter Mostad Review: Simple linear regression We define a model where are independent (normally distributed) with equal.
Chapter 5 Demand Estimation Managerial Economics: Economic Tools for Today’s Decision Makers, 4/e By Paul Keat and Philip Young.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Environmental Modeling Basic Testing Methods - Statistics III.
Chapter 4 Summary Scatter diagrams of data pairs (x, y) are useful in helping us determine visually if there is any relation between x and y values and,
Chapter 22: Building Multiple Regression Models Generalization of univariate linear regression models. One unit of data with a value of dependent variable.
Essential Statistics Chapter 51 Least Squares Regression Line u Regression line equation: y = a + bx ^ –x is the value of the explanatory variable –“y-hat”
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
ReCap Part II (Chapters 5,6,7) Data equations summarize pattern in data as a series of parameters (means, slopes). Frequency distributions, a key concept.
Section 4.5 Graphs of Sine and Cosine. Sine Curve Key Points:0 Value: π 2π2π π 2π2π 1.
L Berkley Davis Copyright 2009 MER301: Engineering Reliability Lecture 12 1 MER301: Engineering Reliability LECTURE 12: Chapter 6: Linear Regression Analysis.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Chapter 3 INTERVAL ESTIMATES
Chapter 2 HYPOTHESIS TESTING
Chapter 4 Basic Estimation Techniques
Chapter 14 Fitting Probability Distributions
MATH-138 Elementary Statistics
BAE 6520 Applied Environmental Statistics
BAE 5333 Applied Water Resources Statistics
Chapter 11 LOcally-WEighted Scatterplot Smoother (Lowess)
Chapter 3 INTERVAL ESTIMATES
Chapter 10 Analysis of Covariance
Chapter 11 Analysis of Covariance
Chapter 9 Multiple Linear Regression
Chapter 4 Comparing Two Groups of Data
Correlation and Simple Linear Regression
Sinusoidal Waveform Phasor Method.
Slides by JOHN LOUCKS St. Edward’s University.
CHAPTER 10 Correlation and Regression (Objectives)
Correlation and Regression
Stats Club Marnie Brennan
Statistical Methods For Engineers
CHAPTER 29: Multiple Regression*
Multiple Regression BPS 7e Chapter 29 © 2015 W. H. Freeman and Company.
Multiple Regression Models
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Lecture Slides Elementary Statistics Eleventh Edition
Statistics 350 Lecture 18.
Algebra Review The equation of a straight line y = mx + b
RES 500 Academic Writing and Research Skills
Adding variables. There is a difference between assessing the statistical significance of a variable acting alone and a variable being added to a model.
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

Chapter 12 Trend Analysis BAE 5333 Applied Water Resources Statistics Biosystems and Agricultural Engineering Department Division of Agricultural Sciences and Natural Resources Oklahoma State University Source Dr. Dennis R. Helsel & Dr. Edward J. Gilroy 2006 Applied Environmental Statistics Workshop and Statistical Methods in Water Resources

No Signal, Only Random Noise Over Time Null Hypothesis For All Trend Tests No Signal, Only Random Noise Over Time

First Alterative Hypothesis Linear Trend Over Time

Second Alterative Hypothesis Nonlinear (Monotonic) Trend Over Time

Third Alterative Hypothesis Step Trend, Shift at One Point in Time

Seasonal Variation A Common Pattern in Natural Systems Seasonality – within each year Trend – over multiple years

How to Find a Trend Visual (graphical) May be easy to identify and easy to communicate to others Can not quantify Statistical Gives a number Can identify trends with messy data Technically difficult Be vewwy, vewwy quiet ….. I’m hunting for a twend.

Trend Topics Tests where time is an explanatory variable Parametric versus nonparametric trend tests How to add other variables besides time How to deal with seasonal variation

Is an Explanatory Variable Tests Where Time Is an Explanatory Variable If time is measured continuously (i.e. decimal time - 1997.5) Regression (parametric) Kendall-Theil (nonparametric) If time is a grouped variable (1980s, pre- versus post-) t-test (parametric) rank-sum (nonparametric)

Trend Tests Time is Continuous

Trend Tests - Time is Continuous (cont.)

Nonparametric Trend Tests With Other Variables Compute Lowess of Y vs. X Store residuals R Test residuals R for trend using Kendall’s tau

Parametric Trend Tests With Other Variables If both time (T) and X are continuous Use multiple regression Y = b0 + b1T + b2X If time is grouped Use ANCOVA Time (T) is a 0 or 1, binary variable

Decision Rules for Using Continuous or Grouped Measures of Time

Parametric vs. Nonparametric Test Distribution of residuals? Linear or monotonic? Kendall-Theil Slope is Median of All Pairwise Slopes Kendall –Theil compares the change in value vs. time (slope) for each point on the chart and takes the median slope as the a summary statistic describing the magnitude of the trend.

Step Trends

Step Trend Tests

Nonparametric Step Trend Tests with Other Variables Compute Lowess of Y vs. X Store residuals R Test residuals R for trend using rank-sum test

Nonparametric Step Trend Tests with Other Variables For a continuous X variable and time (T) is a grouped variable Use ANCOVA Time (T) is a binary variable, 0 or 1 Y = b0 + b1T + b2X

Dealing with Seasonal Variation Parametric methods Build a better model Nonparametric methods Only compare within the same season

Continuous Trend Tests with Seasonal Variation

Seasonal Kendall Test Compare all data within the same season to one another DO NOT compare data across different seasons Slope is the median of all within-season pair wise slopes.

Seasonal Kendall Test

Computing the Seasonal Kendall Test The test statistic Si for EACH SEASON is the number of plusses (Pi) minus the number of Minuses (Mi) comparing data only within that season. For season i we have: Si = Pi − Mi

Seasonal Kendall Test Statistic Sk

Summary: Nonparametric Trend Tests Simplest Y = b + mT (Kendall-Theil) Adjusted for another variable R = b + Mt R = Lowess residuals of Y vs. X With seasonal variation Y = b + mT m is Seasonal-Kendall slope

Regression with Sine and Cosine Two new explanatory variables are created, and added to the regression equation These are the sine and cosine of 2πT T is time in decimal years (1997.5) Resulting in one revolution every year

Regression with Sine and Cosine The term 2πT produces one cycle per year, with a minimum and maximum Slope coefficients times the sine and cosine terms fit the cycle function to the data Both variables are required, as there are two unknowns for the year Amplitude “phase shift” (day of the peak)

Regression with Sine and Cosine Y = b0 + b1T + b2X + b3sin(2πT) + b4cos(2πT) Keep both sin and cos, or drop both. Base decision on b3 and b4. If either are significantly different than zero, keep both terms.

Summary: Parametric Trend Tests Simplest Y = b0 + b1T Adjusted for another variable Y = b0 + b1T + b2X With seasonal variation Y = b0 + b1T + b2X + b3 sin(2πT) + b4 cos(2πT)

Results of a Seasonal Model

MINITAB Laboratory 11 Reading Assignment Chapter 12 Trend Analysis (pages 323 to 355) Statistical Methods in Water Resources by D.R. Helsel and R.M. Hirsch MINITAB Laboratory 11