453 search results for "animation"

An OS X R Task Runner for—and a Mini-R-centric review of—Microsoft’s Visual Studio Code Editor

November 21, 2015
By

Microsoft’s newfound desire to make themselves desirable to the hipster development community has caused them to make many things open and/or free of late. One of these manifestations is Visual Studio Code, an Atom-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try

Read more »

Create ARIMA time series from bottom up

November 20, 2015
By

Simulating ARIMA models Generating an arbitrary Auto-Regressive Integrated Moving Average (ARIMA) model is easy in R with the arima.sim() function that is part of the built-in {stats} package. In fact I've done it extensively in previous blog posts for various illustrative purposes. But one cost of doing this for educational purposes is that the mechanics of...

Read more »

Analyzing 1.1 Billion NYC Taxi and Uber Trips, with a Vengeance

November 17, 2015
By
Analyzing 1.1 Billion NYC Taxi and Uber Trips, with a Vengeance

The New York City Taxi & Limousine Commission has released a staggeringly detailed historical dataset covering over 1.1 billion individual taxi trips in the city from January 2009 through June 2015. Taken as a whole, the detailed trip-level data is more than just a vast list of taxi pickup and drop off coordinates: it’s a story of New York....

Read more »

Linear model with time series random component

November 14, 2015
By
Linear model with time series random component

What do auto-correlated residuals do to your linear model? For training purposes I wanted to illustrate the dangers of ignoring time series characteristics of the random part of a classical linear regression, and I came up with this animation to do it: I like this, because it shows how easy it is to fit something that looks to be...

Read more »

Using MonetDB[Lite] with real-world CSV files

November 11, 2015
By

MonetDBLite (for R) was announced/released today and, while the examples they provide are compelling there’s a “gotcha” for potential new folks using SQL in general and SQL + MonetDB + R together. The toy example on the site shows dumping mtcars with dbWriteTable and then doing things. Real-world CSV files have headers and commas (MonetDB

Read more »

Visualizing Survey Data : Comparison Between Observations

November 8, 2015
By
Visualizing Survey Data : Comparison Between Observations

Cybersecurity is a domain that really likes survey, or at the very least it has many folks within it that like to conduct and report on surveys. One recent survey on threat intelligence is in it’s second year, so it sets about comparing answers across years. Rather than go ingo the many technical/statistical issues with

Read more »

An Ephemeral Update to daylight()

November 2, 2015
By
An Ephemeral Update to daylight()

This occurrence of the bi-annual corruption of the space-time continuum (i.e. changing to/from standard/daylight time) in the U.S. caused me to make a slight change to the code from an older post. The daylight() function now auto-discovers the date and location information (via telize) from the caller, which means all you have to do to

Read more »

Instrumental Variables

October 29, 2015
By
Instrumental Variables

by Joseph Rickert We all "know" that correlation does not imply causation, that unmeasured and unknown factors can confound a seemingly obvious inference. But, who has not been tempted by the seductive quality of strong correlations? Fortunately, it is also well known that a well done randomized experiment can account for the unknown confounders and permit valid causal inferences....

Read more »

Less Drama, More Encoding

October 24, 2015
By
Less Drama, More Encoding

Junk Charts adeptly noted and fixed this excessively stylized chart from the WSJ this week: Their take on it does reduct the ZOMGOSH WE ARE DOOMED! look and feel of the WSJ chart: But, we can further reduce the drama by using a more neutral color encoding and encode both the # of outbreaks and

Read more »

Silver flows in the seventeenth and eighteenth centuries

October 24, 2015
By
Silver flows in the seventeenth and eighteenth centuries

Silver trade I’ve been reading Ronald Findlay and Kevin H. O’Rourke’s 2009 book Power and Plenty: Trade, War, and the World Economy in the Second Millennium and finding it an excellent piece of big picture economic history. I felt the urge to re-express one of their figures (Figure 4.7 in the original). The original is made up of...

Read more »

Sponsors

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)