## Category : Statistics

### Fitting a rational function in R using ordinary least-squares regression

by Srini Kumar, VP of Product Management and Data Science, LevaData; and Bob Horton, Senior Data Scientist, Microsoft A rational function is defined as the ratio of two functions. The Padé Approximant uses a ratio of polynomials to approximate functi...

### Generation of E-Learning Exams in R for Moodle, OLAT, etc. Get notified of new R posts (I don't spam, nor give your email to others)

(Guest post by Achim Zeileis) Development of the R package exams for automatic generation of (statistical) exams in R started in 2006 and version 1 was published in JSS by Grün and Zeileis (2009). It was based on standalone Sweave exercises, that can...

### How many deaths were caused by the hurricane in Puerto Rico?

President Trump is once again causing distress by downplaying the number of deaths caused by Hurricane Maria's devastation of Puerto Rico last year. Official estimates initially put the death toll at 15 before raising it to 64 months later, but it wa...

### It’s not the p-values’ fault – reflections on the recent ASA statement (+relevant R resources) Get notified of new R posts (I don't spam, nor give your email to others)

Joint post by Yoav Benjamini and Tal Galili. The post highlights points raised by Yoav in his official response to the ASA statement (available as on page 4 in the ASA supplemental tab), as well as offers a list of relevant R resources. Summary The A...

### K-means Clustering (from "R in Action") Get notified of new R posts (I don't spam, nor give your email to others)

In R’s partitioning approach, observations are divided into K groups and reshuffled to form the most cohesive clusters possible according to a given criterion. There are two methods—K-means and partitioning around mediods (PAM). In this article, base...

### Log Transformations for Skewed and Wide Distributions Get notified of new R posts (I don't spam, nor give your email to others)

This is a guest article by Nina Zumel and John Mount, authors of the new book Practical Data Science with R. For readers of this blog, there is a 50% discount off the “Practical Data Science with R” book, simply by using the code pdswrblo when reachi...

### Managing a statistical analysis project – guidelines and best practices Get notified of new R posts (I don't spam, nor give your email to others)

In the past two years, a growing community of R users (and statisticians in general) have been participating in two major Question-and-Answer websites: The R tag page on Stackoverflow, and Stat over flow (which will soon move to a new domain, no worr...

### Multidimensional Scaling with R (from “Mastering Data Analysis with R”) Get notified of new R posts (I don't spam, nor give your email to others)

Guest post by Gergely Daróczi. If you like this content, you can buy the full 396 paged e-book for 5 USD until January 8, 2016 as part of Packt’s “\$5 Skill Up Campaign” at https://bit.ly/mastering-R Feature extraction tends to be one of the most impo...

### On the biases in data

Whether we're developing statistical models, training machine learning recognizers, or developing AI systems, we start with data. And while the suitability of that data set is, lamentably, sometimes measured by its size, it's always important to refl...

### Predicting flu deaths with R

As Google learned, predicting the spread of influenza, even with mountains of data, is notoriously difficult. Nonetheless, bioinformatician and R user Shirin Glander has created a two-part tutorial about predicting flu deaths with R (part 2 here). Th...