STATISTIK INFERENSI: PENGUJIAN HIPOTESIS BAGI ANALISIS REGRESI DAN KHI-KUASA DUA Rohani Ahmad Tarmizi - EDU5950 1.

Slides:



Advertisements
Similar presentations
Regression and correlation methods
Advertisements

Lesson 10: Linear Regression and Correlation
13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Correlation and Linear Regression.
Correlation and Regression
Describing Relationships Using Correlation and Regression
Scatter Diagrams and Linear Correlation
Correlation & Regression Chapter 15. Correlation statistical technique that is used to measure and describe a relationship between two variables (X and.
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
Correlation and Linear Regression
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
9. SIMPLE LINEAR REGESSION AND CORRELATION
Bivariate Regression CJ 526 Statistical Analysis in Criminal Justice.
Linear Regression and Correlation
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
SIMPLE LINEAR REGRESSION
Business Statistics - QBM117 Least squares regression.
Pertemua 19 Regresi Linier
Ch 2 and 9.1 Relationships Between 2 Variables
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Correlation and Regression Analysis
Summary of Quantitative Analysis Neuman and Robson Ch. 11
Simple Linear Regression and Correlation
Lecture 5 Correlation and Regression
Correlation and Regression A BRIEF overview Correlation Coefficients l Continuous IV & DV l or dichotomous variables (code as 0-1) n mean interpreted.
Lecture 16 Correlation and Coefficient of Correlation
Correlation and Regression
Linear Regression.
Chapter 12 Correlation and Regression Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
ASSOCIATION BETWEEN INTERVAL-RATIO VARIABLES
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.
Section #6 November 13 th 2009 Regression. First, Review Scatter Plots A scatter plot (x, y) x y A scatter plot is a graph of the ordered pairs (x, y)
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Chapter 6 & 7 Linear Regression & Correlation
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
Introduction to Linear Regression
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Examining Relationships in Quantitative Research
Part IV Significantly Different: Using Inferential Statistics
MGS3100_04.ppt/Sep 29, 2015/Page 1 Georgia State University - Confidential MGS 3100 Business Analysis Regression Sep 29 and 30, 2015.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 16 Data Analysis: Testing for Associations.
Political Science 30: Political Inquiry. Linear Regression II: Making Sense of Regression Results Interpreting SPSS regression output Coefficients for.
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,
Correlation and Regression: The Need to Knows Correlation is a statistical technique: tells you if scores on variable X are related to scores on variable.
STATISTIK PENDIDIKAN EDU5950 SEM
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 12 Testing for Relationships Tests of linear relationships –Correlation 2 continuous.
Correlation & Regression Analysis
Advanced Statistical Methods: Continuous Variables REVIEW Dr. Irina Tomescu-Dubrow.
CORRELATION ANALYSIS.
1 Pertemuan 22 Regresi dan Korelasi Linier Sederhana-2 Matakuliah: A0064 / Statistik Ekonomi Tahun: 2005 Versi: 1/1.
SOCW 671 #11 Correlation and Regression. Uses of Correlation To study the strength of a relationship To study the direction of a relationship Scattergrams.
STATISTIK PENDIDIKAN EDU5950 SEM
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Lecture 10 Regression Analysis
Bivariate & Multivariate Regression Analysis
Regresi dan Korelasi Pertemuan 10
Understanding Research Results: Description and Correlation
Correlation and Simple Linear Regression
KORELASI.
Correlation and Regression
Correlation and Simple Linear Regression
Product moment correlation
Chapter Thirteen McGraw-Hill/Irwin
MGS 3100 Business Analysis Regression Feb 18, 2016
Presentation transcript:

STATISTIK INFERENSI: PENGUJIAN HIPOTESIS BAGI ANALISIS REGRESI DAN KHI-KUASA DUA Rohani Ahmad Tarmizi - EDU5950 1

ANALISIS REGRESI Analisis regresi adalah lanjutan daripada analisis korelasi dimana sesuatu hubungan telah diperoleh. Analisis regresi dilaksanakan setelah suatu pola hubungan linear dijangkakan serta suatu pekali ditentukan bagi menunjukkan terdapat hubungan yang linear antara dua pembolehubah. Selanjutnya bolehlah kita menelah atau meramal sesuatu pembolehubah (p/u criterion) setelah pembolehubah yang kedua (p/u predictive) diketahui.

Prosedurnya ANALISIS REGRESI MUDAH terdiri daripada: Melakarkan gambarajah sebaran bagi taburan pasangan skor tersebut Menentukan persamaan bagi garis regresi tersebut Persamaan ini juga dipanggil model regresi Persamaan/model bagi garis ini ialah Y’ = a + bx Dan selanjutnya dengan mengguna persamaan tersebut, nilai y boleh ditentukan bagi sesuatu nilai x yang telah ditentukan dan juga disebaliknya.

PERSAMAAN BAGI GARIS REGRESI (LEAST-SQUARES REGRESSION LINE) Y’ = a + bx Y’ = Nilai anggaran bagi y b = kecerunan bagi garis tersebut a = pintasan pada paksi y

b = n b = n [  x y ] - [  x  y ] [ n  x 2 - (  x) 2 ] KECERUNAN GARIS REGRESI n = bilangan pasangan skor n = bilangan pasangan skor jumlah skor x didarab dengan skor y  x y = jumlah skor x didarab dengan skor y jumlah skor x  X = jumlah skor x jumlah skor y  y = jumlah skor y

a = PINTASAN PADA PAKSI Y a = y – b x

Data: Tahap kepemimpinan pengetua dengan persepsi guru terhadap tahap kepemimpinan pengetua XY

PENGIRAAN ANALISIS REGRESI XYXYX2X2 Y2Y

PENGIRAAN ANALISIS REGRESI XYXYX2X2 Y2Y

PERSAMAAN BAGI GARIS REGRESI (LEAST-SQUARES REGRESSION LINE) Y’ = bx + a Y’ = Nilai anggran bagi y b= kecerunan bagi garis tersebut a= pintasan pada paksi y

r= Ini menunjukkan bahawa 49% variasi dalam y adalah sumbangan daripada X Kecerunannya ialah 0.82 Min bagi x ialah 7.7 Min bagi y ialah 8.4 a = 2.1 (pintasan di paksi y) Model regresi ialah Y’ =.82x Jika x=7, maka Y’= 7.84 Jika x=10, maka Y’= 10.3 Jika x=14, maka Y’=13.58

13 Regression & Correlation A correlation measures the “degree of association” between two variables (interval (50,100,150…) or ordinal (1,2,3...)) Associations can be positive (an increase in one variable is associated with an increase in the other) or negative (an increase in one variable is associated with a decrease in the other)

14 Example: Height vs. Weight Strong positive correlation between height and weight Can see how the relationship works, but cannot predict one from the other If 120cm tall, then how heavy?

Example: Symptom Index vs Drug A Strong negative correlation Can see how relationship works, but cannot make predictions What Symptom Index might we predict for a standard dose of 150mg?

16 Correlation examples

 Regression analysis procedures have as their primary purpose the development of an equation that can be used for predicting values on some DV for all members of a population.  A secondary purpose is to use regression analysis as a means of explaining causal relationships among variables. Regression

 The most basic application of regression analysis is the bivariate situation, to which is referred as simple linear regression, or just simple regression.  Simple regression involves a single IV and a single DV.  Goal: to obtain a linear equation so that we can predict the value of the DV if we have the value of the IV.  Simple regression capitalizes on the correlation between the DV and IV in order to make specific predictions about the DV.

 The correlation tells us how much information about the DV is contained in the IV.  If the correlation is perfect (i.e r = ±1.00), the IV contains everything we need to know about the DV, and we will be able to perfectly predict one from the other.  Regression analysis is the means by which we determine the best-fitting line, called the regression line.  Regression line is the straight line that lies closest to all points in a given scatterplot  This line sometimes pass through the centroid of the scatterplot.

“Best fit line” Allows us to describe relationship between variables more accurately. We can now predict specific values of one variable from knowledge of the other All points are close to the line Example: Symptom Index vs Drug A

We can still predict specific values of one variable from knowledge of the other Will predictions be as accurate? Why not? “Residuals” Example: Symptom Index vs Drug B

 3 important facts about the regression line must be known:  The extent to which points are scattered around the line  The slope of the regression line  The point at which the line crosses the Y-axis  The extent to which the points are scattered around the line is typically indicated by the degree of relationship between the IV (X) and DV (Y).  This relationship is measured by a correlation coefficient – the stronger the relationship, the higher the degree of predictability between X and Y.

 The degree of slope is determined by the amount of change in Y that accompanies a unit change in X.  It is the slope that largely determines the predicted values of Y from known values for X.  It is important to determine exactly where the regression line crosses the Y-axis (this value is known as the Y-intercept).

 The regression line is essentially an equation that express Y as a function of X.  The basic equation for simple regression is:  Y = a + bX  where Y is the predicted value for the DV,  X is the known raw score value on the IV,  b is the slope of the regression line  a is the Y-intercept

Simple Linear Regression ♠ Purpose To determine relationship between two metric variables To predict value of the dependent variable (Y) based on value of independent variable (X) ♠ Requirement : DV Interval / Ratio IV Internal / Ratio ♠ Requirement : The independent and dependent variables are normally distributed in the population The cases represents a random sample from the population

Simple Regression How best to summarise the data? Adding a best-fit line allows us to describe data simply

 Establish equation for the best-fit line: Y = a + bX General Linear Model (GLM) How best to summarise the data? Where: a = y intercept (constant) b = slope of best-fit line Y = dependent variable X = independent variable

 For simple regression, R 2 is the square of the correlation coefficient  Reflects variance accounted for in data by the best-fit line  Takes values between 0 (0%) and 1 (100%)  Frequently expressed as percentage, rather than decimal  High values show good fit, low values show poor fit Simple Regression R 2 - “Goodness of fit”

 R 2 = 0  (0% - randomly scattered points, no apparent relationship between X and Y)  Implies that a best-fit line will be a very poor description of data Simple Regression Low values of R 2

 R 2 = 1  (100% - points lie directly on the line - perfect relationship between X and Y)  Implies that a best-fit line will be a very good description of data Simple Regression High values of R 2

Good fit  R 2 high High variance explained Moderate fit  R 2 lower Less variance explained Simple Regression R 2 - “Goodness of fit”

32 Problem: to draw a straight line through the points that best explains the variance Line can then be used to predict Y from X

33  “Best fit line”  allows us to describe relationship between variables more accurately.  We can now predict specific values of one variable from knowledge of the other  All points are close to the line Example: Symptom Index vs Drug A

34  Establish equation for the best-fit line: Y = a + bX Best-fit line same as regression line b is the regression coefficient for x x is the predictor or regressor variable for y Regression

Step –Descriptive Analysis Derive Regression / Prediction equation ● Calculate a and b a = y – b X Ŷ = a + bX

Example on regression analysis Data were collected from a randomly selected sample to determine relationship between average assignment scores and test scores in statistics. Distribution for the data is presented in the table below. 1. Calculate coefficient of determination and the correlation coefficient 2. Determine the prediction equation. 3. Test hypothesis for the slope at 0.05 level of significance Data set: Scores IDAssign Test

1.Derive Regression / Prediction equation = = a= y – b x = 77.5 – (7.2) = IDXY Summary stat: n 10 ΣΧ 72 ΣΥ 775 ΣΧ² ΣΥ² 62,441 ΣΧΥ 5,795.5 Prediction equation: Ŷ = X

Interpretation of regression equation Ŷ = x For every 1 unit change in X, Y will change by units ΔXΔX ΔYΔY

MARITAL SATISFACTION Parents : X Children : Y Mean of XMean of Y No of pairs  X  Y  X squared Standard deviation  XY Example on regression analysis:

1.Derive Regression / Prediction equation a= y – b x = (5.29) = Prediction equation: Ŷ = x

Interpretation of regression equation Ŷ = x For every 1 unit change in X, Y will change by.65 units ΔXΔX ΔYΔY