017-05-2017 Skillab Blok 26

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Format data dalam Excel

Keterangan

1
*Perintah mengisi kolom Variable Label.

Variable Label

V1 V1 = ID Responden
/V2 V2 = Jenis Kelamin
/V3 V3 = Tingkat Pendidikan
/V4 V4 = Umur
/V5 V5 = Berat Badan
/V6 V6 = Tinggi Badan
/V7 V7 = Sistolik
/V8 V8 = Diastolik
/V9 V9 = Total Kolesterol
/V10 V10 = Trigliserid Kolesterol
/V11 V11 = HDL Kolesterol
/V12 V12 = LDL Kolesterol
/V13 V13 = Gula Darah Sewaktu
/V14 V14 = Genetik PJK
/V15 V15 = Hemotokrit
/V16 V16 = PJK.
*Perintah mengisi kolom Value Label.

Value Label
V2
1Pria
0Wanita
/V3
1SD
2SLTP
3SLTA
4S1
5S2
6S3
/V14
0Nagtif
1Positif
/V16
0Negatif
1Positif.

2
Membuat struktur data analisis.

3
4
*Recode into Different Variables V3.

Compute V3a = V3.


Variable label V3a V3a = Tingkat Pendidikan.
Recode V3a
(1 2 3 = 0)
(4 5 6 = 1).
Value label V3a
0 P. Dasmen
1 P. Tinggi.
Freq Var V3a.

*Recode into Different Variables V4.

Compute V4a = V4.


Variable label V4a V4a = Katagori Kelompok Umur.
Recode V4a
(21 thru 30 = 1)
(31 thru 40 = 2)
(41 thru 50 = 3)
(51 thru 60 = 4)
(61 thru 70 = 5)
(71 thru 80 = 6).
Value label V4a
121-30 th
5
231-40 th
341-50 th
451-60 th
561-70 th
671-80 th.
Freq var V4a.

*Menghitung IMT.

Berat Badan( Kg)


IMT =
*Rumus ( Tinggi Badan(m) ) .
2

Compute IMT = V5/(V6/100)**2.


Variable label IMT IMT = Indeks Massa Tubuh.

*Recode into Different Variables IMT.

Compute IMT1 = IMT.


Variable Label IMT1 IMT1 = Katagori IMT.
Recode IMT1
(lo thru 18.49 = 1)
(18.50 thru 22.99 = 2)
(23.00 thru 24.99 = 3)
(25.00 thru 29.99 = 4)
(30.00 thru hi = 5).

Value label IMT1


1 BB Kurang
2 BB Normal
3 Berisiko Obesitas
4 Obesitas Tk.1
5 Obesitas Tk.2.
Freq var IMT1.

*Recode into Different Variables V7.

Compute V7a = V7.


Variable label V7a V7a = Katagori Tekanan Darah Sistolik.
Recode V7a
(lo thru 119 = 1)
6
(120 thru 139 = 2)
(140 thru 159 = 3)
(160 thru hi = 4).
Value label V7a
1 Normal
2 Berisiko Hipertensi
3 Hipertensi Tk.1
4 Hipertensi Tk.2.
Freq var V7a.

*Recode into Different Variables V8.

Compute V8a = V8.


Variable label V8a V8a = Katagori Tekanan Darah Diastolik.
Recode V8a
(lo thru 79 = 1)
(80 thru 89 = 2)
(90 thru 99 = 3)
(100 thru hi = 4).
Value label V8a
1 Normal
2 Berisiko Hipertensi
3 Hipertensi Tk.1
4 Hipertensi Tk.2.
Freq var V8a.
*Membuat Variabel Baru Tekanan Darah (TD).

Compute TD = 0.
If (V7a = 1 and V8a = 1) TD = 1.
If (V7a = 2 or V8a = 2) TD = 2.
If (V7a = 3 or V8a = 3) TD = 3.
If (V7a = 4 or V8a = 4) TD = 4.
Variable Label TD TD = Katagori Tekanan Darah.
Value Label TD
1 Normal
2 Berisiko Hipertensi
3 Hipertensi Tk.1
4 Hipertensi Tk.2.
Freq var TD.

*Recode into Different Variables V9.

Compute V9a = V9.


7
Variable label V9a V9a = Katagori Total Kolesterol.
Recode V9a
(lo thru 199 = 1)
(200 thru 239 = 2)
(240 thru hi = 3).
Value Label V9a
1 Normal
2 Agak Tinggi
3 Tinggi.
Freq Var V9a.

*Recode into Different Variables V10.

Compute V10a = V10.


Variable label V10a V10a = Katagori Trigliserid Kolesterol.
Recode V10a
(lo thru 149 = 1)
(150 thru 199 = 2)
(200 thru 499 = 3)
(500 thru Hi = 4).

Value Label V10a


1 Normal
2 Agak Tinggi
3 Tinggi
4 Sangat Tinggi.
Freq var V10a.

*Recode into Different Variables V11.

Compute V11a = V11.


Variable label V11a V11a = Katagori HDL Kolesterol.
Recode V11a
(lo thru 39 = 0)
(40 thru hi = 1).
Value label V11a
0 Rendah
1 Normal.
Freq var V11a.

*Recode into Different Variables V12.

8
Compute V12a = V12.
Variable label V12a V12a = Katagori LDL Kolesterol.
Recode V12a
(lo thru 99 = 1)
(100 thru 129 = 2)
(130 thru 159 = 3)
(160 thru hi = 4).

Value label V12a


1 Normal
2 Agak Tinggi
3 Tinggi
4 Sangat Tinggi.
Freq var v12a.

*Count LIPID: Trigliserid, HDL, LDL, Total Kolesterol Normal.

Count L1 = V9a V10a V11a V12a (1).


Variable Label L1 Profil Lipid.
Value Label L1
0 tdk ada yg normal
1 1 normal
2 2 normal
3 3 normal
4 semua normal.
Freq var L1.

Compute LIPID =L1.


Variable Label LIPID LIPID = Profil Lipid.
Recode LIPID
(0 1 2 3 = 0)
(4 = 1).
Value Label LIPID
0 Tidak Normal
1 Normal.
Freq var LIPID.

*Recode into Different Variables V13.

9
Compute V13a = V13.
Variable label V13a V13a = Katagori Kadar Gula Sewaktu.
Recode V13a
(lo thru 99 = 1)
(100 thru 199 = 2)
(200 thru hi = 3).
Value label V13a
1 Normal
2 Gangguan Toleransi Gula
3 Diabetes Melitus.
Freq var V13a.

10

You might also like