zarni amri zarni amri korelasi dan regresi s3 korelasi dan regresi s3 1 Correlation and Correlation and regression regression Zarni Zarni Amri Amri IKK-FKUI IKK-FKUI
Correlation and regressionZarni AmriIKK-FKUI
korelasi dan regresi s3
CorrelationStatistical Association or relationship between two variablesPositive correlation between Age and Blood Pressure the older people tend to have higher BP than young people
How two continuous variables are related?Positive or NegativeHo : two variables continuous are not relatedHi : two variables continuous are related
korelasi dan regresi s3
RegressionProvides a method for describing the relationship between two variablesGRE scores and grade receives in graduate school? GRE as predictor of grade in graduate schoolPredictor? Life expectancy predicted fromBody weightBlood PressureAgeCholesterol level andOther parameter
korelasi dan regresi s3
Correlation and regressionY = a + b XY axis = dependent variables or predicted variablesX axis = independent variablesDetermining regression linea = Y intercept, value of Y if X=0, point where the line crosses the y axis Positive ; when the line crosses above X axisNegative ; when the line crosses below X axis b = slope; the amount of Y change of 1 in the value of Xb positiveY increases when the X increasesb negativeY decreases when the X increases
korelasi dan regresi s3
Y = a + bxba
korelasi dan regresi s3
20y=1 + 2x31-1y=-1 + 2xy=21243Y = a + bx
korelasi dan regresi s3
Age and resting blood pressure by personality type A&BType A (n=16) Type B (n=17)
korelasi dan regresi s3
y=a+bxMean = Sx1/n mean age = 42.5 Sy1/n mean BP = 129.6
korelasi dan regresi s3
Sum of squareIs used as indicator , how well the regression line fits the dataS (x1y1)-{Sx1Sy1} / nS (x1)2 - (Sx1)2/ nbyxS (x1y1) =x1y1+x2y2+x3y3 +xnynS x1.Sy1 =(x1+x2+x3+xn)(y1+y2+y3+.ynS (x1)2 =(x1+x2+x3=..xn)2
korelasi dan regresi s3
Sample variance = S2S (x1-x) 2n-1S2 =S (x1)2 -(Sx1) 2/nn-1S (x1)2 -(Sx1) 2 /nn-1(n-1)S2==
korelasi dan regresi s3
Sum of squareIs used as indicator , how well the regression line fits the dataS (x1y1)-{Sx1Sy1} / nbyx(n-1)S2=A=74 , b=1.4 Berapa BP untuk age 30 tahun?Y1 =74 + 1.4 (30) = 116
korelasi dan regresi s3
SPSSAnalisis regressi dilakukan dengan memilih menu Analyze: Regression Linear... Garis regresiScatter : Graphs pilih scatter plotAnalyze: Regression Curve estimation ...
korelasi dan regresi s3
Scatter
korelasi dan regresi s3
Garis regresi
korelasi dan regresi s3
KorelasiKorelasi adalah pengukuran hubungan linier antara 2 variabel. Koefisien korelasi berkisar antara -1 s/d 1. Prosedur penghitungan korelasi;Mulai dengan menu Analyze Pilih Correlate dan terdapat 3 pilihan (1) Bivariate, (2) Partial, and (3) Distances. Korelasi bivariat dipakai hanya untuk 2 variabelKorelasi partial untuk pengukuran hubungan 2 variabel tetapi memperhitungkan satu atau lebih faktor lain. Analyze Correlate Bivariate...
korelasi dan regresi s3
Hasil SPSS
korelasi dan regresi s3
korelasi dan regresi s3
korelasi dan regresi s3
korelasi dan regresi s3
korelasi dan regresi s3
korelasi dan regresi s3
Simple Scatterplot
korelasi dan regresi s3
Simple scatterplot
korelasi dan regresi s3
Have you ever been this tired???
korelasi dan regresi s3
UJI BIVARIAT KORELASINUMERIK VS NUMERIKH1: Terdapat hubungan antara usia dengan BBUji KORELASI koefisien korelasi (r)PARAMETRIK : Pearson correlation (rp)NON-PARAMETRIK: Spearman rank test (rs)
korelasi dan regresi s3
PENILAIAN UJI KORELASI1. Arah hubunganNegatif (meniadakan)Positif (menguatkan)2. Kuat hubungan kriteria WHO (r)< 0,25 : sangat lemah0,25-0,5: cukup0,5-0,7: kuat> 0,7: sangat kuat3. Kemaknaan
korelasi dan regresi s3
CONTOH UJI KORELASIH1: Usia menarche anak berhubunan dg IMTBivariat: usia menarche (numerik), IMT (numerik)Distribusi: Uji KS tidak normalUji statistik Korelasi Spearman rank test , =0,05
Koefisien korelasi rs: -0,184 p =0,103Arah hubungan: negatif Kuat hubungan: tidak ada hubunganKemaknaan: tidak bermakna
Kesimpulan: H1 ditolak: usia menarche tidak berhubungan dengan IMT
korelasi dan regresi s3
korelasi dan regresi s3
korelasi dan regresi s3