February 2017

The Zero Bug

February 21, 2017 |

I am going to write about an insidious statistical, data analysis, and presentation fallacy I call “the zero bug” and the habits you need to cultivate to avoid it. The zero bug Here is the zero bug in a nutshell: common data aggregation tools often can not “count to zero” ...

February 21, 2017 |

Announcing: DataCamp for the classroom, a new free plan for Academics. We want to support every student that wants to learn Data Science. That is why, as of today, professors/teachers/TA’s/… can give their students 6 months of FREE access to the f... [Read more...]

Linear Regression and ANOVA shaken and stirred

February 21, 2017 |

Linear Regression and ANOVA concepts are understood as separate concepts most of the times. The truth is they are extremely related to each other being ANOVA a particular case of Linear Regression. Even worse, its quite common that students do memorize equations and tests instead of trying to understand Linear ... [Read more...]

Text Mining on Wine Description

February 21, 2017 |

Here is an example of text mining with correspondence analysis. Within the context of research into the characteristics of the wines from Chenin vines in the Loire Valley (French wines), a set of 10 dry white wines from Touraine were studied: 5 Touraine Protected Appellation of Origin (AOC) from Sauvignon vines, and 5 ...

Three R Shiny tricks to make your Shiny app shines (2/3): Semi-collapsible sidebar

February 21, 2017 |

EDIT: Actually there is a much easier way to do so, by just adding the code below to the UI: tags\$script(HTML(“\$(‘body’).addClass(‘sidebar-mini’);”)) Thanks at @_pvictorr for suggesting it! Original post: In this tutorials sequence, we are going to see three tricks to do the following in ... [Read more...]

Coming soon!

February 21, 2017 |

We've just received a picture of the cover of the BCEA book, which is really, really close to being finally published!I did mention this in a few other posts (for example here and here) and it has been in fact a rather long process, so much so that I ...

How to make a global map in R, step by step

February 21, 2017 |

In this post, I want to walk you through the logic of building a map, step by step ... The post How to make a global map in R, step by step appeared first on SHARP SIGHT LABS. [Read more...]

Use switch() instead of ifelse() to return a NULL

February 21, 2017 |

Have you ever tried to return a NULL with the ifelse() function? This function is a simple vectorized workflow for conditional statements. However, one can’t just return a NULL value as a result of this evaluation. Check a tricky workaround solution... [Read more...]

ropenaq, a breath of fresh air/R

February 21, 2017 |

Do you fancy open data, R, and breathing? Then you might be interested in ropenaq which provides access to open air quality data via OpenAQ! Also note that in French, R and air are homophones, therefore we French speakers can make puns like the one in the title. Please re-read ... [Read more...]

Who is Alan Turing?

February 21, 2017 |

This government is committed to introducing posthumous pardons for people with certain historical sexual offence convictions who would be innocent of any crime now (British Government Spokesperson, September 2016) Last September, the British government announced its intention to pursue what has become known as the Alan Turing law, offering exoneration to ...

Sentiment Analysis in R

February 21, 2017 |

Current research in finance and the social sciences utilizes sentiment analysis to understand human decisions in response to textual materials. While sentiment analysis has received great traction lately, the available tools are not yet living up to the needs of researchers. Especially R has not yet capabilities that most research ... [Read more...]

How to Create a Data Visualization from the New York Times in R

February 20, 2017 |

Undoubtedly, the New York Times publishes the best data visualizations and infographics that are data intensive, yet are elegant. The elegance comes from carefully studying the data, identifying the key patterns and simplifying the graphics to show these patterns or trends. Here’s what Amanda Cox, editor of The Upshot, ... [Read more...]

Coming soon!

February 20, 2017 |

We’ve just received a picture of the cover of the BCEA book, which is really, really close to being finally published! I did mention this in a few other posts (for example here and here) and it has been in fact a rather long process, so much so that ...

Coming soon!

February 20, 2017 |

We’ve just received a picture of the cover of the BCEA book, which is really, really close to being finally published! I did mention this in a few other posts (for example here and here) and it has been in fact a rather long process, so much so that ...

Predicting employment related factors in Malaysia- A regression analysis approach

February 20, 2017 |

Introduction A recent news article published in the national daily, The Star, reported, “The country’s unemployment rate has inched up by 0.1 percentage points to 3.5% in December 2016 compared to the previous month, according to the Statistics De...

First commit or initial commit?

February 20, 2017 |

When I create a new .git repository, my first commit message tends to be “1st commit”. I’ve been wondering what other people use as initial commit message. Today I used the gh package to get first commits of all repositories of the ropensci and r... [Read more...]

First commit or initial commit?

February 20, 2017 |

When I create a new .git repository, my first commit message tends to be “1st commit”. I’ve been wondering what other people use as initial commit message. Today I used the gh package to get first commits of all repositories of the ropensci and r... [Read more...]

coauthorship and citation networks

February 20, 2017 |

As I discovered (!) the Annals of Applied Statistics in my mailbox just prior to taking the local train to Dauphine for the first time in 2017 (!), I started reading it on the way, but did not get any further than the first discussion paper by Pengsheng Ji and Jiashun Jin on ...

Training Neural Networks with MXNet

February 20, 2017 |

Multilayer perceptron Multilayer perceptron (MLP) is the simplest feed-forward neural network. It mitigates the constraints of original perceptron that was able to learn only linearly separable patterns from the data. It achieves this by introducing at least one hidden layer in order to learn representation of the data that would ... [Read more...]

R Weekly

February 20, 2017 |

During my Monday morning ritual of avoiding work,  I found this publication that is written in R, for people who use R – R Weekly.  The authors do a pretty awesome job of aggregating useful, entertaining, and informative content about what’s happening surrounding our favorite programming language.  Check it out, ...