Nov 2017: New Package Picks

December 21, 2017
By
Nov 2017: New Package Picks

Two hundred thirty-seven new packages made it to CRAN in November. Here are my picks for the “Top 40” organized into the categories: Computational Methods, Data, Data Science, Science, Social Science, Utilities and Visualizations. Computational Methods CVXR v0.94-4: Implements an object-oriented modeling language for disciplined convex programming (DCP) which allows users to formulate and solve convex optimization problems. The vignette introduces...

Read more »

M4 Forecasting Competition update

December 21, 2017
By

The official guidelines for the M4 competition have now been published, and there have been several developments since my last post on this. There is now a prize for prediction interval accuracy using a scaled version of the Mean Interval Score. If th...

Read more »

A comprehensive guide to connect R to Amazon Redshift

December 21, 2017
By
A comprehensive guide to connect R to Amazon Redshift

A guide through the available drivers and tools when using Amazon Redshift from R and/or RStudio. We examine RPostgreSQL, RPostgres and RJDBC.

Read more »

Data discretization made easy with funModeling

December 21, 2017
By
Data discretization made easy with funModeling

A try to automatize the data preparation discretization stage. Converting numerical variables into categorical to be used in real scenarios.

Read more »

(Don’t Get) Contangled Up In Noise

December 21, 2017
By
(Don’t Get) Contangled Up In Noise

This post will be about investigating the efficacy of contango as a volatility trading signal. For those that trade volatility … Continue reading →

Read more »

A tour of the data.table package by creator Matt Dowle

December 21, 2017
By

The data.table package provides a high-performance interface for querying and manipulating data tables (a close cousin of data frames). In the video below (recorded at the H2OWorld conference), creator Matt Dowle gives a tour of the package and provides several examples of its use. If you'd like to see the details on the example Matt presents at the beginning...

Read more »

How to apply Linear Regression in R

December 21, 2017
By
How to apply Linear Regression in R

Machine Learning and Regression Machine Learning (ML) is a field of study that provides the capability to a Machine to understand data and to learn from the data. ML is not only about analytics modeling but it is end-to-end modeling that broadly involves following steps: – Defining problem statement – Data collection. – Exploring, Cleaning Related Post Linear Regression in...

Read more »

Skip errors in R loops by not writing loops

Skip errors in R loops by not writing loops

You probably have encountered situations similar to this one: result = vector("list", length(some_numbers)) for(i in seq_along(some_numbers)){ result] = some_function(some_numbers]) } print(result) First I initialize result, an empty list of size equal to the length of some_numbers which will contains the results of applying some_function() to each element of some_numbers. Then, using a for loop, I apply the function. This is what I get back: NaNs...

Read more »

Let it flow, let it flow, let it flow……

December 20, 2017
By
Let it flow, let it flow, let it flow……

Animating dot plots to demonstrate patient flow - Dots.. This is not the blog post I’d originally intended to write. But I’m glad - because this one is so much better. Some background. I’m one of the few Scotland based members of Ap...

Read more »

Let it flow, let it flow, let it flow……

December 20, 2017
By
Let it flow, let it flow, let it flow……

Animating dot plots to demonstrate patient flow - Dots.. This is not the blog post I’d originally intended to write. But I’m glad - because this one is so much better. Some background. I’m one of the few Scotland based members of Ap...

Read more »

Where have you been? Getting my Github activity

December 20, 2017
By
Where have you been? Getting my Github activity

On my pretty and up-to-date CV, one of the first things one sees is my Github username, linking to my Github profile. What does a potential employer look at there? Hopefully not my non informative commit messages… My imitating a red Ampelmann, my bei...

Read more »

Let it flow, let it flow, let it flow……

December 20, 2017
By
Let it flow, let it flow, let it flow……

Animating dot plots to demonstrate patient flow - Dots.. This is not the blog post I’d originally intended to write. But I’m glad - because this one is so much better. Some background. I’m one of the few Scotland based members of Ap...

Read more »

New R Course: Inference for Linear Regression

December 20, 2017
By
New R Course: Inference for Linear Regression

Hello there! We're launching a new R course today: Inference for Linear Regression by Jo Hardin! Previously, you learned the fundamentals of both statistical inference and linear models; now, the next step is to put them together. This course gives yo...

Read more »

New R Course: Inference for Linear Regression

December 20, 2017
By
New R Course: Inference for Linear Regression

Hello there! We're launching a new R course today: Inference for Linear Regression by Jo Hardin! Previously, you learned the fundamentals of both statistical inference and linear models; now, the next step is to put them together. This course gives yo...

Read more »

New Course: Equity Valuation in R

December 20, 2017
By
New Course: Equity Valuation in R

Hello there! We're launching a new course today: Equity Valuation in R by Clifford Ang! How do we know when a stock is cheap or expensive? To do this, we need to compare the stock's price with its value. The price of the stock can be obtained by looki...

Read more »

New Course: Equity Valuation in R

December 20, 2017
By
New Course: Equity Valuation in R

Hello there! We're launching a new course today: Equity Valuation in R by Clifford Ang! How do we know when a stock is cheap or expensive? To do this, we need to compare the stock's price with its value. The price of the stock can be obtained by looki...

Read more »

How to Greatly Speed Up Your Spark Queries

December 20, 2017
By
How to Greatly Speed Up Your Spark Queries

For some time we have been teaching R users "when working with wide tables on Spark or on databases: narrow to the columns you really want to work with early in your analysis." The idea behind the advice is: working with fewer columns makes for quicker queries. photo: Jacques Henri Lartigue 1912 The issue arises … Continue reading How...

Read more »

How to highlight countries on a map

December 20, 2017
By
How to highlight countries on a map

Last week, we created a map of world oil production, by country. This week, I’ll show you how to make a slight modification. I’ll show you how to highlight specific countries according to a variable in your data frame. The post How to highlight countries on a map appeared first on SHARP SIGHT LABS.

Read more »

Surprising stories hide in seemingly mundane data

December 20, 2017
By
Surprising stories hide in seemingly mundane data

Mapping geospatial data using the leaflet package in R, and integrating the resultant interactive map into a WordPress blog post. The post Surprising stories hide in seemingly mundane data appeared first on thinkr.

Read more »

Sub-Gaussian property for the Beta distribution (part 2)

December 20, 2017
By
Sub-Gaussian property for the Beta distribution (part 2)

  As a follow-up on my previous post on the sub-Gaussian property for the Beta distribution , I’ll give here a visual illustration of the proof. A random variable with finite mean is sub-Gaussian if there is a positive number such that: We focus on X being a Beta random variable. Its moment generating function is known as

Read more »

R⁶ Series — Random Sampling From Apache Drill Tables With R & sergeant

December 20, 2017
By

(For first-timers, R⁶ tagged posts are short & sweet with minimal expository; R⁶ feed) At work-work I mostly deal with medium-to-large-ish data. I often want to poke at new or existing data sets w/o working across billions of rows. I also use Apache Drill for much of my exploratory work. Here’s how to uniformly sample... Continue reading →

Read more »

eRum 2018 to be held in Budapest, May 14-18

December 20, 2017
By
eRum 2018 to be held in Budapest, May 14-18

The main international R user conference, useR!, is typically hosted in Europe every other year. Back in 2016 when useR! was held in the USA, an alternative conference was held in Poland. Next year (when the useR! conference will be in Australia) the tradition continues, and the 2018 eRum (European R Users Meeting) will be held in Budapest, Hungary...

Read more »

A Data Science Lab for R

December 19, 2017
By
A Data Science Lab for R

In a previous post I described the role of analytic administrator as a data scientist who: onboards new tools, deploys solutions, supports existing standards, and trains other data scientists. In this post I will describe how someone in that role might set up a data science lab for R. Architecture A data science lab is an environment for developing code and...

Read more »

Mining Game of Thrones Scripts with R

December 19, 2017
By
Mining Game of Thrones Scripts with R

Quantitative Text Analysis Part II I meant to showcase the quanteda package in my previous post on the Weinstein Effect but had to switch to tidytext at the last minute. Today I will make good on that promise. quanteda is developed by Ken Benoit and maintained by Kohei Watanabe - go LSE! On that note, the first 2018 LondonR meeting...

Read more »

Time Series Forecasting with Recurrent Neural Networks

Time Series Forecasting with Recurrent Neural Networks

Deep Learning with R This post is an excerpt from Chapter 5 of François Chollet’s and J.J. Allaire’s book, Deep Learning with R (Manning Publications). Use the code fccallaire for a 42% discount on the book at manning.com. Time Series Forecasting with Recurrent Neural Networks In this section, we’ll review three advanced techniques for improving the performance and generalization power of recurrent...

Read more »

Using blogdown with an existing Hugo site

December 19, 2017
By

If you decide you want to use R in your existing Hugo blog, it’s really easy to convert over. There’s a single command you need to know from blogdown and the rest is working out your deployment process. To create content, use the blogdown Rstudio a...

Read more »

Registration now open for workshop on Deep Learning with Keras and TensorFlow using R

December 19, 2017
By
Registration now open for workshop on Deep Learning with Keras and TensorFlow using R

Recently, I announced my workshop on Deep Learning with Keras and TensorFlow. The next dates for it are January 18th and 19th in Solingen, Germany. You can register now by following this link: https://www.codecentric.de/schulung/deep-learning-mit-keras...

Read more »

ASA Police Data Challenge student visualization contest winners

December 19, 2017
By
ASA Police Data Challenge student visualization contest winners

The winners of the American Statistical Association Police Data Challenge have been announced. The ASA teamed up with the Police Data Initiative, which provides open data from local law enforcement agencies in the US, to create a competition for high school and college students to analyze crime data from Baltimore, Seattle and Cincinnati. In this post, we take a...

Read more »

Read and write using fst & feather for large data files.

December 19, 2017
By

For past few years , I was using featheras my favorite data writing and reading option in R (one reason was its cross platform compatible across Julia, Python and R), however, recently, observed it’s read and write time lines were not at all effective with large files of size __ 5 GB. And found fst format to be good...

Read more »

Search R-bloggers


Sponsors

Mango solutions





Zero Inflated Models and Generalized Linear Mixed Models with R



Quantide: statistical consulting and training

ODSC2 west

ODSC1_jobs

datasociety

http://www.eoda.de



CRC R books series







Six Sigma Online Training



mljar.com



Contact us if you wish to help support R-bloggers, and place your banner here.