Rで何かをしたり、読書をするブログ

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

2024-07-01から1ヶ月間の記事一覧

World Bank's Lead time to import data analysis 5 - Country performance - improvements and worsening

Generated by Bing Image Creator: Landscape view of low mountains, sunset time, golden colored morning glory flowers, photo www.crosshyou.info This post is following of the above post. In the previous post, I found Lead time to import diffe…

World Banks's Lead time to import data analysis 4 - Lead time variation by region, group, year -- using 'infer' package.

Generated by Bing Image Creator: long landscape view of green fields with blue sky and white clouds. There is phalaenopsis orchid flowers. Photo www.crosshyou.info This post is following of the above post. In the previous post, I see three…

World Bank's Lead time to import data analysis 3 - Visualize for two variables relationship with ggplot2

Generated by Bing Image Creator: Long view of natural hot springs, photo www.crosshyou.info This post is following of the above post. In this post I will make a few graphs to show relationship between lttl and other variables. First, lttl …

World Bank's Lead time to import data analysis 2 - Visualize for one variable with ggplot2 with displaying numbers

Bing Image Creator: Closeup lotus flowers on a very little lake, photo www.crosshyou.info This post is following of the above post. In this post, I will make graphs for one variables with ggplot2 to understand what my data is. Let's start …

World Bank's Lead time to import data analysis 1 - load CSV file and make a tidy dataframe.

Generated by Bing Image Creator: Closeup flowering blue, yellow, pink and red roses. Background is natural high mountains dark night sky and a nebula, photo In this series of posts, I will analyze Lead time to inport data from World Bank D…

UCI の Letter Recognition のデータの分析4 - glmnet パッケージの multinomial regression で4つの文字を判別する

Bing Image Creator で生成: Closeup flowering pansy, by the clear lake, photo www.crosshyou.info の続きです。 前回は決定木モデルで4つの文字、U, D, T, P を判別しました。 今回は glmnet パッケージを使って multinomial regression で4つの文字を…

UCI の Letter Recognition のデータの分析3 - 決定木モデルで4つの文字を判別する。

Bing Image Creator で生成: Long wide view of landscape for flowering dogwood forest. white cloud, blue sky, photo www.crosshyou.info の続きです。前回は U と D の区別をロジスティクス回帰でやってみました。99%という高い正解率でしたね。 今回は…

読書記録 - 「歴史とは何か」 E. H. カー 著 (岩波新書)

歴史とは何か (岩波新書 青版 447) 作者:E.H. カー 岩波書店 Amazon 1960年代に出版された本です。 過去の事実を集めて記述しただけでは歴史にはならないこと。 歴史は現在の光で過去を照らし、過去の光で現在を照らすという、過去と(現在の)歴史家の相互作…

UCI の Letter Recognition のデータの分析2 - R でロジスティクス回帰分析をして D と U を判別。正解率は 99.57%

Bing Image Creator で生成: landscape, long view, flowers of Agapanthus, blue sky, white clouds, photo www.crosshyou.info の続きです。 前回は U と D だけのデータフレームを作成しました。各変数の差を計算すると、X12 や X14 が違いが大きかったで…

UCI の Letter Recognition のデータの分析1 - R にデータを読み込む。

Bing Image Creator で生成: Natural landscape, long beach, flowering red morning glories and yellow sunflowers, blue sky and white clouds, sunset, photo 今回は UCI の Letter Recognition のデータを分析してみようと思います。 Slate,David. (199…