Trees Nodes Is Temp>30? False True Temp<=30° Temp>30°

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
 Coefficient of Determination Section 4.3 Alan Craig
Robert Plant != Richard Plant. Sample Data Response, covariates Predictors Remotely sensed Build Model Uncertainty Maps Covariates Direct or Remotely.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Statistics 350 Lecture 16. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
Class 3: Thursday, Sept. 16 Reliability and Validity of Measurements Introduction to Regression Analysis Simple Linear Regression (2.3)
Stat 217 – Day 26 Regression, cont.. Last Time – Two quantitative variables Graphical summary  Scatterplot: direction, form (linear?), strength Numerical.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Simple Linear Regression Analysis
Linear Regression Analysis
Linear Regression and Correlation
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Maths Study Centre CB Open 11am – 5pm Semester Weekdays
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Relationships between Variables. Two variables are related if they move together in some way Relationship between two variables can be strong, weak or.
Chapter 6 & 7 Linear Regression & Correlation
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
Model Building III – Remedial Measures KNNL – Chapter 11.
Statistics for the Social Sciences Psychology 340 Fall 2013 Correlation and Regression.
Chapter 9 – Classification and Regression Trees
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Introduction to Linear Regression
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
MBP1010H – Lecture 4: March 26, Multiple regression 2.Survival analysis Reading: Introduction to the Practice of Statistics: Chapters 2, 10 and 11.
Simple Linear Regression. Deterministic Relationship If the value of y (dependent) is completely determined by the value of x (Independent variable) (Like.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Trees Lives Temp>30° Lives Dies Temp
Why Model? Make predictions or forecasts where we don’t have data.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Simple Linear Regression In the previous lectures, we only focus on one random variable. In many applications, we often work with a pair of variables.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
DECISION TREE Ge Song. Introduction ■ Decision Tree: is a supervised learning algorithm used for classification or regression. ■ Decision Tree Graph:
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
How Good is a Model? How much information does AIC give us? –Model 1: 3124 –Model 2: 2932 –Model 3: 2968 –Model 4: 3204 –Model 5: 5436.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
RECITATION 4 MAY 23 DPMM Splines with multiple predictors Classification and regression trees.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
Introduction. We want to see if there is any relationship between the results on exams and the amount of hours used for studies. Person ABCDEFGHIJ Hours/
Chapter 12 Simple Regression Statistika.  Analisis regresi adalah analisis hubungan linear antar 2 variabel random yang mempunyai hub linear,  Variabel.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
Multiple Regression.
The simple linear regression model and parameter estimation
Why Model? Make predictions or forecasts where we don’t have data.
Simple Linear Regression
Robert Plant != Richard Plant
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Introduction to Machine Learning and Tree Based Methods
SCATTERPLOTS, ASSOCIATION AND RELATIONSHIPS
How Good is a Model? How much information does AIC give us?
The Least-Squares Regression Line
Introduction to Data Mining and Classification
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Direct or Remotely sensed
Linear Regression.
Multiple Regression.
Prepared by Lee Revere and John Large
The Science of Predicting Outcome
Prediction of new observations
Example on the Concept of Regression . observation
Section 6.2 Prediction.
Regression and Categorical Predictors
STT : Intro. to Statistical Learning
Presentation transcript:

Trees Nodes Is Temp>30? False True Temp<=30° Temp>30° Dies Dies Lives Terminal or Leaf Nodes

Trees Classification Trees Regression Trees Boosted Trees Predicted outcome is a class (cover type) Regression Trees Predicted outcome is a value (percent) Boosted Trees Combines classification and regression trees Random Forests Combines many trees to improve fit

Classification Trees Reflectance < 0.1 False True Water Snow or Cloud Ground

Classification Tree Snow or Ice Water Ground 0.0 0.1 0.9 1.0 Group activity, draw the tree for this data. 0.0 0.1 0.9 1.0 Reflectance

Regression Trees Precipitation < 0.5 True False Suitability=0.0 Suitability=0.3 Suitability=0.5 Suitability=0.0

Regression Trees 1.0 0.5 Suitability 0.3 0.0 0.0 0.1 0.5 1.0

Trees Classification and Regression Trees Predictors can be continuous or categorical Easy to interpret and understand Robust Easy to validate Statistical methods well understood Can still make really complex trees that over fit the data!

Regression Trees in GIS Geospatial and regression tree analysis to map groundwater depth for manual well drilling suitability in the Zinder region of Niger

CA Housing Prices

CA Housing Prices

Building Trees Goals: Approach: Find the tree with the least number of “nodes” (branches) that best represents the phenomenon Approach: Minimize the “deviance” that the samples have from the model

R squared With continuous response, we can use R2 Where: 𝑅 2 =1− 𝑆𝑆 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 𝑆𝑆 𝑡𝑜𝑡𝑎𝑙 𝑆𝑆 𝑟𝑒𝑠𝑖𝑑𝑢𝑎𝑙𝑠 = ( 𝑦 𝑖 − 𝑓 𝑖 ) 2 𝑆𝑆 𝑡𝑜𝑡𝑎𝑙 = ( 𝑦 𝑖 − 𝑦 𝑖 ) 2 Where: 𝑦 𝑖 = observed values 𝑓 𝑖 = predicted values 𝑦 𝑖 = mean of observed data SS residuals = sum of squares of the residuals SS total = total sum of squares See: http://en.wikipedia.org/wiki/Coefficient_of_determination R2 = coefficient of determination

Regression Trees in GIS Length of branch indicates amount of deviance explained Length of the Geospatial and regression tree analysis to map groundwater depth for manual well drilling suitability in the Zinder region of Niger

Regression Trees Analysis of Object Oriented Software, Science Direct

Additional Resources An Introduction to Categorical Data Analysis By ALAN AGRESTI Page 85 R Documentation: http://cran.r-project.org/web/packages/tree/tree.pdf