Modul 5 Correlation Regression

download Modul 5 Correlation Regression

of 19

Transcript of Modul 5 Correlation Regression

  • 8/19/2019 Modul 5 Correlation Regression

    1/50

    CORRELATION &

    REGRESSION

    STATISTIKA TEKNIK

    LNK2016

  • 8/19/2019 Modul 5 Correlation Regression

    2/50

      Correlation is a statistical method used to determine whether a

    relationship between variables exists.

    Regression is a statistical method used to describe the nature of

    the relationship between variables, that is, positive or negative,

    linear or nonlinear.

    The purpose of this chapter is to answer these questionsstatistically:

    1. Are two or more variables related?

    2. If so, what is the strength of the relationship?

    3. What type of relationship exists?

    4. What kind of predictions can be made from the

    relationship?

  • 8/19/2019 Modul 5 Correlation Regression

    3/50

    !"#$%&'(

      !*+,-./0 1,23.4.5.2 6,+.7.4 89:92;.2 .24.+. 69.

  • 8/19/2019 Modul 5 Correlation Regression

    4/50

    &2.-0/0/ 5*+,-./0

    !  &2.-0/0/ 5*+,-./0 :,+4979.2 92495 1,2;959+ 5,59.4.2

    ./*/0./0 ?89:92;.2@ -02,.+ .24.+. 69.

    !  A(&B%$ C D&E F B$#!$DGDG!&E '&H&I B('&

    D(JG!!&E C B('& H$HK$ELGM( FI D&E'$B&%(!EF&

    !  !*+,-./0 406.5 1,2927955.2 89:92;.2 N92;/0*2.- .4.9

    6,2;.2 5.4. -.02I .2.-0/0/ 5*+,-./0 406.5 1,1:,6.5.2 .24.+.

  • 8/19/2019 Modul 5 Correlation Regression

    5/50

      correlation coefficient : a measure that REPRESENTS strength of the

    relationship between or among the variables.

    There are two types of relationships:

    simple and multiple.

    In a simple relationship, there are two variables

    —an independent variable, also called an explanatory variable or a predictor

     variable, and

    -- a dependent variable, also called a response variable.

     A simple relationship analysis is called simple regression, and there is one

    independent variable that is used to predict the dependent variable.

    In a multiple relationship, called multiple regression, two or more independent

     variables are used to predict one dependent variable. This type of study involves

    several variables.

  • 8/19/2019 Modul 5 Correlation Regression

    6/50

     

    Simple relationships can also be positive or negative.

     A positive relationship exists when both variables increase ordecrease at the same time.

    For instance, a person’s height and weight are related; and the

    relationship is positive, since the taller a person is, generally, themore the person weighs.

    In a negative relationship, as one variable increases, the

    other variable decreases, and vice versa.

    For example, if you measure the strength of people over 60 years ofage, you will find that as age increases, strength generally decreases.

    The word generally is used here because there are exceptions.

  • 8/19/2019 Modul 5 Correlation Regression

    7/50

      Some predictions are more accurate than others, due to

    the strength of the relationship.

    That is, the stronger the relationship is between

     variables, the more accurate the prediction is.

  • 8/19/2019 Modul 5 Correlation Regression

    8/50

    Scatter Plots and Correlation

    The possibilities include a positive linear relationship, a

    negative linear relationship, a curvilinear relationship, or nodiscernible relationship.

  • 8/19/2019 Modul 5 Correlation Regression

    9/50

    examples

    POSITIVE

    RELATION-

    SHIPTEND TO

    LINEAR

  • 8/19/2019 Modul 5 Correlation Regression

    10/50

     E 

     x a m p l   e 2 

    NEGATIVERELATION-

    SHIP

    TEND TO

    LINEAR

  • 8/19/2019 Modul 5 Correlation Regression

    11/50

     E 

     x a m p l   e 3 

    NO PATTERN

    NO SPECIFICRELATIONSHIP

  • 8/19/2019 Modul 5 Correlation Regression

    12/50

    !"$O('($E !"#$%&'(

    "  !*,P/0,2 !*+,-./0# 959+.2 /,:,+.=. 59.489:92;.2 .24.+. 69.

  • 8/19/2019 Modul 5 Correlation Regression

    13/50

    STRONG POSITIF LINEAR RELATIONSHIP $ 0 TO +1

    NO LINEAR RELATIONSHIP $ = 0STRONG NEGATIVE LINEAR RELATIONSHIP $ 0 TO -1

  • 8/19/2019 Modul 5 Correlation Regression

    14/50

    COEFFICIENT

    CORRELATION

  • 8/19/2019 Modul 5 Correlation Regression

    15/50

      D.-.1 .2.-0/0/ +,;+,/0I /,-.02 1,2;959+ 5,59.4.289:92;.2 .24.+. 69.

  • 8/19/2019 Modul 5 Correlation Regression

    16/50

  • 8/19/2019 Modul 5 Correlation Regression

    17/50

  • 8/19/2019 Modul 5 Correlation Regression

    18/50

  • 8/19/2019 Modul 5 Correlation Regression

    19/50

    !*+,-./0 K,.+/*2

  • 8/19/2019 Modul 5 Correlation Regression

    20/50

  • 8/19/2019 Modul 5 Correlation Regression

    21/50

    GX( !"#$%&'( B$#L&ED&

      B,+:,6. 6,2;.2 970 5*+,-./0 /,6,+8.2. 3.2; 8.23. 60;92.5.2 1,2;970 89:92;.2

    =.+40.-

  • 8/19/2019 Modul 5 Correlation Regression

    22/50

    TARAF SIGNIFIKANSI :

    •   Adalah suatu formasi yang ditetapkan oleh peneliti/penulis.

    •  Disimbolkan dengan :α 

    •  Disesuaikan dengan isu/topik kajian dan tuntutan akurasi

    data

    • 

    Sesuai alasan pertimbangan yang rasional;

    •  Untuk bidang eksakta/teknik ! = 5% = 0,05

    :(%& K#"B&(%(J&' Y !  (< 5%) MAKA H0 DITOLAKDAN HA diterima 

    012 32*456,2,

  • 8/19/2019 Modul 5 Correlation Regression

    23/50

  • 8/19/2019 Modul 5 Correlation Regression

    24/50

  • 8/19/2019 Modul 5 Correlation Regression

    25/50

    POSITIVE

    STRONG

    RELATIONSHIP

  • 8/19/2019 Modul 5 Correlation Regression

    26/50

    NEGATIVE

    STRONG

    RELATIONSHIP

  • 8/19/2019 Modul 5 Correlation Regression

    27/50

    POSITIVE

     WEAK

    RELATIONSHIP

  • 8/19/2019 Modul 5 Correlation Regression

    28/50

  • 8/19/2019 Modul 5 Correlation Regression

    29/50

  • 8/19/2019 Modul 5 Correlation Regression

    30/50

    78,89 !6*050,8: 012

    !496;8,2

  • 8/19/2019 Modul 5 Correlation Regression

    31/50

    REGRESSION

    If the value of the correlation coefficient is significant,

    the next step is to determine the equation of the

    regression line, which is the data’s line of best fit.

    (Note: Determining the regression line when r is notsignificant and then making predictions using the

    regression line are meaningless.)

    The purpose of the regression line is to enable the

    researcher to see the trend and make predictions on

    the basis of the data.

  • 8/19/2019 Modul 5 Correlation Regression

    32/50

    •  Regresi #  alat ukur yang juga digunakan untuk

    mengukur ada atau tidaknya korelasi antar

     variabelnya.

    •  Istilah regresi itu sendiri berarti ramalan atau

    taksiran.

     

    Persamaan yang digunakan untuk mendapatkan garisregresi pada data diagram pencar disebut persamaan

    regresi.

    •  Untuk menempatkan garis regresi pada data yang

    diperoleh maka digunakan metode kuadrat terkecil,sehingga bentuk persamaan regresi adalah sebagai

    berikut: Y’ = a + b X

  • 8/19/2019 Modul 5 Correlation Regression

    33/50

    &E&%('(' #$L#$'(

      M&HK(# '&H& D$EL&E &E&%('(' !"#$%&'(

    JGXG&E R H$%(M&J MGBGEL&E '&JG &M &EJ

    A(&B%$ F&EL %$B(M !MG'G'I D(H&E& A(&B%$C B$#OGEL'( 'BL A(&B%$ B$B&' ?F&ELH$HK$ELGM(@ D&E A(&B%$ &D&%&M

    A(&B%$ J$#(!&J ?F&EL D(K$ELGM(@

    C# A(&B%$ D$K$ED$EI F# (ED$K$ED$E

    A(&B%$ C D&E F B$#!$DGDG!&E '&H&I B('&D(JG!!&E C B('& H$HK$ELGM( FI D&E

    '$B&%(!EF&

  • 8/19/2019 Modul 5 Correlation Regression

    34/50

      MGBGEL&E ?&J&G K$ELGM@ D%H &E&%('(' #$L#$'(D(JGEXG!!&E D&%&H B$EJG! L(' %G#G'?K%"JJ(EL D&J& A(&B$%@

    GEJG! H$F&!(E!&E B&M^& H"D$% K(%(M&E &D&%&M%(E($#I J$#%$B(M D&MG%G BG&J '_&JJ$# K%"J ?K%"JMGB C D&E F &K&!&M _$ED$#GEL H$HB$EJG! L('%G#G'@

    &'GH'(!&E !$E"#H&%&E ?$##"#@T J&EK& GX(E"#H&%(J&'I !$E& A(&B$% C B$'&E FLD(J$EJG!&E ?BG!&E &_&!@

    H"D$% #$L#$'( R K$#'&H&&E R F` a . V : C

    J(EF& '$J(&K '&JG E(%&( A(&B$% C I H&!& E(%&(A(&B$% F D&K&J D(K#$D(!'( H$ELLGE&!&EK$#'&H&&E J'B

    H"D$% K(%(M&E %(E($# J(D&! HGJ%&!> B(%& '_&JJ$#K%"J J(D&! H$EGEXG!!&E !$_$ED$#GEL&E %(E($#IH&!& H"D$% D$EL&E K"%& %&(E D&K&J

  • 8/19/2019 Modul 5 Correlation Regression

    35/50

    PERSAMAAN REGRESI

  • 8/19/2019 Modul 5 Correlation Regression

    36/50

      MGBGEL&E ?&J&G K$ELGM@ D%H &E&%('(' #$L#$'(D(JGEXG!!&E D&%&H B$EJG! L(' %G#G'?K%"JJ(EL D&J& A(&B$%@

    GEJG! H$F&!(E!&E B&M^& H"D$% K(%(M&E &D&%&M%(E($#I J$#%$B(M D&MG%G BG&J '_&JJ$# K%"J ?K%"JMGB C D&E F &K&!&M _$ED$#GEL H$HB$EJG! L('%G#G'@

    &'GH'(!&E !$E"#H&%&E ?$##"#@T J&EK& GX(E"#H&%(J&'I !$E& A(&B$% C B$'&E FLD(J$EJG!&E ?BG!&E &_&!@

    H"D$% #$L#$'( R K$#'&H&&E R F` a . V : C

    J(EF& '$J(&K '&JG E(%&( A(&B$% C I H&!& E(%&(A(&B$% F D&K&J D(K#$D(!'( H$ELLGE&!&EK$#'&H&&E J'B

    H"D$% K(%(M&E %(E($# J(D&! HGJ%&!> B(%& '_&JJ$#

    K%"J J(D&! H$EGEXG!!&E !$_$ED$#GEL&E %(E($#IH&!& H"D$% D$EL&E K"%& %&(E D&K&J

  • 8/19/2019 Modul 5 Correlation Regression

    37/50

    DARI PERSAMAAN REGRESI  Y’ = a + b X

    •  Nilai konstan (a)$ nilai nol untuk variable observasi x

    (negatif or positif)

    • 

    Bilai nilai x jauh dari 0 maka nilai tersebut hanyamerupakan ekstrapolasi (penaksiran diluar jangkauan)

    •  Nilai (b) merupakan koefisien regresi, nilai tersebut

    menunjukkan kemiringan garis lurus yang ditemukan.

    • 

    Makna nilai b, setiap x bertambah satu satuan,maka yakan bertambah menjadi b kali satuan pengukuran

  • 8/19/2019 Modul 5 Correlation Regression

    38/50

    •  Kesamaan di antara garis regresi dan garis trend tidak

    dapat berakhir dengan persamaan garis lurus.

     

    Garis regresi (seperti garis trend dan nilai tengaharitmatika) memiliki dua sifat matematis berikut :

    !(Y – Y’) = 0 dan !(Y – Y’)2 = nilai terkecil atau

    terendah.

    • 

    Dengan perkataan lain, garis regresi akanditempatkan pada data dalam diagram sedemikian

    rupa sehingga penyimpangan (perbedaan) positif titik-

    titik terhadap titik-titik pencar di atas garis akan

    mengimbangi penyimpangan negatif titik-titik pencar

     yang terletak di bawah garis, sehingga hasil

    penyimpangan keseluruhan titik-titik terhadap garis

    lurus adalah nol.

  • 8/19/2019 Modul 5 Correlation Regression

    39/50

    !"$O('($E D$J$#H(E&'(?#b@

      #b$ K#"K"#'( D( A(&E A(&B%$D$K$ED$EI B&M^& A(&B%$ D$K$ED$E D&K&J

    D(K$#X$%&' "%$M A(&B$% (ED$K$ED$E '$B$'

    E(%&( !"$O('($E D$J$#H(E&'( J$#'$BGJ

    #GHG' !"$O !"#$%&'(R

    KOEFISIEN DETERMINASI$ R 2 = R *

    R

  • 8/19/2019 Modul 5 Correlation Regression

    40/50

    '(O&J '(O&J !"$O('($ED$J$#H(E&'(

    %  E(%&( #b$ &EJ& W '&HK&( D$EL&E U

    %  #b a W# A(&B$% D$K$ED$E J(D&! D&K&J

    D(J&O'(#!&E "%$M A(&B%$ (ED$K$ED$E

    #b aU ?UWWc@$ A(&B$% D$K$ED$E D&K&JD(J&O'(#!&E "%$M A(&B$% (ED$K$ED$E '$_&'$HKG#E& J&EK& $##"#

    %  GEJG! W Y #b Y U$ _"EJ"M #b a WId a dWcI J(EF& R

    A(&B$% D$K$ED$E ?F@ DKJ D(J&O'(# &J&GD(X$%&'!&E "%$M A(BB$% C '$B$' dWcI D&E eWc%&(EEF& J(D&! D&K&J D(X$%&'!&E "%$M A(&B$% CIJ&K( D&K&J D(X$%&'!&E "%$M A(&B%$ (ED$K$ED$E%&(E F&EL J(D&! D(&H&J(>

  • 8/19/2019 Modul 5 Correlation Regression

    41/50

    _"EJ"M

    D&J& C a !G&%(J&'K$%&F&E&EI

    F a A"%GH$ K$EXG&%&EK#"DG!

    TENTUKAN

     A.  Nilai korelasi dan determinasi

    B.  Persamaan Regresi Sederhana

    C.   Analisis dan Kesmpulan

  • 8/19/2019 Modul 5 Correlation Regression

    42/50

  • 8/19/2019 Modul 5 Correlation Regression

    43/50

  • 8/19/2019 Modul 5 Correlation Regression

    44/50

  • 8/19/2019 Modul 5 Correlation Regression

    45/50

     

    Given a scatter plot, you must be able to draw the line of best fit.

    Best fit means that the sum of the squares of the vertical distancesfrom each point to the line is at a minimum.

    The reason you need a line of best fit is that the values of y will bepredicted from the values of x; hence, the closer the points are to theline, the better the fit and the prediction will be.

  • 8/19/2019 Modul 5 Correlation Regression

    46/50

  • 8/19/2019 Modul 5 Correlation Regression

    47/50

  • 8/19/2019 Modul 5 Correlation Regression

    48/50

  • 8/19/2019 Modul 5 Correlation Regression

    49/50

  • 8/19/2019 Modul 5 Correlation Regression

    50/50