Steps Continuous Categorical Histogram Scatter Boxplot Child’s Height Linear Regression Dad’s Height Gender Continuous Y X1, X2 X3 Type Variable Mom’s.

Slides:



Advertisements
Similar presentations
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
Advertisements

X Y. Variance Covariance Correlation Scatter plot.
Statistics 350 Lecture 16. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Statistics 350 Lecture 23. Today Today: Exam next day Good Chapter 7 questions: 7.1, 7.2, 7.3, 7.28, 7.29.
Ch. 14: The Multiple Regression Model building
Correlation and Regression Analysis
Exponential Smoothing 1 Ardavan Asef-Vaziri 6/4/2009 Forecasting-2 Chapter 7 Demand Forecasting in a Supply Chain Forecasting -2.2 Regression Analysis.
Linear Regression Analysis
Project Categories and Questions How to improve [Financial Metric]? Business Science What Determines Height? Government Sports How are School Districts.
Correlation and Covariance. Overview Continuous Categorical Histogram Scatter Boxplot Predictor Variable (X-Axis) Height Outcome, Dependent Variable (Y-Axis)
Correlation and Covariance
What factors are most responsible for height?
Probabilities Probability Distribution Predictor Variables Prior Information New Data Prior and New Data Overview.
Linear Regression. Simple Linear Regression Using one variable to … 1) explain the variability of another variable 2) predict the value of another variable.
Chapter 1 Review MDM 4U Mr. Lieff. 1.1 Displaying Data Visually Types of data Quantitative Discrete – only whole numbers are possible Continuous – decimals/fractions.
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
Further Topics in Regression Analysis Objectives: By the end of this section, I will be able to… 1) Explain prediction error, calculate SSE, and.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Outline Class Intros Overview of Course & Series Example Research Projects Beginning R.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
A Few Handful Many Time Stamps One Time Snapshot Many Time Series Number of Variables Mobile Phone Galton Height Census Titanic Survivors Stock Market.
Regression. Population Covariance and Correlation.
Regression Regression relationship = trend + scatter
What determines height? Genetics NutritionGender Heels Child’s Height Parent’s Height Not able to get data for all our variables! Linear Regression vs.
Regression & Correlation. Review: Types of Variables & Steps in Analysis.
Slide 1 of 41 What happens to produce?  All males are mutant, but all females are wild-type?  All females are wild type, but only 50% of males are? 
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
Assignment (1) WEEK 3.
Data Analysis.
Group 4 Members and Participants Amelia Corey, Angie Coates, Cynthia Bradwisch, Aaron Grow, and Daniel Champion.
Linear Models Alan Lee Sample presentation for STATS 760.
Research Question What determines a person’s height?
Linear Prediction Correlation can be used to make predictions – Values on X can be used to predict values on Y – Stronger relationships between X and Y.
Math 4030 – 11b Method of Least Squares. Model: Dependent (response) Variable Independent (control) Variable Random Error Objectives: Find (estimated)
Where to Get Data? Run an Experiment Use Existing Data.
What factors are most responsible for height?. Model Specification ERROR??? measurement error model error analysis unexplained unknown unaccounted for.
Outline Research Question: What determines height? Data Input Look at One Variable Compare Two Variables Children’s Height and Parents Height Children’s.
Continuous Outcome, Dependent Variable (Y-Axis) Child’s Height
DATA ANALYSIS AND MODEL BUILDING LECTURE 8 Prof. Roland Craigwell Department of Economics University of the West Indies Cave Hill Campus and Rebecca Gookool.
Color Blindness Test What do YOU see?. Image 1 Both the normal and those with all sort of color vision deficiencies read it as 12.
Multilevel Analysis With R
The simple linear regression model and parameter estimation
Simple Linear Regression
Jefferson Davis Research Analytics
LEAST – SQUARES REGRESSION
Linear Regression Special Topics.
Ch12.1 Simple Linear Regression
Simple Linear Regression
Module 12 Math 075.
Regression Analysis PhD Course.
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
Linear Regression.
Prediction of new observations
Least Squares Fitting A mathematical procedure for finding the best-fitting curve to a given set of points by minimizing the sum of the squares of the.
Chapter 2 Looking at Data— Relationships
The Least-Squares Line Introduction
Section 2: Linear Regression.
Nonlinear Fitting.
Discrete Least Squares Approximation
Generalized Linear Mixed Models
Determine the type of correlation between the variables.
CALCULATING EQUATION OF LEAST SQUARES REGRESSION LINE
Chapter 7 Demand Forecasting in a Supply Chain
Ch 4.1 & 4.2 Two dimensions concept
Lesson – How can I measure my linear fit? - Correlations
Correlation and Covariance
Problems of Tutorial 9 (Problem 4.12, Page 120) Download the “Data for Exercise ” from the class website. The data consist of 1 response variable.
Cases. Simple Regression Linear Multiple 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;
Regression and Correlation of Data
Presentation transcript:

Steps Continuous Categorical Histogram Scatter Boxplot Child’s Height Linear Regression Dad’s Height Gender Continuous Y X1, X2 X3 Type Variable Mom’s Height

Analytics & History: 1st Regression Line The first “Regression Line”

Which line fits the best?

Least Squares Regression Sum of Squares

Linear Modeling: Regression lm() function – lm stands for ‘linear model’. Model <-lm(outcome ~ predictor(s), data = dataFrame, na.action = an action))

Model 1

Compare Models Father XXX Mom XXX Gender XX R-square r R^ summary(model.1) summary(model.2) summary(model.3) summary(model.4) summary(model.5) model.1 <- lm(childHeight~father, data = h) model.2 <- lm(childHeight~mother, data = h) model.3 <- lm(childHeight~father + mother, data = data =h) model.4 <- lm(childHeight~gender, data = h) model.5 <- lm(childHeight~father + mother + gender, data = h)

Model Specification Height = *father mother Gender + error Gender: Male: 1 Female: 0