www.crosshyou.info

政府統計の総合窓口のデータや、OECDやUCIやのデータを使って、Rの練習をしています。ときどき、読書記録も載せています。

OECD Household disposable income data analysis 3 - making some graphs using R.

f:id:cross_hyou:20210814150120j:plain

 Photo by Lorena Schmidt on Unsplash  

www.crosshyou.info

This post is following of above post.

In this post, let's make some graphs to understand data distributions, data relationship.

Fisrt, a histgram of gr_us.

f:id:cross_hyou:20210814150642p:plain

f:id:cross_hyou:20210814150655p:plain

ecdf plot of gr_us.

f:id:cross_hyou:20210814150805p:plain

f:id:cross_hyou:20210814150816p:plain

boxplot of gr_us

f:id:cross_hyou:20210814150906p:plain

f:id:cross_hyou:20210814150918p:plain

We see there are a few outliers on upper area.

ne_ag histogram.

f:id:cross_hyou:20210814151923p:plain

f:id:cross_hyou:20210814151934p:plain

ecdf plot of ne_ag

f:id:cross_hyou:20210814152043p:plain

f:id:cross_hyou:20210814152054p:plain

boxplot of ne_ag

f:id:cross_hyou:20210814152142p:plain

f:id:cross_hyou:20210814152208p:plain

year vs. gr_us

f:id:cross_hyou:20210814152618p:plain

f:id:cross_hyou:20210814152629p:plain

country vs. gr_us

f:id:cross_hyou:20210814153018p:plain

f:id:cross_hyou:20210814153029p:plain

year vs. ne_ag

f:id:cross_hyou:20210814153225p:plain

f:id:cross_hyou:20210814153241p:plain

country vs. ne_ag

f:id:cross_hyou:20210814153513p:plain

f:id:cross_hyou:20210814153524p:plain

Finally, gr_us vs. ne_ag

f:id:cross_hyou:20210814153743p:plain

f:id:cross_hyou:20210814153754p:plain

In this graph, we see the greater gr_us, the lower variance of ne_ag.

That's it. Thank you!

Next post is

 

www.crosshyou.info

 

To see the fist post,

 

www.crosshyou.info