February 2021

Risk-constrained optimization

February 4, 2021 | R on OSM

Our last post parsed portfolio optimization outputs and examined some of the nuances around the efficient frontier. We noted that when you start building portfolios with a large number of assets, brute force simulation can miss the optimal weighting scheme for a given return or risk profile. While optimization finds ...
[Read more...]

Partisan metrics: some notes

February 4, 2021 | Jason Timm

State legislative election results Summarizing election results Historical vote distributions Seats-votes curves Resources Some notes on mean-median & partisan bias scores, and building seats-votes curves using lower house state legislative election results in the USA from 1971-2018. Also a place to organize some different non-geographical approaches to identifying partisan gerrymandering – eg – ...
[Read more...]

tinieR 0.4.1

February 4, 2021 | » R

I got really, really bored this week, so I decided to go back to the R package, tinieR, that I released last year (if you haven’t seen it before, tinieR shrinks image file sizes using the TinyPNG.com API). My idle tinkering ended up with a few ... [Read more...]

new order

February 4, 2021 | xi'an

The latest riddle from The Riddler was both straightforward: given four iid Normal variates, X¹,X²,X³,X⁴, what is the probability that X¹+X²
[Read more...]

Cross-origin requests with beakr

February 4, 2021 | jonathanatmazamascience

beakr is a lightweight and flexible web framework that allows you to incorporate R code as the Middleware responsible for handling web requests. At Mazama Science, we developed beakr to simplify the process of creating R-based web services that we use to deliver a variety of products: data files, images, ...
[Read more...]

The 2021 RUGS Program is Live!

February 4, 2021 | R Consortium

The R Consortium is excited to announce the 2021 R User Group and Small Conference Support Program (RUGS). We give grants to help R groups around the world organize, share... The post The 2021 RUGS Program is Live! appeared first on R Consortium.
[Read more...]

Recent Advances in COVID-19 modelling

February 3, 2021 | YoungStatS

YoungStatS project of Young Statisticians Europe, FENStatS, proudly announces our first One World YoungStatS webinar. With four young scholars, we will discuss Recent Advances in the Modelling of COVID-19, presenting novel statistical models, interesti... [Read more...]

Introduction to leaflegend

February 3, 2021 | R on Thomas Roh

leaflegend is a package to extend the customization of legends for the leaflet package in R. The addLegend function provides some great out of the box legends based on the internal palette functions, but styling of the legend components has to be done ... [Read more...]

Introduction to leaflegend

February 3, 2021 | R on Thomas Roh

leaflegend is a package to extend the customization of legends for the leaflet package in R. The addLegend function provides some great out of the box legends based on the internal palette functions, but styling of the legend components has to be don...
[Read more...]

Cracking and packing: a simple gerrymander simulation

February 3, 2021 | Jason Timm

A brief note on gerrymandering, and cracking and packing (see Warrington 2018 for a proper discussion). Specifically, a simple simulation demonstrating how gross partisan asymmetries in state legislatures can be crafted from perfectly symmetrical statewide populations. Per function below, we designate individuals in a population of N voters as either Republican ...
[Read more...]

Some thoughts on rstudio::global talks

February 3, 2021 | R Views

The fifty-five videos from last month’s rstudio::global conference are now available online. You will find them at the link above arranged in ten categories (Keynotes, Data for Good, Language Interop, Learning, Modeling, Organizational Tooling, Package Dev, Programming, Teaching, and Visualization) that reflect fundamental areas of technical and community ...
[Read more...]

Simple audio classification with torch

February 3, 2021 | Athos Damiani

This article translates Daniel Falbel’s ‘Simple Audio Classification’ article from tensorflow/keras to torch/torchaudio. The main goal is to introduce torchaudio and illustrate its contributions to the torch ecosystem. Here, we focus on a popular da...
[Read more...]

hard birthday problem

February 3, 2021 | xi'an

Click to access birthday.pdf From an X validated question, found that WordPress now allows for direct link to pdf documents, like the above paper by my old friend Anirban Das Gupta! The question is about estimating a number M of individuals with N distinct birth dates over a year ...
[Read more...]
1 8 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)