Skip to content

Instantly share code, notes, and snippets.

@komkanit
Created May 27, 2019 15:05
Show Gist options
  • Save komkanit/4c04fda31cb8ae557c5ce31bfa921046 to your computer and use it in GitHub Desktop.
Save komkanit/4c04fda31cb8ae557c5ce31bfa921046 to your computer and use it in GitHub Desktop.
-----------------------------
2c.รายได้ทุกปีแต่ละจังหวัด
-----------------------------
Bangkok
median: 5
mean: 37416.7
mode: 26054
sd: 8509.53
per 90: 48951
per 95: 49071
SamutPrakan
median: 5
mean: 21734.4
mode: 18100
sd: 3751.63
per 90: 25457
per 95: 27516
Nonthaburi
median: 5
mean: 30574.3
mode: 24211
sd: 4195.04
per 90: 35120
per 95: 36002
PathumThani
median: 5
mean: 25951.3
mode: 21793
sd: 6289.69
per 90: 33461
per 95: 37259
Ayutthaya
median: 5
mean: 20045.6
mode: 12918
sd: 5479.5
per 90: 26482
per 95: 27430
AngThong
median: 5
mean: 18257.2
mode: 10878
sd: 5956.73
per 90: 25506
per 95: 27073
LopBuri
median: 5
mean: 17000
mode: 10587
sd: 4857.65
per 90: 22955
per 95: 23190
SingBuri
median: 5
mean: 19668.4
mode: 10786
sd: 6160.99
per 90: 26112
per 95: 27113
ChaiNat
median: 5
mean: 16912
mode: 11159
sd: 6416.26
per 90: 22059
per 95: 27406
Saraburi
median: 5
mean: 21315.8
mode: 13281
sd: 6559.46
per 90: 29413
per 95: 31123
ChonBuri
median: 5
mean: 21377.7
mode: 14075
sd: 4761.26
per 90: 27257
per 95: 27812
Rayong
median: 5
mean: 21018.3
mode: 12491
sd: 6110.43
per 90: 30315
per 95: 30358
Chanthaburi
median: 5
mean: 20543.1
mode: 15548
sd: 6722.48
per 90: 27284
per 95: 31654
Trat
median: 5
mean: 17603.4
mode: 11703
sd: 6002.64
per 90: 25333
per 95: 26725
Chachoengsao
median: 5
mean: 20337.9
mode: 14010
sd: 6323.62
per 90: 27555
per 95: 31051
PrachinBuri
median: 5
mean: 17546.6
mode: 9852
sd: 5323.05
per 90: 24166
per 95: 24752
NakhonNayok
median: 5
mean: 15980
mode: 11809
sd: 4290.57
per 90: 23391
per 95: 23473
SaKaeo
median: 5
mean: 14627.5
mode: 6958
sd: 6414.72
per 90: 24805
per 95: 25879
Ratchaburi
median: 5
mean: 18841.8
mode: 12868
sd: 3752.94
per 90: 23202
per 95: 24472
Kanchanaburi
median: 5
mean: 15360.7
mode: 13082
sd: 2409.83
per 90: 18746
per 95: 18815
SuphanBuri
median: 5
mean: 14917.4
mode: 12409
sd: 1462.06
per 90: 15928
per 95: 16594
NakhonPathom
median: 5
mean: 25127.9
mode: 15178
sd: 7429.67
per 90: 33835
per 95: 37091
SamutSakhon
median: 5
mean: 19624.7
mode: 17565
sd: 4264.29
per 90: 23658
per 95: 26502
SamutSongkhram
median: 5
mean: 14857.1
mode: 11540
sd: 2366.54
per 90: 18310
per 95: 18336
Phetchaburi
median: 5
mean: 17413.6
mode: 14135
sd: 4125.42
per 90: 21784
per 95: 24107
PrachuapKhiriKhan
median: 5
mean: 16689.2
mode: 10017
sd: 5476.63
per 90: 23523
per 95: 25991
ChiangMai
median: 5
mean: 13485.7
mode: 10349
sd: 2830.68
per 90: 16141
per 95: 17232
Lamphun
median: 5
mean: 15575.4
mode: 8722
sd: 5075.7
per 90: 22505
per 95: 23169
Lampang
median: 5
mean: 14556.5
mode: 14177
sd: 3700.04
per 90: 19262
per 95: 19864
Uttaradit
median: 5
mean: 14010.6
mode: 10044
sd: 4455.96
per 90: 19239
per 95: 20291
Phrae
median: 5
mean: 13831
mode: 8522
sd: 4292.57
per 90: 19418
per 95: 20607
Nan
median: 5
mean: 12195.6
mode: 7387
sd: 3904.71
per 90: 17598
per 95: 17742
Phayao
median: 5
mean: 11509.2
mode: 7491
sd: 3485.09
per 90: 15491
per 95: 16582
ChiangRai
median: 5
mean: 11369.3
mode: 8924
sd: 2556.51
per 90: 13736
per 95: 14385
MaeHongSon
median: 5
mean: 8231.2
mode: 5934
sd: 2526.27
per 90: 9024
per 95: 12071
NakhonSawan
median: 5
mean: 15185.4
mode: 9500
sd: 5621.25
per 90: 21952
per 95: 23055
UthaiThani
median: 5
mean: 13529.2
mode: 7887
sd: 4893.67
per 90: 20115
per 95: 20132
KamphaengPhet
median: 5
mean: 15738.8
mode: 9769
sd: 3740.27
per 90: 20140
per 95: 21111
Tak
median: 5
mean: 12065.1
mode: 9423
sd: 3606.35
per 90: 17020
per 95: 18549
Sukhothai
median: 5
mean: 14380.2
mode: 10475
sd: 5365.82
per 90: 22252
per 95: 23186
Phitsanulok
median: 5
mean: 15188
mode: 12068
sd: 5028.69
per 90: 19235
per 95: 23362
Phichit
median: 5
mean: 15414.8
mode: 11185
sd: 4945.7
per 90: 21821
per 95: 21961
Phetchabun
median: 5
mean: 13387.2
mode: 8051
sd: 4600.36
per 90: 19918
per 95: 20627
NakhonRatchasima
median: 5
mean: 15363.4
mode: 9418
sd: 5847.9
per 90: 22479
per 95: 24427
BuriRam
median: 5
mean: 11811
mode: 8365
sd: 3885.36
per 90: 17316
per 95: 17898
Surin
median: 5
mean: 12276.4
mode: 6398
sd: 5515.74
per 90: 20315
per 95: 20833
SiSaKet
median: 5
mean: 11136.9
mode: 7669
sd: 3723.14
per 90: 16207
per 95: 17500
UbonRatchathani
median: 5
mean: 15186.9
mode: 10267
sd: 4547.99
per 90: 21660
per 95: 22002
Yasothon
median: 5
mean: 11028.4
mode: 7478
sd: 4446.77
per 90: 16767
per 95: 18142
Chaiyaphum
median: 5
mean: 12487.7
mode: 6220
sd: 5199.01
per 90: 18641
per 95: 21235
AmnatCharoen
median: 5
mean: 13078.7
mode: 8139
sd: 4073.5
per 90: 17273
per 95: 19223
NongBuaLamPhu
median: 5
mean: 12157.5
mode: 8386
sd: 4942.87
per 90: 17139
per 95: 19846
KhonKaen
median: 5
mean: 14757.5
mode: 11521
sd: 3761.72
per 90: 19779
per 95: 20558
UdonThani
median: 5
mean: 15411.3
mode: 7744
sd: 6331.17
per 90: 22817
per 95: 24391
Loei
median: 5
mean: 13113.9
mode: 9905
sd: 4059.65
per 90: 17958
per 95: 19474
NongKhai
median: 5
mean: 13861.1
mode: 12548
sd: 3803.01
per 90: 18058
per 95: 19632
MahaSarakham
median: 5
mean: 15195.8
mode: 8444
sd: 5707.4
per 90: 21644
per 95: 23552
RoiEt
median: 5
mean: 13067.5
mode: 5987
sd: 5214.28
per 90: 20167
per 95: 20336
Kalasin
median: 5
mean: 11441.2
mode: 6908
sd: 3431.85
per 90: 15452
per 95: 16372
SakonNakhon
median: 5
mean: 12600.1
mode: 7660
sd: 3945.06
per 90: 16854
per 95: 18067
NakhonPhanom
median: 5
mean: 10599.5
mode: 7909
sd: 3292.24
per 90: 14310
per 95: 15057
Mukdahan
median: 5
mean: 14058
mode: 9890
sd: 4522.41
per 90: 19048
per 95: 20959
NakhonSiThammarat
median: 5
mean: 18971.4
mode: 11196
sd: 6699.66
per 90: 27479
per 95: 28724
Krabi
median: 5
mean: 20469.2
mode: 11986
sd: 7663.75
per 90: 31012
per 95: 32181
Phangnga
median: 5
mean: 20092.4
mode: 7650
sd: 7441.93
per 90: 28842
per 95: 29229
Phuket
median: 5
mean: 26009.4
mode: 19313
sd: 3815.97
per 90: 31500
per 95: 31678
SuratThani
median: 5
mean: 23927.9
mode: 11967
sd: 9810.55
per 90: 36466
per 95: 36665
Ranong
median: 5
mean: 18348.5
mode: 9033
sd: 7206.43
per 90: 26049
per 95: 29170
Chumphon
median: 5
mean: 18937.2
mode: 10232
sd: 7572.94
per 90: 28022
per 95: 28664
Songkhla
median: 5
mean: 21122.1
mode: 15057
sd: 5678.36
per 90: 27356
per 95: 27508
Satun
median: 5
mean: 16514.9
mode: 8924
sd: 5547.47
per 90: 23209
per 95: 24304
Trang
median: 5
mean: 21639.2
mode: 12973
sd: 7644.49
per 90: 33270
per 95: 34757
Phattalung
median: 5
mean: 17861.5
mode: 12315
sd: 5171.35
per 90: 25202
per 95: 25685
Pattani
median: 5
mean: 13376.7
mode: 10737
sd: 3319.45
per 90: 17513
per 95: 18856
Yala
median: 5
mean: 14699.3
mode: 7560
sd: 4914.07
per 90: 21859
per 95: 22171
Narathiwat
median: 5
mean: 12040.1
mode: 6281
sd: 4332.75
per 90: 16834
per 95: 18362
-----------------------------
2b.รายได้ทุกจังหวัดแต่ละปี
-----------------------------
2541
median: 38
mean: 11039.4
mode: 26054
sd: 3885.85
per 90: 24211
per 95: 25132
2543
median: 38
mean: 10627.3
mode: 26909
sd: 4008.68
per 90: 24566
per 95: 25737
2545
median: 38
mean: 12028.4
mode: 29589
sd: 4579.39
per 90: 29119
per 95: 29354
2547
median: 38
mean: 13356.8
mode: 29843
sd: 4406.83
per 90: 26658
per 95: 28250
2549
median: 38
mean: 16094.7
mode: 36658
sd: 5619.35
per 90: 33835
per 95: 35246
2550
median: 38
mean: 16586
mode: 11889
sd: 5386.24
per 90: 32743
per 95: 35881
2552
median: 38
mean: 18849.7
mode: 42380
sd: 5724.88
per 90: 34626
per 95: 38503
2554
median: 38
mean: 20845.9
mode: 48951
sd: 6171.78
per 90: 36245
per 95: 42598
2556
median: 38
mean: 23221.7
mode: 49191
sd: 6689.36
per 90: 36865
per 95: 43028
2558
median: 38
mean: 23539.4
mode: 45572
sd: 6208.8
per 90: 41057
per 95: 43314
-----------------------------
2a.รายได้ทั้งหมดทุกปีทุกจังหวัด
-----------------------------
median: 380
mean: 16618.9
mode: 26054
sd: 7068.69
per 90: 48951
per 95: 49071
-----------------------------
3a.จังหวัดที่มีรายได้เฉลี่ยมากที่สุด
-----------------------------
Nonthaburi
-----------------------------
3b.ค่าพิสัยของทุกปีทุกจังหวัด
-----------------------------
44365
-----------------------------
3c.รายได้รวมของทุกปีทุกจังหวัด
-----------------------------
12630384
-----------------------------
4.ตารางแสดงรายได้เฉลี่ยแต่ละปี
-----------------------------
-----------------------------------------------------------------------------------------------------------------
| year | 2541 | 2543 | 2545 | 2547 | 2549 | 2550 | 2552 | 2554 | 2556 | 2558 |
| income | 11039.4 | 10627.3 | 12028.4 | 13356.8 | 16094.7 | 16586.0 | 18849.7 | 20845.9 | 23221.7 | 23539.4 |
-----------------------------------------------------------------------------------------------------------------
-----------------------------
5.กราฟแท่งแสดงรายได้เฉลี่ยแต่ละปี
-----------------------------
2541: ***********************
2543: **********************
2545: *************************
2547: ***************************
2549: *********************************
2550: **********************************
2552: **************************************
2554: ******************************************
2556: ***********************************************
2558: ************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment