PENGOLAHAN DAN PENYAJIAN

Slides:



Advertisements
Similar presentations
Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Advertisements

Forecasting Using the Simple Linear Regression Model and Correlation
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Uji Kelinearan dan Keberartian Regresi Pertemuan 02 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Simple Linear Regression and Correlation
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 21 Autocorrelation and Inferences about the Slope.
Chapter 12 Simple Linear Regression
Chapter 12 Simple Regression
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Simple Linear Regression Basic Business Statistics 11 th Edition.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
1 Pertemuan 13 Uji Koefisien Korelasi dan Regresi Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
SIMPLE LINEAR REGRESSION
Pengujian Parameter Koefisien Korelasi Pertemuan 04 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Chapter 12 Simple Linear Regression
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Linear Regression Example Data
Korelasi dalam Regresi Linear Sederhana Pertemuan 03 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Pertemua 19 Regresi Linier
Simple Linear Regression. Chapter Topics Types of Regression Models Determining the Simple Linear Regression Equation Measures of Variation Assumptions.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Simple Linear Regression Basic Business Statistics 10 th Edition.
Chapter 7 Forecasting with Simple Regression
Introduction to Regression Analysis, Chapter 13,
Chapter 13 Simple Linear Regression
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Chapter 13 Simple Linear Regression
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Purpose of Regression Analysis Regression analysis is used primarily to model causality and provide prediction –Predicts the value of a dependent (response)
Chapter 14 Simple Regression
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
© 2003 Prentice-Hall, Inc.Chap 13-1 Basic Business Statistics (9 th Edition) Chapter 13 Simple Linear Regression.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Statistical Methods Statistical Methods Descriptive Inferential
Chap 13-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 13-1 Chapter 13 Simple Linear Regression Basic Business Statistics 12.
Lecture 10: Correlation and Regression Model.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 12 Simple Linear Regression.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Chapter 13 Simple Linear Regression
Inference for Least Squares Lines
Statistics for Managers using Microsoft Excel 3rd Edition
Linear Regression and Correlation Analysis
Simple Linear Regression
Chapter 11 Simple Regression
Chapter 13 Simple Linear Regression
SIMPLE LINEAR REGRESSION
Introduction to Regression
St. Edward’s University
Chapter 13 Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

PENGOLAHAN DAN PENYAJIAN Oleh: I Gusti Bagus Rai Utama, SE., MMA., MA. http://www.bahankuliah.wordpress.com

Skala Pengukuran dan Alat Analisis Mode Median Mean Nominal Yes No Ordinal Interval Rasio

Purpose of Regression and Correlation Analysis Regression Analysis is Used Primarily for Prediction A statistical model used to predict the values of a dependent or response variable based on values of at least one independent or explanatory variable Correlation Analysis is Used to Measure Strength of the Association Between Numerical Variables

The Scatter Diagram Plot of all (Xi , Yi) pairs

Types of Regression Models Positive Linear Relationship Relationship NOT Linear Negative Linear Relationship No Relationship

Simple Linear Regression Model Relationship Between Variables Is a Linear Function The Straight Line that Best Fit the Data Y intercept Random Error Dependent (Response) Variable Independent (Explanatory) Variable Slope

Population Linear Regression Model Y Y = b + b X + e Observed Value i 1 i i e = Random Error i m = b + b X 1 i YX X Observed Value

Sample Linear Regression Model Ù Ù Yi = Predicted Value of Y for observation i Xi = Value of X for observation i b0 = Sample Y - intercept used as estimate of the population b0 b1 = Sample Slope used as estimate of the population b1

Simple Linear Regression Equation: Example Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760 You wish to examine the relationship between the square footage of produce stores and its annual sales. Sample data for 7 stores were obtained. Find the equation of the straight line that fits the data best

Scatter Diagram Example Excel Output

Equation for the Best Straight Line Ù From Excel Printout:

Graph of the Best Straight Line Yi = 1636.415 +1.487Xi Ù

Interpreting the Results Ù Yi = 1636.415 +1.487Xi The slope of 1.487 means for each increase of one unit in X, the Y is estimated to increase 1.487units. For each increase of 1 square foot in the size of the store, the model predicts that the expected annual sales are estimated to increase by $1487.

Measures of Variation: The Sum of Squares SST = Total Sum of Squares measures the variation of the Yi values around their mean Y _ SSR = Regression Sum of Squares explained variation attributable to the relationship between X and Y SSE = Error Sum of Squares variation attributable to factors other than the relationship between X and Y

Measures of Variation: The Sum of Squares Y Ù SSE =å(Yi - Yi )2 _ Ù Yi = b0 + b1Xi SST = å(Yi - Y)2 _ Ù SSR = å(Yi - Y)2 _ Y X Xi

Measures of Variation The Sum of Squares: Example Excel Output for Produce Stores SSR SSE SST

The Coefficient of Determination SSR regression sum of squares r2 = = SST total sum of squares Measures the proportion of variation that is explained by the independent variable X in the regression model

Coefficients of Determination (r2) and Correlation (r) Y r = +1 r2 = 1, Y r = -1 ^ Y = b + b X i 1 i ^ Y = b + b X i 1 i X X r2 = .8, Y r = +0.9 Y r2 = 0, r = 0 ^ ^ Y = b + b X Y = b + b X i 1 i i 1 i X X

Standard Error of Estimate Ù = The standard deviation of the variation of observations around the regression line

Measures of Variation: Example Excel Output for Produce Stores Syx r2 = .94 94% of the variation in annual sales can be explained by the variability in the size of the store as measured by square footage

Linear Regression Assumptions For Linear Models 1. Normality Y Values Are Normally Distributed For Each X Probability Distribution of Error is Normal 2. Homoscedasticity (Constant Variance) 3. Independence of Errors

Variation of Errors Around the Regression Line y values are normally distributed around the regression line. For each x value, the “spread” or variance around the regression line is the same. f(e) Y X2 X1 X Regression Line

Residual Analysis Purposes Graphical Analysis of Residuals Examine Linearity Evaluate violations of assumptions Graphical Analysis of Residuals Plot residuals Vs. Xi values Difference between actual Yi & predicted Yi Studentized residuals: Allows consideration for the magnitude of the residuals Ù

Residual Analysis for Linearity ü Not Linear Linear e e X X

Residual Analysis for Homoscedasticity ü Heteroscedasticity Homoscedasticity SR SR X X Using Standardized Residuals

Residual Analysis: Computer Output Example Produce Stores Excel Output

The Durbin-Watson Statistic Used when data is collected over time to detect autocorrelation (Residuals in one time period are related to residuals in another period) Measures Violation of independence assumption Should be close to 2. If not, examine the model for autocorrelation.

Residual Analysis for Independence ü Not Independent Independent SR SR X X

Inferences about the Slope: t Test t Test for a Population Slope Is a Linear Relationship Between X & Y ? Null and Alternative Hypotheses H0: b1 = 0 (No Linear Relationship) H1: b1 ¹ 0 (Linear Relationship) Test Statistic: Where and df = n - 2

Example: Produce Stores Data for 7 Stores: Regression Model Obtained: Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760 Ù Yi = 1636.415 +1.487Xi The slope of this model is 1.487. Is there a linear relationship between the square footage of a store and its annual sales?

Inferences about the Slope: t Test Example Test Statistic: Decision: Conclusion: H0: b1 = 0 H1: b1 ¹ 0 a = .05 df = 7 - 2 = 5 Critical Value(s): From Excel Printout Reject H0 Reject Reject .025 .025 There is evidence of a relationship. t -2.5706 2.5706

Inferences about the Slope: Confidence Interval Example Confidence Interval Estimate of the Slope b1± tn-2 Excel Printout for Produce Stores At 95% level of Confidence The confidence Interval for the slope is (1.062, 1.911). Does not include 0. Conclusion: There is a significant linear relationship between annual sales and the size of the store.

Estimation of Predicted Values Confidence Interval Estimate for mXY The Mean of Y given a particular Xi Size of interval vary according to distance away from mean, X. Standard error of the estimate t value from table with df=n-2

Estimation of Predicted Values Confidence Interval Estimate for Individual Response Yi at a Particular Xi Addition of this 1 increased width of interval from that for the mean Y

Interval Estimates for Different Values of X Confidence Interval for the mean of Y Confidence Interval for a individual Yi Y Ù Yi = b0 + b1Xi _ X X A Given X

Example: Produce Stores Data for 7 Stores: Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760 Predict the annual sales for a store with 2000 square feet. Regression Model Obtained: Ù Yi = 1636.415 +1.487Xi

Estimation of Predicted Values: Example Confidence Interval Estimate for Individual Y Find the 95% confidence interval for the average annual sales for stores of 2,000 square feet Ù Predicted Sales Yi = 1636.415 +1.487Xi = 4610.45 ($000) tn-2 = t5 = 2.5706 X = 2350.29 SYX = 611.75 = 4610.45 ± 980.97 Confidence interval for mean Y

Estimation of Predicted Values: Example Confidence Interval Estimate for mXY Find the 95% confidence interval for annual sales of one particular stores of 2,000 square feet Ù Predicted Sales Yi = 1636.415 +1.487Xi = 4610.45 ($000) tn-2 = t5 = 2.5706 X = 2350.29 SYX = 611.75 = 4610.45 ± 1853.45 Confidence interval for individual Y

Correlation: Measuring the Strength of Association Answer ‘How Strong Is the Linear Relationship Between 2 Variables?’ Coefficient of Correlation Used Population correlation coefficient denoted r (‘Rho’) Values range from -1 to +1 Measures degree of association Is the Square Root of the Coefficient of Determination

Test of Coefficient of Correlation Tests If There Is a Linear Relationship Between 2 Numerical Variables Same Conclusion as Testing Population Slope b1 Hypotheses H0: r = 0 (No Correlation) H1: r ¹ 0 (Correlation)