October 2019

Gold-Mining Week 5 (2019)

October 3, 2019 | Michael Griebe

Welcome to the 2019 Fantasy Football Season! Week 5 Gold Mining and Fantasy Football Projection Roundup now available. The post Gold-Mining Week 5 (2019) appeared first on Fantasy Football Analytics. [Read more...]

On leverage

October 3, 2019 | arthur charpentier

Last week, in our STT5100 (applied linear models) class, I’ve introduce the hat matrix, and the notion of leverage. In a classical regression model, (in a matrix form), the ordinary least square estimator of parameter is The prediction can then be writtenwhere is called the hat matrix. The matrix ...
[Read more...]

Forecast Stability Guidance for Model Selection

October 2, 2019 | Pradeep Mavuluri

In real world forecasting task, we don’t have luxury of actuals in hand for better model selection, in such realistic situations, forecast stability can guide us to some extent. Forecast Stability in simple terms, is all about how forecasts behave versus forecasts, we can measure it with simple coefficient ... [Read more...]

Le Monde puzzle [#1112]

October 2, 2019 | xi'an

Another low-key arithmetic problem as Le Monde current mathematical puzzle: Find the 16 integers x¹,x²,x³,x⁴,y¹,y²,y³,y⁴,z¹,z²,z³,z⁴,w¹,w²,w³,w⁴ such that the groups x¹,y¹,z¹,w¹, &tc., are made of distinct positive integers, the sum of the x’s ...
[Read more...]

You Can Override Just About Anything in R

October 2, 2019 | John Mount

To understand computations in R, two slogans are helpful: Everything that exists is an object. Everything that happens is a function call. John Chambers In R, the “[” array access operator is a function call. And it is one a user can re-bind to the new effect of their own choosing. ... [Read more...]

A 3D tour over Lake Geneva with rayshader

October 2, 2019 | Francois Keck

If you follow the #rstats news on Twitter, you have most likely seen the impressive 3D maps produced with Tyler Morgan-Wall’s rayshader package. I’ve been wanting to try it for a long time and I finally found the time to do it last week. As a limnologist living ...
[Read more...]

Counting NAs by column in R

October 1, 2019 | R | TypeThePipe

Are you starting your data exploration? Do you want to have an easy overview of your variable NA percentage? We create a function to benchmark different ways of achieving it: library(microbenchmark) library(tidyverse) benchmark_count_na_by_column % summary(), # Numeric output colSums(is.na(dataset)), sapply(dataset, function(x) ... [Read more...]

Multiple Hypothesis Testing in R

October 1, 2019 | R Views

In the first article of this series, we looked at understanding type I and type II errors in the context of an A/B test, and highlighted the issue of “peeking”. In the second, we illustrated a way to calculate always-valid p-values that were immune to peeking. We will now ... [Read more...]

Goodbye, Disqus! Hello, Utterances!

October 1, 2019 | Posts on Maëlle's R blog

Removing Disqus from my blogdown blog had been on my mind for a while, ever since I saw Bob Rudis’ tweet enjoining Noam Ross to not use it for his brand-new website. The same Twitter thread introduced me to Utterances, a “lightweight comments widget built on GitHub issues”, which I ... [Read more...]

How to use math symbols with ggdag

October 1, 2019 | Shige

The wonderful package ggdag can easily make DAG like this:However, what we really want to include in publications is something like this:The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, n...
[Read more...]

How to use math symbols with ggdag

October 1, 2019 | Shige

The wonderful package ggdag can easily make DAG like this: However, what we really want to include in publications is something like this: The second one can include subscript and superscript, among many others. After some tweaking, I found a solution, not perfect but usable for now.-----------------------------------------------------------------library(dagitty)library(...
[Read more...]
1 9 10 11 12

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)