Graphics. Coin data How can we see what’s going on better? –Long run vs. short run.

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 C Coefficient of Determination
Advertisements

Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 16: Analyzing.
DATA CONFUSION How to confuse yourself and others with Data Analysis.
Making effective plots: 1.Don’t use default Excel plots! 2.Figure should highlight the key relationships in the data. 3.Should be clear - no extraneous.
Linear Regression (C7-9 BVD). * Explanatory variable goes on x-axis * Response variable goes on y-axis * Don’t forget labels and scale * Statplot 1 st.
LSRLs: Interpreting r vs. r2
Regression Analysis Simple Regression. y = mx + b y = a + bx.
Appendix Chapter 1 WORKING WITH GRAPHS. 1. Positive and Negative Relationships Graphs reveal a positive or negative relationship. A positive relationship.
Scatter Diagrams and Linear Correlation
1 Multiple Regression Response, Y (numerical) Explanatory variables, X 1, X 2, …X k (numerical) New explanatory variables can be created from existing.
1 The Basics of Regression. 2 Remember back in your prior school daze some algebra? You might recall the equation for a line as being y = mx + b. Or maybe.
2.2 Correlation Correlation measures the direction and strength of the linear relationship between two quantitative variables.
Describing the Relation Between Two Variables
Gordon Stringer, UCCS1 Regression Analysis Gordon Stringer.
Quantitative Business Analysis for Decision Making Simple Linear Regression.
Ch. 14: The Multiple Regression Model building
Inference for regression - Simple linear regression
Prior Knowledge Linear and non linear relationships x and y coordinates Linear graphs are straight line graphs Non-linear graphs do not have a straight.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
Graphics for Macroeconomics. Principles Graphing is done best when it clearly communicates ideas about data Focus on the main point while preventing distractions.
Regression. Population Covariance and Correlation.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Correlation The apparent relation between two variables.
AP STATISTICS Section 3.2 Least Squares Regression.
CHAPTER 8 Linear Regression. Residuals Slide  The model won’t be perfect, regardless of the line we draw.  Some points will be above the line.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
1/15/2016Marketing Research2  How do you test the covariation between two continuous variables?  Most typically:  One independent variable  and: 
LSRLs: Interpreting r vs. r 2 r – “the correlation coefficient” tells you the strength and direction between two variables (x and y, for example, height.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Maths Study Centre CB Open 11am – 5pm Semester Weekdays
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
3-1Forecasting Weighted Moving Average Formula w t = weight given to time period “t” occurrence (weights must add to one) The formula for the moving average.
Regression Analysis.
CHAPTER 3 Describing Relationships
Chapter 4.2 Notes LSRL.
Statistical Data Analysis - Lecture /04/03
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
SCATTERPLOTS, ASSOCIATION AND RELATIONSHIPS
What is Correlation Analysis?
BUSINESS MATHEMATICS & STATISTICS.
LSRL Least Squares Regression Line
“The Art of Forecasting”
(Residuals and
Regression and Residual Plots
Lecture Slides Elementary Statistics Thirteenth Edition
Lecture 14 Review of Lecture 13 What we’ll talk about today?
CHAPTER 29: Multiple Regression*
CHAPTER 26: Inference for Regression
AP Stats: 3.3 Least-Squares Regression Line
Least-Squares Regression
EQ: How well does the line fit the data?
Unit 3 – Linear regression
Section 3.3 Linear Regression
AP Statistics, Section 3.3, Part 1
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Types of Graphs… and when to use them!.
Ch 4.1 & 4.2 Two dimensions concept
3.2 – Least Squares Regression
Algebra Review The equation of a straight line y = mx + b
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Chapter 3 Vocabulary Linear Regression.
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
Presentation transcript:

Graphics

Coin data How can we see what’s going on better? –Long run vs. short run

Graphing Graphing helps you see the relationship between variables Time series plots vs. scatter plots

Elements of Graphical Style Know your audience & know your goals Show the data and appeal to the viewer –Minimize non-data ink –Avoid chart junk Revise and edit, again and again

Non-data ink Note that after 1990, the pattern of velocity and opportunity cost changed significantly, with a couple of years of transition and a new pattern to the slope. The new intercept was much higher than the old one and thus the relationship changed so that it was much more difficult to use the model for forecasting.

Chartjunk

Don’t use 3 dimensions for a 2- dimensional object Don’t add decorations, cartoons, etc. that do not tell your story Hi, I’m irrelevant!

Make graphs tell your story The golden ratio of height to width is Use scale to show variations in a variable

Velocity is very stable

Or is it unstable?

Use colors to split data

Or connect the dots to check timing

Beware of Outliers Measurement outliers –Data errors Innovation outliers –A shock or innovation

Adding recession bars Often help explain data well

Graphs as diagnostics for regressions Plot actual and fitted values; residuals over time Plot residuals squared or absolute values of residuals over time (solutions: interactive data analysis) Do a scatter plot of residual vs. explanatory variable

Example: consumption & income We can save residuals and do plots of residuals themselves, actual & predicted, residuals vs. explanatory variables Later, using saved residuals, we can plot squares and absolute values Note that non-random residuals suggests that a non-linear model may be better

Logs for trending variables When variables trend upwards, the graph of the variable shows too much recent information, not enough past information