## Plotting Watts-Strogatz model

## Compactly display the structure of an arbitrary R object

As you advance in your R use past “canned” functions and packages made by others, you may want to take information from one R object for use in another. For example, you may want to estimate a linear model, then use the results of that esti...

## Simple plot with text boxes

## BARUG Meetup at the Googleplex

What is R? R is an open-source, statistical programming language that is increasingly becoming the lingua franca of modern data analysis. R developers have created over 4,000 packages to run in the R environment, including several dozen developed by Googlers. We continue to work with the R community through conferences, meetups like this one, Faculty Research...

## Interactive 3d plot, in R

## Obviousness of REITs?

## Descriptive Statistics of Groups in R

The sleep data set—provided by the datasets package—shows the effects of two different drugs on ten patients. Extra is the increase in hours of sleep; group is the drug given, 1 or 2; and ID is the patient ID, 1 to 10.I'll be using this data set to show how to perform descriptive statistics of groups within...

## How to use your favorite fonts in R charts

Today's guest post comes from Winston Chang, a software developer at RStudio — ed. When it comes to making figures in R, you can use any font you like, as long as it's Helvetica, Times, or Courier. Using other fonts that are installed on your computer can seem an impossible task, especially if you want to save the output...

## Converting an R object to text, with dput()

We’ve already briefly covered making a reproducible example, but I thought I’d go a little more in-depth on the very helpful function dput(). Whenever I am having trouble applying an operation to some R object, and need help, but want to av...

## garch estimation on impossibly long series

The variability of garch estimates when the series has 100,000 returns. Experiment The post “Variability of garch estimates” showed estimates of 1000 series that were each 2000 observations long. Here we do the same thing except that the series each have 100,000 observations. That would be four centuries of daily data. It’s not presently feasible … Continue reading...

## (nonparametric) Copula density estimation

## Long-term precipitation data for your location from the US Historical Climatology Network using R

## ISBA towards higher computing goals [yet another new section!!!]

Surrounding the great and exciting gathering of Bayesian statisticians in Kyoto last June, several ISBA sections have appeared in the past weeks, as already mentioned on the ‘Og. Along with Anto Mira and Nicolas Chopin (who did most of the organisational work while I was wandering down under!), we discussed about a Bayesian computation section

## (nonparametric) copula density estimation

Today, we will go further on the inference of copula functions. Some codes (and references) can be found on a previous post, on nonparametric estimators of copula densities (among other related things). Consider (as before) the loss-ALAE dataset (since we’ve been working a lot on that dataset) > library(MASS) > library(evd) > X=lossalae > U=cbind(rank(X)/(nrow(X)+1),rank(X)/(nrow(X)+1)) The standard tool to plot...

## 2012-5 Voronoi Treemaps in R

A Voronoi Treemap is a visualisation tool for displaying data with a hierarchical structure. This article describes an open source implementation of Voronoi Treemaps in the R language and environment for statistical computing and graphics. The article includes example usage … Continue reading →

## FinancialInstrument Moves to CRAN

I thought I would break up the posts about GSOC (no, I’m not done yet – there are a few more to do) with a quick note about FinancialInstrument. The FinancialInstrument package provides a construct for defining and storing meta-data for tradable contracts (referred to as instruments, e.g., stocks, futures, options, etc.). The package can

## Why are pirates called pirates?

In homage to International Talk Like a Pirate Day… I recently stumbled across a series of blog posts from the folks at IDV that visualised the archive of recorded pirate attacks which has been collected by the US National Geospatial-Intelligence Agency. It’s a dataset of 6000+ pirate attacks which have been recorded over the last 30 … Continue reading...

## The PMML Revolution: Predictive analytics at the speed of business

This guest post is by Alex Guazzelli, VP of Analytics at Zementis Inc. -- ed. PMML, the Predictive Model Markup Language, is the de facto standard to represent predictive analytics and data mining models. With PMML, it is extremely easy to move a predictive solution from one system to another, since it avoids proprietary issues and incompatibilities. Companies around...

## Stock Market and US elections

Quantitative Finance, Technical Trading & Analysis. Fotis Papailias, Dimitrios Thomakos Fotis Quantitative Finance & Technical Trading Stock Market and US elections We made a very simple R file that historically gathers the period before and after the US elections. The inexperienced user has the ability to set the tickers of asset she wants to study and the look-back and look-forward...

## SPSS and R day in York

## (Unsurprisingly) users default to the defaults

## Vertnet – getting vertebrate museum record data and a quick map

## Divide or Mix. Flexible Approaches to Data Analysis

A very interesting paradigm in data analysis comes from the necessity to model data where it is difficult to think of a single global function to be capable to represent adequately the data. We could see a spectrum of models … Continue reading →

## Technical Analysis of Montana Voter Registration Files

By Earl F Glynn | Franklin Center This article shows how to analyze Montana voter registration files using R. The Montana Secretary of State sells two files of voter registration records for a fee of $1000: Statewide Voter File Voter History File The Montana Secretary of State provides information about the two files on this

## Automatic drug utilization reports with R and ggplot2

## RcppArmadillo 0.3.4.1

Conrad released the bug-fix release 3.4.1 of Armadillo earlier today, and the corresponding RcppArmadillo package 0.3.4.1 is already on CRAN. No R level or interface changes were, the upstream changes are summarized below. Changes in RcppArmadillo...