www.crosshyou.info

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

OECD Trust in government data analysis 8 - Trust is government cannot be explained simply by per capita GDP, inflation and long-term unemployment.

f:id:cross_hyou:20211127092348j:plain

Photo by Rob Wicks on Unsplash 

www.crosshyou.info

This post is following of above post. In the previous post I used only JPN data.
Let's use whole data in this post.
Firstly,  I make a multiple linear regression model by year. Dependent variable is trut: Trust in governmnet, independent variables are l_capi: log(per capita GDP), cpi: cpi growth rate, inflation rate and long_unemp: long term unemployment rate.

f:id:cross_hyou:20211127092825p:plain

Let's see l_capi coefficients.

f:id:cross_hyou:20211127092918p:plain

All year, coefficients are positive value, but only 2014 and 2015 are statistically different from 0.

Let's see cpi.

f:id:cross_hyou:20211127093107p:plain

2018 is negative coefficient but not statistically different from 0. Again, 2014 and 2015 has statistically different from 0.

How about long_unemp?

f:id:cross_hyou:20211127093312p:plain

There is no year which has statistically significant coeffcient. 

Next, I make linear regression model by iso.

f:id:cross_hyou:20211127093523p:plain

Let's see l_capi coefficient.

f:id:cross_hyou:20211127093626p:plain

LTU, COL, JPN, USA and KOR have statistically significant coefficient value, but COL and USA have nagative while LTU, JPN and KOR have positive value.

Let's see cpi.

f:id:cross_hyou:20211127093855p:plain

All iso don't have statistically significant coefficients from 0.

How about long_unemp?

f:id:cross_hyou:20211127094044p:plain

ESP, FRA, ITA, DNK and USA have statistically significant coefficient and they are all negative value. It seems make sense, the lower longterm unemployment, the higher trust in governmnet.

Trust in government cannot be explained simply by per capita GDP, inflation rate and longterm unemployment.

That's it. Thank you!

To read the 1st post,

 

www.crosshyou.info