smoothing data (median binning)

Assignment:

 

We have data for student’s income (in thousand rupiahs) while doing part time job along last holiday like below:

a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, aa

Smoothing that data using median binning technique.

 

Answer:

a

xx * 10

j

xx * 23

s

xx * 13

b

xx * 15

k

xx * 29

t

xx * 20

c

xx * 13

l

xx * 26

u

xx * 34

d

xx * 12

m

xx * 35

v

xx * 27

e

xx * 19

n

xx * 24

w

xx * 33

f

xx * 16

o

xx * 25

x

xx * 50

g

xx * 17

p

xx * 31

y

xx * 43

h

xx * 18

q

xx * 32

z

xx * 11

i

xx * 14

r

xx * 28

aa

xx * 37

xx = 45

 

a

450

j

1035

s

585

b

675

k

1305

t

900

c

585

l

1170

u

1530

d

540

m

1575

v

1215

e

855

n

1080

w

1485

f

720

o

1125

x

1800

g

765

p

1395

y

1935

h

810

q

1440

z

495

i

630

r

1260

aa

1665

Setelah data di dapatkan data di sortir dari yang terkecil sampai terbesar

 

a

450

h

810

k

1305

z

495

e

855

p

1395

d

540

t

900

q

1440

s

585

j

1035

w

1485

c

585

n

1080

u

1530

i

630

o

1125

m

1575

b

675

l

1170

aa

1665

f

720

v

1215

y

1800

g

765

r

1260

x

1935

dipartisi dalam bin-bin dengan equidepth 3 yaitu :

Bin 1 : a, z, d, s, c, I, b, f, g

Bin 2 : h, e, t, j, n, o, l, v, r

Bin 3 : k, p, q, w, u, m, aa, y, x

 

Masukkan bilangan pada tiap bin :

Bin 1 : 450, 495, 540, 585, 585, 630, 675, 720, 765

Bin 2 : 810, 855, 900, 1035, 1080, 1125, 1170, 1215, 1260

Bin 3 : 1305, 1395, 1440, 1485, 1530, 1575, 1665, 1800, 1935

 

Smoothing dengan bin-median (nilai tengah):

Bin 1 : 585, 585, 585, 585, 585, 585, 585, 585, 585

Bin 2 : 1080, 1080, 1080, 1080, 1080, 1080, 1080, 1080

Bin 3 : 1530, 1530, 1530, 1530, 1530, 1530, 1530, 1530, 1530

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: