May 2020

minimax, maximin or plain

May 31, 2020 | xi'an

A simple riddle from The Riddler on choosing between the maximum between two minima of two throws of an N-face dice, the minimum between two maxima of two throws of an N-face dice, and a single throw. Since maximin is always less than maximin, second choice is always worse than ...
[Read more...]

T^4 #4: Introducing Byobu

May 31, 2020 | Thinking inside the box

The next video (following the announcement, and shells sessions one, two, and three) is up in the T^4 series of video lightning talks with tips, tricks, tools, and toys. This time we introduce the wonderful byobu tool which is called both a ‘text-b... [Read more...]

Turkey vs. Germany: COVID-19

May 31, 2020 | Selcuk Disci

In Turkey, some parts of society always compare Turkey to Germany and think that we are better than Germany for a lot of issues. The same applies to COVID-19 crisis management; is that reflects to true? We will use two variables for compared parameters; the number of daily new cases ...
[Read more...]

Riddler: Can You Roll The Perfect Bowl?

May 31, 2020 | Posts | Joshua Cook

FiveThirtyEight’s Riddler Express link At the recent World Indoor Bowls Championships in Great Yarmouth, England, one of the rolls by Nick Brett went viral. Here it is in all its glory: 12/10 on the mindblowing scale 🤯 #SCtop10(via @BBCSport) pic.twitter.com/6pN6ybzVel — SportsCenter (@SportsCenter) January 23, 2020 In order for ... [Read more...]

gratia 0.4.1 released

May 31, 2020 | Gavin L. Simpson

After a slight snafu related to the 1.0.0 release of dplyr, a new version of gratia is out and available on CRAN. This release brings a number of new features, including differences of smooths, partial residuals on partial plots of univariate smooths, and a number of utility functions, while under the ...
[Read more...]

RSqLParser – tool to parse your SQL queries.

May 31, 2020 | Rimi

A slow performing query is a ticking bomb which can lead to explosion i.e a huge performance overhead in your application, any time specially when there is load on database servers. And knowing the its and bits of your SQL query is of utmost importance in diffusing the bomb. ... [Read more...]

Learning Tfidf with Political Theorists

May 30, 2020 | R on Amit Levinson

Thanks to Almog Simchon for insightful comments on a first draft of this post. Introduction Learning R for the past nine months or so has enabled me to explore new topics that are of interest to me, one of them being text analysis. In this post I’ll explain what ...
[Read more...]

Learning Shiny for Production

May 30, 2020 | Colin Fay

Hey Shiny devs of the world! I’m leading a training in July about building a Shiny application for production. It will be a 10 half-day session, with everything happening remotely, meaning that you can attend from anywhere in the world 🎉. During ... [Read more...]

Superspreading and the Gini Coefficient

May 30, 2020 | Theory meets practice...

Abstract: We look at superspreading in infectious disease transmission from a statistical point of view. We characterise heterogeneity in the offspring distribution by the Gini coefficient instead of the usual dispersion parameter of the negative binomial distribution. This allows us to consider more flexible offspring distributions. This work is licensed ... [Read more...]

Mimic Excel’s Conditional Formatting in R

May 30, 2020 | daniel murphy

The DT package is an interface between R and the JavaScript DataTables library (RStudio DT documentation). In Example 3 (at this page) they show how to heatmap-format a table. This post modifies the example to format each column individually shade in green rather than red use base R syntax rather than ...
[Read more...]

Don’t Feel Guilty About Selecting Variables

May 30, 2020 | John Mount

We have an exciting new article to share: Don’t Feel Guilty About Selecting Variables. If you are at all interested in the probabilistic justification of important data science techniques, such as variable selection or pruning, this should be an informative and fun read. “Data Science” is often criticized with ... [Read more...]

Easy PixelCNN with tfprobability

May 28, 2020 | Sigrid Keydana

PixelCNN is a deep learning architecture - or bundle of architectures - designed to generate highly realistic-looking images. To use it, no reverse-engineering of arXiv papers or search for reference implementations is required: TensorFlow Probability ... [Read more...]

Mad methods

May 28, 2020 | R on OSM

Over the past few weeks, we’ve examined the three major methods used to set return expectations as part of the portfolio allocation process. Those methods were historical averages, discounted cash flow models, and risk premia models. Today, we’ll bring all these models together to compare and contrast their ...
[Read more...]

pins 0.4: Versioning

May 28, 2020 | Javier Luraschi

A new version of pins is available on CRAN today, which adds support for versioning your datasets and DigitalOcean Spaces boards! As a quick recap, the pins package allows you to cache, discover and share resources. You can use pins in a wide range of situations, from downloading a dataset ...
[Read more...]
1 2 3 15

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)