Publications by Ramon Rodriguez-Santana, MBA,MPH

Machine Learning Regression Models in R

09.07.2024

Machine Leaning Regression Regression analysis in machine learning (ML) is a method used to examine the connection between independent variables and a dependent variable. This type of analysis it is known as predictive modeling, in which an algorithm or method is used to predict continuous outcomes. Here are the steps for conducting a ML regression...

2595 sym R (8030 sym/65 pcs) 6 img

Using the {tidycensus} package in R to estimate number of four Connecticut Hispanic subgroups populations

21.04.2024

Basic usage of {tidycensus} package. tidycensus enables users to interact with specific US Census Bureau data APIs. It retrieves data frames compatible with tidyverse and integrates a straightforward geography feature. Here is an example on how to use this package. Load libraries. library(tidyverse) ## ── Attaching core tidyverse packages ─...

1891 sym R (10279 sym/24 pcs) 3 img

Hierarchical cluster analysis of prescription counts by town of residence in R

02.04.2024

Hierarchical cluster analysis example Here are the steps on how to create a Hierarchical cluster analysis: Set working directory where your data file is located. setwd("~/Documents/CT 2023 prescription counts by town") Load libraries. library(tidyverse) # data manipulation ## ── Attaching core tidyverse packages ─────────...

1608 sym R (4775 sym/24 pcs) 4 img

K-Means and K-Medoids clustering of prescription counts by Connecticut towns

31.03.2024

R Markdown Here are the steps on how to K-Means and K-Medoids clustering: K-Means clustering Set working directory where data file is located. setwd("~/Documents/CT 2023 prescription counts by town") Load libraries. library(tidyverse) # data manipulation ## ── Attaching core tidyverse packages ───────────────�...

1015 sym R (19294 sym/23 pcs) 5 img

Create maps in R by merging shapefile with data source file

29.03.2024

Create maps by merging shapefile with data source file Here are the steps on how to create the maps: Set working directory of where shapefile and data source file is located. setwd("~/Documents/GIS Shapefiles/OD Drug Deaths Resident Town 2022") Load libraries. library(tidyverse) ## ── Attaching core tidyverse packages ───────�...

656 sym R (8034 sym/25 pcs) 2 img

Local Moran and Local Getis-Ord Maps of OD Deaths by Town of Residence using the {rgeoda} package in R

27.03.2024

Using the {rgeoda} package to create Local Moran and Local Getis-Ord Maps Here are the steps for making a cluster map and a hot spots map using the {rgeoda} package: Set working directory. setwd("~/Documents/GIS Shapefiles/OD Drug Deaths Resident Town 2022") Load libraries. library(tidyverse) ## ── Attaching core tidyverse packages ──�...

1298 sym R (3680 sym/17 pcs) 5 img

Create publication-ready analytical and summary tables using {gtsummary} package in R

09.03.2024

Create publication-ready analytical and summary tables using {gtsummary} package. Using the {gtsummary} package offers a stylish and adaptable method for producing analytical and summary tables that are ready for publication. This package uses sensible defaults with fully customizable features to summarize datasets, regression models, and more. Her...

723 sym R (15555 sym/15 pcs) 2 tbl

Build a HeatMap in R using the {leaflet} and {leaflet.extras} packages

06.03.2024

Creating a HeatMap from 2012 Starbucks locations in CT, MA and RI Here are the steps on how to build the HeatMap: Upload libraries. library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.4 ## ✔ for...

408 sym R (5036 sym/16 pcs)

Detecting anomalies in your data using Benford’s Law and R

05.03.2024

Detecting anomalies in your data using Benford’s Law. Analyzing large amounts of data in search of anomalies can be a frustrating task. You need techniques that allow you to quickly evaluate data in a way that highlights potential anomalies and prevents you from conducting analysis that are meaningless. Here are the steps on how to perform a Benf...

1498 sym R (11697 sym/32 pcs) 4 img

Impute missing values using {missForest} package in R

21.02.2024

Nonparametric missing value imputation using Random Forest In this presentation we will learn how to impute missing values using the {missForest} package. This package uses a random forest trained on the observed values of a data matrix to predict the missing values. It can be used to impute continuous and/or categorical data. https://cran.r-projec...

1262 sym R (12759 sym/20 pcs) 3 img