www.crosshyou.info

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

OECD NEET Data Analysis 4 - NEET percentage and per capita GDP has negative correlation

f:id:cross_hyou:20211002102644j:plain

Photo by Stephanie LeBlanc on Unsplash 

www.crosshyou.info

This post is following of the above post.

Let's check how many observations each country has.

f:id:cross_hyou:20211002104642p:plain

f:id:cross_hyou:20211002104709p:plain

Max observations is 24. Many country has more than 20 observations.
So, let's see average value for countries which has more than 20 observations.

f:id:cross_hyou:20211002105417p:plain

f:id:cross_hyou:20211002105429p:plain

We see TUR has the highest NEET percentage and NLD has the lowest one.

Then, let's see relationship between NEET and GDP data.
Let's import GDP data like below.

f:id:cross_hyou:20211002105650p:plain

coun equals LOCATION, year equals TIME. We can merger this data by coun = LOCATION and year = TIME.

usd is GDP in USD and capi is per capita GDP in USD.

f:id:cross_hyou:20211002110300p:plain

Good.
Let's see men_15_29 and capi relationship.

f:id:cross_hyou:20211002110712p:plain

f:id:cross_hyou:20211002110724p:plain

There seems negative correlation.

Let's see women_15_29 and capi.

f:id:cross_hyou:20211002113258p:plain

f:id:cross_hyou:20211002113311p:plain

women_15_29 and par capita GDP relationship is simmilar to men_15_29 and per capita GDP relationship.

That's it. Thank you!

To read from the 1st post,

 

www.crosshyou.info