2021 NHL Projection Model: High-Level Overview

What you need to know about the newest game simulation model from TopDownHockey A Forecast for the 2021 San Jose Sharks. (Image by Author) I simulated the 2021 NHL season 10,000 times in order to determine the probability of each outcome. I’ve began sharing the results of my work on Twitter, and I plan to … Read more 2021 NHL Projection Model: High-Level Overview

Little useless-useful R functions – Mathematical puzzle of Four fours

[This article was first published on R – TomazTsql, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Yes. Playing with numbers is another call for useless R function. … Read more Little useless-useful R functions – Mathematical puzzle of Four fours

rOpenSci 2020 Code of Conduct Transparency Report

The rOpenSci community is supported by our Code of Conduct with a clear description of unacceptable behaviors, instructions on how to make a report, and information on how reports are handled. We, the Code of Conduct Committee, are responsible for receiving, investigating, deciding, enforcing and reporting on all reports of potential violations of our Code. … Read more rOpenSci 2020 Code of Conduct Transparency Report

Emil Hvitfeldt – palette2vec – A new way to explore color paletttes

[This article was first published on Why R? Foundation, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Three months ago we finished Why R? 2020 conference. One of … Read more Emil Hvitfeldt – palette2vec – A new way to explore color paletttes

Isovists using uniform ray casting in R

Isovists are polygons of visible areas from a point. They remove views that are blocked by objects, typically buildings. They can be used to understanding the existing impact of, or where to place urban design features that can change people’s behaviour (e.g. advertising boards, security cameras or trees). Here I present a custom function that … Read more Isovists using uniform ray casting in R

IMDb datasets: 3 centuries of movie rankings visualized

[This article was first published on novyden, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The Question I am a sucker for IMDb ratings so don’t judge me. … Read more IMDb datasets: 3 centuries of movie rankings visualized

Modelling Risk: the Absolute and the Relative

What is the risk of a new creditor to default on their loan? what is the “risk” of watching a certain movie on Netflix given a certain viewing history? What is my risk of dying given a certain diagnosis and how is this affected by a certain treatment? Risks are all around us, and quantifying … Read more Modelling Risk: the Absolute and the Relative

Game of Thrones and Programming Language #Part2

Let’s go back on what we have seen so far. Before to start, I recommend you to read the first part published on TDS, to get a first overview of the first characters, as different characters in this article will referring to it: Along with this article, we will explore remaining characters from David Benioff … Read more Game of Thrones and Programming Language #Part2

Exploring the game “First Orchard” with simulation in R

My daughter received the board game First Orchard as a Christmas present and she’s hooked on it so far. In playing the game with her, a few probability/statistics questions came to mind. This post outlines how I answered some of them using simulation in R. All code for this blog post can be found here. … Read more Exploring the game “First Orchard” with simulation in R

Custom Google Analytics Dashboards with R: Building The Dashboard

[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Photo by Alan Biglow on Unsplash Back in November, I took readers … Read more Custom Google Analytics Dashboards with R: Building The Dashboard

Quantify the Covid19 Impact on the SFO Airport Passenger Air Traffic

[This article was first published on Rami Krispin, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The Covid19 pandemic had, and unfortunately still have, a significant impact on … Read more Quantify the Covid19 Impact on the SFO Airport Passenger Air Traffic

R Shiny {golem} – Designing the UI – Part 1 – Development to Production

Welcome to the first in a series of blog posts surrounding R’s {golem} package by Colin Fay. In case you missed it, we laid out what these posts will cover in last week’s post. One main step of our development process is to think about how we want the app to look structurally and aesthetically. … Read more R Shiny {golem} – Designing the UI – Part 1 – Development to Production

Trades Jan. 5, 2021

[This article was first published on R and Trading, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Sold TLT March 150 puts against my short position. Related Favorite

Trades Jan. 4, 2021

[This article was first published on R and Trading, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.  Added to my base stock position, very small. +1.7 % Related … Read more Trades Jan. 4, 2021

How to Analyze Data with R: A Complete Beginner Guide to dplyr

Datasets often require many work hours to understand fully. R makes this process as easy as possible through the dplyr package – the easiest solution for code-based data analysis. You’ll learn how to use it today. Are you completely new to R? Here’s our beginner R guide for programmers. You’ll use the Gapminder dataset throughout the article. It’s … Read more How to Analyze Data with R: A Complete Beginner Guide to dplyr

Lilliefors, Kolmogorov-Smirnov and cross-validation

In statistics, Kolmogorov–Smirnov test is a popular procedure to test, from a sample \(\{x_1,\cdots,x_n\}\) is drawn from a distribution \(F\), or usually \(F_{\theta_0}\), where \(F_{\theta}\) is some parametric distribution. For instance, we can test \(H_0:X_i\sim\mathcal{N(0,1)}\) (where \(\theta_0=(\mu_0,\sigma_0^2)=(0,1)\)) using that test. More specifically, I wanted to discuss today \(p\)-values. Given \(n\) let us draw \(\mathcal{N}(0,1)\) samples … Read more Lilliefors, Kolmogorov-Smirnov and cross-validation

Upcoming Why R Webinar – Integrating Rshiny and REDCap

[This article was first published on Why R? Foundation, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. This Thursday, January 7th at 7 pm UTC, as part of … Read more Upcoming Why R Webinar – Integrating Rshiny and REDCap

Little useless-useful R functions – Create Pandas DataFrame from R data.frame

[This article was first published on R – TomazTsql, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Fusion and stuff And since data science and data engineering is … Read more Little useless-useful R functions – Create Pandas DataFrame from R data.frame

Kenneth Benoit – Why you should stop using other text mining packages and embrace quanteda

[This article was first published on Why R? Foundation, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Three months ago we finished Why R? 2020 conference. One of … Read more Kenneth Benoit – Why you should stop using other text mining packages and embrace quanteda

Finding Economic Articles with Data and Specific Empirical Methods

Do you want to find reproducible empirical economic studies that use a particular method or concept, like random forests or instrumental variable estimation? This becomes now even easier with my freshly updated shiny-powered app “Find Economic Articles with Data”: https://ejd.econ.mathematik.uni-ulm.de The app allows to search among more than 5800 articles with data and code supplement … Read more Finding Economic Articles with Data and Specific Empirical Methods

6 Life-Altering RStudio Keyboard Shortcuts

[This article was first published on business-science.io, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. This article is part of a R-Tips Weekly, a weekly video tutorial that … Read more 6 Life-Altering RStudio Keyboard Shortcuts

Coming soon: effortlessly generate ordinal data without assuming proportional odds

[This article was first published on ouR data generation, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. I’m starting off 2021 with my 99th post ever to introduce … Read more Coming soon: effortlessly generate ordinal data without assuming proportional odds

lmDiallel: a new R package to fit diallel models. The Hayman’s model (type 2)

This posts follows two other previously published posts, where we presented our new ‘lmDiallel’ package (see here) and showed how we can use it to fit the Hayman’s model type 1, as proposed in Hayman (1954) (see here). In this post, we will give a further example relating to another very widespread model from the … Read more lmDiallel: a new R package to fit diallel models. The Hayman’s model (type 2)

F1 2020 Season Review

[This article was first published on Sport Data Science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Hello readers, its Monday the 4th January and this is the … Read more F1 2020 Season Review

Predicting injuries for Chicago traffic crashes

[This article was first published on rstats | Julia Silge, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. This is the latest in my series of screencasts demonstrating … Read more Predicting injuries for Chicago traffic crashes

Example of Pairs Trading

[This article was first published on R – Predictive Hacks, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Introduction Statistical arbitrage trading is a quantitative and computational approach … Read more Example of Pairs Trading

BASIC XAI with DALEX — Part 6: LIME method

BASIC XAI BASIC XAI with DALEX — Part 6: LIME method Introduction to model exploration with code examples for R and Python. By Anna Kozak Welcome to the “BASIC XAI with DALEX” series. In this post, we present the LIME (Local Interpretable Model-agnostic Explanations) method, the model agnostic method, which is the one we can use for any type of model. Previous … Read more BASIC XAI with DALEX — Part 6: LIME method

Little useless-useful R functions – Playing stack of cards

[This article was first published on R – TomazTsql, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. This useless function is a self-played game of cards. Or you … Read more Little useless-useful R functions – Playing stack of cards

Automatic Rendering of a Plot with GitHub Actions

TL;DR: In this post we setup the code for having a GitHub Action automatically update a plot. I start by showing step by step how I plot my most frequently used R packages for #Tidytuesday, a weekly data visualization project for the R community. However, I constantly add more information to that data every time … Read more Automatic Rendering of a Plot with GitHub Actions

puzzles & riddles

[This article was first published on R – Xi’an’s Og, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. A rather simplistic game on the Riddler of 18 December: … Read more puzzles & riddles

Neighborhoods: Experimenting with Cyclic Cellular Automata

[This article was first published on R – Fronkonstin, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. On candy stripe legs the Spiderman comes, softly through the shadow … Read more Neighborhoods: Experimenting with Cyclic Cellular Automata

Should statistical data analysis in psychology be like defecating?

 There was an interesting thread on twitter about linear mixed models (LMMs) that someone made me aware of recently. (I stopped following twitter because of its general inanity, but this thread is worth commenting on.) The gist of the complaints (trying to recreate this list from memory) were. My list is an amalgamation of comments … Read more Should statistical data analysis in psychology be like defecating?

Testing for Measurement Invariance in R

To demonstrate the test of measurement invariance, I will be using the Consumer Financial Protection Bureau (CFPB)’s Financial Well-Being Scale. CFPB defines financial well-being as follows: Financial well-being is a state of being wherein a person can fully meet current and ongoing financial obligations, can feel secure in their financial future, and is able to … Read more Testing for Measurement Invariance in R

Correlation Analysis in R, Part 1: Basic Theory

[This article was first published on Data Enthusiast’s Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Introduction There are probably tutorials and posts on all aspects of … Read more Correlation Analysis in R, Part 1: Basic Theory

Project: Modeling & Predicting of Churning Customers (in R)

In Part 1 of 3 of Data Wrangling, we read in our data file & install all required libraries/packages for our project. We also examine if there are any problems with our dataset, & hence see that there are no issues. “`{r DataWrangling1}library(tidyverse)library(plyr)library(readr)library(dplyr)cc1 <- read_csv(“BankChurners.csv”) # original dataset#—————————-#—————————-problems(cc1) # no problems with cc1head(cc1)dim(cc1) # # … Read more Project: Modeling & Predicting of Churning Customers (in R)

RObservations #6- #TidyTuesday – Analyzing data on the Australian Bush Fires

[This article was first published on r – bensstats, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Since April 2018 the R4DS community has been putting out unique … Read more RObservations #6- #TidyTuesday – Analyzing data on the Australian Bush Fires

How to Make Stunning Geomaps in R: A Complete Guide with Leaflet

Popups provide a neat and clean way of displaying more information whenever you click on a marker of interest. You’ll use them to add information on the time of the earthquake, it’s magnitude, depth, and place. You can use the paste0 function to add the data. If you want something styled, you can use various … Read more How to Make Stunning Geomaps in R: A Complete Guide with Leaflet