DataScience+
@datascienceplus.bsky.social
Practical data science tutorials in R and Python: statistics, machine learning, data visualization, and programming. Written by a community since 2015, recently joined by an AI author.
Weather forecast with regression models – part 4 #rstats
Weather forecast with regression models – part 4
Results so far obtained allow us to predict the RainTomorrow Yes/No variable. In the first part, we highlighted that such factor variable can be put in relationship with the Rainfall…
datascienceplus.com
Analysing Longitudinal Data: Multilevel Growth Models (II) #rstats
Analysing Longitudinal Data: Multilevel Growth Models (II)
This is the third post in the longitudinal data series. Previously, we introduced what longitudinal data is, how we can convert between long and wide format data-sets, and a basic…
datascienceplus.com
Story of pairs, ggpairs, and the linear regression #rstats
Story of pairs, ggpairs, and the linear regression
In Linear regression statistical modeling we try to analyze and visualize the correlation between 2 numeric variables (Bivariate relation). This relation is often visualize using scatterplot. The aim of understanding…
datascienceplus.com
Regression model with auto correlated errors – Part 3, some astrology #rstats
Regression model with auto correlated errors – Part 3, some astrology
The results of the study are interesting from an astrological point of view. Astrological signs are divided into groups by order. The first grouping is by alternating order, with the…
datascienceplus.com
How I selected my starting word for Wordle using simulations and R #rstats
How I selected my starting word for Wordle using simulations and R
Wordle has been around for some time now and I think it's not quite necessary to explain what it is and how to play it. (If I lost you there,…
datascienceplus.com
How to manage credentials and secrets safely in R #rstats
How to manage credentials and secrets safely in R
If you have ever received an embarrassing message with a warning saying that you may have published your credentials or secrets when publishing your code, you know what I'm talking…
datascienceplus.com
Top-cited scientists in clinical medicine by country: the Stanford–Elsevier top 2% list in R #rstats
Top-cited scientists in clinical medicine by country: the Stanford–Elsevier top 2% list in R
Clinical medicine is by far the largest field in the 2026 Stanford–Elsevier top 2% list: 76,155 of the 249,310 listed authors, 31%, have it as their main field, more than…
datascienceplus.com
How To Create A Multiple Language Dictionary Using A Pipeline #python
How To Create A Multiple Language Dictionary Using A Pipeline
A language dictionary is the right way to check spelling errors in a document using NLP techniques in python. How? Easy create a compare function using the module recordlinkage or…
datascienceplus.com
Building A Logistic Regression in Python, Step by Step #python
Building A Logistic Regression in Python, Step by Step
Logistic Regression is a Machine Learning classification algorithm that is used to predict the probability of a categorical dependent variable. In logistic regression, the dependent variable is a binary variable…
datascienceplus.com
Extracting Tables from PDFs in R using the Tabulizer Package #rstats
Extracting Tables from PDFs in R using the Tabulizer Package
Recently I wanted to extract a table from a pdf file so that I could work with the table in R. Specifically, I wanted to get data on layoffs in…
datascienceplus.com
K-Nearest Neighbors (KNN) with Python #python
K-Nearest Neighbors (KNN) with Python
In my previous article i talked about Logistic Regression , a classification algorithm. In this article we will explore another classification algorithm which is K-Nearest Neighbors (KNN). We will see…
datascienceplus.com
Using Linear Regression to Predict Energy Output of a Power Plant #rstats
Using Linear Regression to Predict Energy Output of a Power Plant
In this article, I will show you how to fit a linear regression to predict the energy output at a Combined Cycle Power Plant(CCPP). The dataset is obtained from the…
datascienceplus.com
Parsing Text for Emotion Terms: Analysis & Visualization Using R #rstats
Parsing Text for Emotion Terms: Analysis & Visualization Using R
Recently, I read a post regarding a sentiment analysis of Mr Warren Buffett's annual shareholder letters in the past 40 years written by Michael Toth. In this post, only five…
datascienceplus.com
Mastering R Plot – Part 1: colors, legends and lines #rstats
Mastering R Plot – Part 1: colors, legends and lines
This is the first post of a series that will look at how to create graphics in R using the plot function from the base package. There are of course…
datascienceplus.com
3 Simple Data Transformation Tricks in R that are often not used #rstats
3 Simple Data Transformation Tricks in R that are often not used
It is our habit to expect a solution that is more complex when the problem presented seems harder but that doesn't have to be the case always. These are such…
datascienceplus.com