November 2014

Introducing RcppAnnoy

November 16, 2014 | Thinking inside the box

A new package RcppAnnoy is now on CRAN. It wraps the small, fast, and lightweight C++ template header library Annoy written by Erik Bernhardsson for use at Spotify. While Annoy is setup for use by Python, RcppAnnoy offers the exact same functionality... [Read more...]

SAS PROC MCMC example in R; Poisson Regression

November 16, 2014 | Wingfeet

In this post I will try to copy the calculations of SAS's PROC MCMC example 61.5 (Poisson Regression) into the various R solutions. In this post Jags, RStan, MCMCpack, LaplacesDemon solutions are shown. Compared to the first post in this series, rcppbugs and mcmc are not used. Rcppbugs has no poisson ... [Read more...]

Le Monde puzzle [#887bis]

November 15, 2014 | xi'an

As mentioned in the previous post, an alternative consists in filling the permutation of {1,…,N} by adding squares left and right until the permutation is complete or no solution is available. While this sounds like the dual of the initial solution, it brings a considerable increase in computing time, as ...
[Read more...]

Fioccano i dati

November 15, 2014 | Salvino A. Salvaggio

Salvino A. Salvaggio, PhDNovembre 2014Online da febbraio 2016Sebbene in uno Stato di diritto dovrebbe vigere il doppio obbligo di rispetto della legge e di certezza del diritto, questo nulla toglie al fatto che ci si possa legittimamente porre domande... [Read more...]

Le Monde puzzle [#887]

November 14, 2014 | xi'an

A simple combinatorics Le Monde mathematical puzzle: N is a golden number if the sequence {1,2,…,N} can be reordered so that the sum of any consecutive pair is a perfect square. What are the golden numbers between 1 and 25? Indeed, from an R programming point of view, all I have to ...
[Read more...]

Frente Amplio Winnability

November 14, 2014 | Daniel Marcelino

Uruguayan voters are about to give give Frente Amplio a third mandate this November 30th. The following graph shows how the outcome would look like if the election were held this week. The undecided voters were distributed accordingly to each party as by the election day. The picture draws the ... [Read more...]

R leaps to #12 in Tiobe language popularity index

November 14, 2014 | David Smith

The R language has jumped to number 12 in the November 2014 TIOBE Index of programming language popularity. This is R's highest ranking in the history of the TIOBE index, which has been ranking languages since 2003. A high ranking is an impressive achievement for R given that it is a domain-specific language (... [Read more...]

What size will you be after you lose weight?

November 14, 2014 | dan

REDDITORS’ BEFORE AND AFTER MEASUREMENTS ANALYZED Click to enlarge How many pounds do you need to lose in order to reduce your waistline by one inch? How many kilos do you need to lose to reduce your waistline by one centimeter? We wanted to find out. We were having trouble ... [Read more...]

Dynamic occupancy models in Stan

November 14, 2014 | Maxwell B. Joseph

Occupancy modeling is possible in Stan as shown here, despite the lack of support for integer parameters. In many Bayesian applications of occupancy modeling, the true occupancy states (0 or 1) are directly modeled, but this can be avoided by marginalizing out the true occupancy state. The Stan manual (pg. 96) gives an ... [Read more...]

Scatter Plot Matrices in R

November 13, 2014 | Arnold Salvacion

One of our graduate student ask me on how he can check for correlated variables on his dataset. Using R, his problem can be done is three (3) ways. First, he can use the cor function of the stat package to calculate correlation coefficient between vari...
[Read more...]

How to become a data scientist in 8 easy steps: the infographic

November 13, 2014 | DataCamp

This post was written by the team behind DataCamp, the online interactive learning platform for data science.   After being dubbed “sexiest job of the 21st Century” by Harvard Business Review, data scientists have stirred the interest of the general public. Many people are intrigued by this job, namely because the ... [Read more...]

A look at the igraph package

November 13, 2014 | Joseph Rickert

by Joseph Rickert The igraph package has become a fundamental tool for the study of graphs and their properties, the manipulation and visualization of graphs and the statistical analysis of networks. To get an idea of just how firmly igraph has become embedded into the R package ecosystem consider that ... [Read more...]
1 4 5 6 7 8 11

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)