www.crosshyou.info

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

2023-11-01から1ヶ月間の記事一覧

読書記録 - 「ジョブ型雇用社会とは何か 正社員体制の矛盾と転機」 濱口 桂一郎 著 岩波新書

ジョブ型雇用社会とは何か 正社員体制の矛盾と転機 (岩波新書) 作者:濱口 桂一郎 岩波書店 Amazon ジョブ型とは、はじめにジョブ(職種)があって、そのジョブに当てはまる人を採用する形態のことのようで、日本以外の国では、このジョブ型が当たり前で労働市…

OECD Trust in government data analysis 4 - Simple Linear Regression part II. I am very confident that trust and per capita GDP has positive relationship.

Generated by Bing Image Creator: Photograph of Japanese natural small river and wild fishes in the morning www.crosshyou.info This post is followong of the above post. In the previous post, I made a data frame which shows country averaged …

OECD Trust in government data analysis 3 - Simple Linear Regression Using 'infer' Package Workflow.

Generated by Bing Image Creator: Photograph of spring fields with tiny flowers and blue sky and white clouds www.crosshyou.info This post is following of the above post. In this post, I will do linear regression using infer package workflo…

OECD Trust in government data analysis 2 - visualizing data with R using ggplot2. one variable distribution, two variables relationship.

Generated by Bing Image Crator: Photography of Mt. Fuji and beautiful lake and blue sky and red foreasts www.crosshyou.info This post is following of the above post.In the previous post, I load OECD Trust in govenment data and per capita G…

OECD Trust in government data analysis 1 - import CSV file into R and make a tidy data frame.

Generated by Bing Image Creator : Photograph of Japanese Shrine and Blue Sky and White Could and Beautiful Flowers In this post I an going to analyze OECD Trust in government with R. Firstly, I downloaded CSV file like below from OECD web …

都道府県別の長屋建住宅数のデータの分析7 - R の infer パッケージで、回帰分析の係数の信頼区間を調べる。

Generated by Bing Image Creator: photograph of beautiful grass field and small path, lovely flowers and white clouds www.crosshyou.info の続きです。 前回は、infer パッケージで回帰分析の係数の p値を調べました。 今回は、係数の信頼区間を調べ…

都道府県別の長屋建住宅数のデータの分析6 - 回帰分析を R の infer パッケージの枠組みで実行して p値を計算する。

Generated by Bing Image Creator: Japanese river fall and blue sky and green and red and yellow forests www.crosshyou.info の続きです。 今回は、前回、前々回で実行した回帰分析を、infer パッケージの枠組みで実行してみます。 Full infer Pipeline…

読書記録 - 「リバタリアニズム - アメリカを揺るがす自由市場主義」 渡辺 靖 著 中公新書

リバタリアニズム-アメリカを揺るがす自由至上主義 (中公新書) 作者:渡辺 靖 中央公論新社 Amazon リバタリアニズムは、個人の自由を最大限尊重し、政府や国家の役割を最小限にしようと考える政治思想のようです。 筆者はアメリカのリバタリアニズムの政党や…

都道府県別の長屋建住宅数のデータの分析5 - Rで回帰分析。木造の長屋建住宅数/非木造の長屋建住宅数は2013年度は2003年度と比較して低下。

Generated by Bing Image Creator: Photographic of summer festival, beautiful flowers and landscape www.crosshyou.info の続きです。 今回は非説明変数をmoku_not(木造の長屋建住宅数 / 非木造の長屋建住宅数)にしてみます。 回帰分析をする前に、散布…

都道府県別の長屋建住宅数のデータの分析4 - 回帰分析によると、人口が増えると長屋建住宅数は増え、県内総生産額が増えると長屋建住宅数は減る。

Generated by Bing Image Creator : Photographic autumn festival www.crosshyou.info の続きです。 今回は、回帰分析をしてみます。 被説明変数をl_totalにして、説明変数をyear, l_pop, l_gdpにしてみましょう。 まず、散布図を描いてみます。 散布図を見…

読書記録 - 「「利他」の生物学 適者生存を超える進化のドラマ」 鈴木 正彦、末光 隆志 著

「利他」の生物学 適者生存を超える進化のドラマ (中公新書) 作者:鈴木正彦,末光隆志 中央公論新社 Amazon 「利他」の生物学というよりは、「共生」の生物学というタイトルのほうが相応しい気がしました。実際、あとがきにも、「利他と進化」が主題と書いて…

都道府県別の長屋建住宅数のデータの分析3 - Rで都道府県別ランキングのグラフを作成。

Generated by Bing Image Creator: Photograph of African field with wild animals and beautiful flowers. www.crosshyou.info の続きです。 木造の長屋建住宅数/非木造の長屋建住宅数、人口当たりの長屋建住宅数、県内総生産額当たりの長屋建住宅数の変数…

都道府県別の長屋建住宅数のデータの分析2 - Rのmutate()関数で新しい変数を作成し、ggplot()+geom_histogram(), hist()関数でヒストグラムを描く。

Generated by Bing Image Creator: landscape photograph, large river, blue ocean, white clouds. www.crosshyou.info の続きです。 まず、数値型変数を対数変換した新しい変数を作ります。ついでに木造の長屋と非木造の長屋の比率の変数も作ります。 新し…

都道府県別の長屋建住宅数のデータの分析1 - Rのread_csv()関数でCSVファイルを読み込み、skim()関数で様子を確認

Generated by Bing Image Creator: rice field, blue sky, little flower 今回は、都道府県別の長屋建住宅数のデータを分析してみようと思います。 政府統計の総合窓口、e-statのウェブサイトからデータを取得します。 地域のところをクリックします。 デー…