www.crosshyou.info

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

Data_Analysis

World Bank's Pregnant women receiving prenatal care (%) data analysis 7 - Random Forest Method with "tidymodel"

Generated by Bing Image Creator: Long view photo of Yakushima Island www.crosshyou.info This post is following of the above post. In the above post, I use Logistinc Regression to predict ninety. In this post I will use Random Forest. I ref…

World Bank's Pregnant women receiving prenatal care (%) data analysis 6 - Classification practice with tidymodels package

Generated by Bing Image Creator: Close up photo of wisteria flowers. www.crosshyou.info In this post, I will do classification practice using tidymodels workflow. I refer to tidymodels - Preprocess your data with recipes First, I make a du…

World Bank's Pregnant women receiving prenatal care (%) data analysis 5 - Regression Analysis(one categorical, one numerical) with tidymodels workflow

Generated by Bing Image Creator: Close up photo of yellow roses www.crosshyou.info This post is following of the above post. In this post, I will do regression anaysis using tidymodels workflow. I refere to tidymodels - Build a model To be…

World Bank's Pregnant women receiving prenatal care (%) data analysis 4 - ANOVA with infer package

Generated by Bing Image Creator: long wide range landscape view, early fall season, nature field, photo www.crosshyou.info This post is following of above post.In this post, I will do ANOVA(Analysis of Variance) with infer package of R. Fi…

World Bank's Pregnant women receiving prenatal care (%) data analysis 3 - Visualizing data with ggplot2 package

UnsplashのNatalia Marcelewiczが撮影した写真 www.crosshyou.info This post is following of the above post. In this post, let's visualize data with ggplot2 package. First, let's make an overall histogram. Many observations are 100% care. Next…

World Bank's Pregnant women receiving prenatal care (%) data analysis 2 - merge care (%) data frame and country meta data frame.

Generated by Bing Image Creator: Long wide range landscape of beautiful beach, photo style www.crosshyou.info This post is following of the above post. CSV files from World Bank web site includes country meta data file like below. I will l…

World Bank's Pregnant women receiving prenatal care (%) data analysis 1 - Loading CSV file data into R

Generated by Bing Image Creator: Landscape of dogwood flowers. I will analyze World Bank's "Pregnant women receivig prenatal care (%) data with R. I got data from https://data.worldbank.org/indicator/SH.STA.ANVC.ZS?view=map The CSV file is…

World Bank Population living in slums data analysis 6 - Hierarchical Clustering using R

Generated by Bing Image Creator: Unique landscape view traditional Japanese local area with rape blossoms, photo www.crosshyou.info This post is followong of the above post. In this post I will do hierarchical clustering using R. First I m…

World Bank Population living in slums data analysis 5 - Simulation based multiple regression analysis with R infer package

Generated by Bing Image Creator: Long view from far, small creek, a few trees, one side road along with beautiful flowers, blue sky and white clouds, photo www.crosshyou.info This post is followng of the above post. In this post, I will do…

World Bank Population living in slums data analysis 4 - Simulation based statistical inference with R infer package

Generated by Bing Image Creatpr: Wide large view of rice fields in the summer, blue sky and sunflower www.crosshyou.info This post is following of the above post. In this post I will do simulation based statistical inference with R infer p…

World Bank Population living in slums data analysis 3 - Which country has decreased living in slums most?

Generated by Bing Image Creator: Long view from the sky, high mountains and green grass fields, photo www.crosshyou.info This post is following of the above post. In the previous post, I find data start from 2000 to 2020. So, let's see how…

World Bank Population living in slums data analysis 2 - making histograms using R

Generated by Bing Image Creator: Beautiful flower bucket, photo www.crosshyou.info This post is following of the above post. In the previous post, I load Population living in slums data into R. In this post, I will make histograms using R …

World Bank Population living in slums data analysis 1 - import CSV file data into R and tidying data.

Generated by Bing Image Creator: Local area photograph, apple trees, blue sky and white clouds In this post, I will analyze World Bank Population living in slums data using R. Population living in slums (% of urban population) | Data (worl…

OECD Household savings data analysis 6 - Panel Data regression analysis using R plm package.

Generated by Bing Image Creator: Photograph of narcissus tazetta garden with spring shiny sky, more bright tone www.crosshyou.info This post is following of the above post. I will do panel data regression analysis in this post. I refert to…

OECD Household savings data analysis 4 - Join World Bank per capita GDP data using R inner_join() function

Generated by Bing Image Creator: Photographs of rape blossoms like an illustrated book, more shiny and green www.crosshyou.info This post is following of above post. In the previous post, I found year 2000 is a special year for household s…

OECD Household savings data analysis 3 - Using R reveals Year 2020 is special year for Household savings.

Generated by Bing Image Creator:Lovely photograph of beautiful sunflowers in a city www.crosshyou.info This post is following of the above post. In the above post, I made a subset data frame, which is balanced panel data. Let's see time tr…

OECD Household savings data analysis 2 - Data visualization, histogram, bar chart and box plot with R ggplot2

Generated by Bing Image Creator: photo of real iris flower garden www.crosshyou.info This post is following of the above post. In the previous post, I make a tidy data frame. In this post, I will do visualization to get the feeling of what…

OECD Household savings data analysis 1 - Import CSV file data into R using read_csv() function.

Generated by Bing Image Creator:Beautiful scientific natural flowers on the moon, photo In this post, I will analyse OECD Household savings data with R. I downloaded below CSV fril from OECD web site. I use R to analyze above data. To begi…

OECD Total official and private flows data analysis 6 - Regression using R's rpart package

Generated by Bing Inage Creator: Photo of tulips and cherry blossomes in the moon. www.crosshyou.info This post is following of above post. In this post, I will do regression using R's 'rpart' package. I learned how to use 'rpart' package …

OECD Total official and private flows data analysis 5 - Classification using R's glmnet package.

Generated by Bing Image Creator: Photo of dandelions and violets blooming all over a field www.crosshyou.info This post is following of the above post. In the previous post, I used R's 'tree' package. In this post, I will use R's 'glmnet' …

OECD Total official and private flows data analysis 4 - Classification using R's tree package.

Generated by Bing Image Creator: Picture with lots of red maple leaves www.crosshyou.info This post is following of the above post. In the previous post, I made a dummy variable 'neg' which indicates whether a LOCATION has negative value o…

OECD Total official and private flows data analysis 3 - Monte Carlo Simulation using R.

Generated by Bing Image Creator: Pictures of plum blossoms blooming in a rainforest. www.crosshyou.info This posit is following of the above post. In the previous post, I make two groups for LOCATION, one is neg == 1, which has negative va…

OECD Total official and private flows data analysis 2 - Summary Statistics using R

UnsplashのNastasia Kalininaが撮影した写真 www.crosshyou.info This post is following of the above post. Let's see summary statistics. First, let's see summary statistics by LOCATION. Let's see summary stats by TIME. I use group_by() functio…

OECD Total official and private flows data analysis 1 - Load CSV file into R and some data wrangling.

UnsplashのCosmic Timetravelerが撮影した写真 Hello. I will analyse OECE Total offical and private flows using R. I download data CSV file from the OECD web site. https://data.oecd.org/drf/total-official-and-private-flows.htm I got the CSV l…

OECD Trust in government data analysis 6 - Multiple(one numerical, one categorical variable) Linear Regression with R. I am very confident that per capita GDP is related to Trust in government

Generated by Bing Image Creator: Phot of beautiful nature scene, that includes blue sky, while clouds, yellow flowers, green fields. www.crosshyou.info This post is following of the above post.In this post I use l_pc_gdp and country for ex…

OECD Trust in government data analysis 5 - Multiple(two numerical variables) Linear Regression with R, log(per capita GDP) is still significant under controlling year.

Generated by Bing Image Creator: Photograph of coral leaf with beautiful fishes, more colorful. www.crosshyou.info This post is followoing of previous post above. In this post, I will do multiple regression analysis using 'infer' package w…

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 …