2022-12-01から1ヶ月間の記事一覧
Unsplashのmicheile dot comが撮影した写真 www.crosshyou.info の続きです。今回はR言語でクラシフィケーション分析をしてみようと思います。 まず、caretパッケージの読み込みをします。 2019年と2020年のデータをトレーニング用のデータ、2021年のデータ…
地球外生命 アストロバイオロジーで探る生命の起源と未来 (中公新書) 作者:小林憲正 中央公論新社 Amazon 読みながらワクワクしました。 火星や金星、木星の衛星のエウロパ、土星の衛星のタイタンやエンケラドゥスなどにもしかしたら生命が存在するかもしれ…
UnsplashのSimon Bergerが撮影した写真 www.crosshyou.info の続きです。 今回は、R言語のinferパッケージを使って、opm(営業利益率)の平均値の信頼区間を算出してみます。 まずは、group_by()とsummarize()とmean()を使って、製造業のopm、卸売小売業のopm…
UnsplashのPete Wongが撮影した写真 www.crosshyou.info の続きです。前回はデータをグラフにしてみました。 今回は都道府県別のランキングを見てみましょう。 まずは、製造業のrevenueランキングです。filter()関数で製造業にしてから、arrange()関数とdesc…
UnsplashのAlex Basovが撮影した写真 www.crosshyou.info の続きです。 今回はデータをグラフにして、どんなデータなのかを把握してみたいと思います。 はじめに変数がどんなデータがあるかを確認したいと思います。 summary()関数で一覧してみます。 year_c…
UnsplashのSingle.Earthが撮影した写真 今回は都道府県別の個人企業経済調査のデータの分析をしてみたいと思います。 (振り返ってみると、2021年3月にもこのデータを分析していましたが、自分の中ではすっかり忘れていました。) 政府統計の総合窓口、www.e-s…
UnsplashのWaranont (Joe)が撮影した写真 www.crosshyou.info This post is following of the above post. In this post I will do linear regression anaysis using R. Firstly, I will start with one numerical explanatory variable. Above code shows t…
UnsplashのSonika Agarwalが撮影した写真 www.crosshyou.info This post is following of the above post. In this post, I will do bootstrapping with R infer package. Suppoese df2$priv_pc_gdp is population. So true mean of priv_pc_gdp is The true…
スピノザ――読む人の肖像 (岩波新書 新赤版) 作者:國分 功一郎 岩波書店 Amazon スピノザという哲学者が昔、オランダに住んでいました。 彼は、聖書やデカルトの方法序説などをとてもよく読んで、彼独自の新しい哲学を作ったようです。 私には難しくて、2割も…
UnsplashのArda Demirkaynakが撮影した写真 www.crosshyou.info This post is following of above post. In the previous post, I made some visualizations with R ggplot2 package. In this post. In this post I will calculate confidence intervals. Fi…