oro.nifti 0.3.1

December 27, 2011
By
oro.nifti 0.3.1

The  package oro.nifti contains functions for the input/output and visualization of medical imaging data that follow either the ANALYZE, NIfTI or AFNI formats.  This package is part of the Rigorous Analytics bundle.Lightbox display of fu...

Read more »

Web scraping with Python – the dark side of data

December 27, 2011
By

In searching for some information on web-scrapers, I found a great presentation given at Pycon in 2010 by Asheesh Laroia. I thought this might be a valuable resource for R users who are looking for ways to gather data from user-unfriendly websites. The...

Read more »

oro.dicom 0.3.3

December 27, 2011
By
oro.dicom 0.3.3

The R package oro.dicom contains data input/output functions for medical imaging data that conform to the Digital Imaging and Communications in Medicine (DICOM) standard, part of the Rigorous Analytics bundle.The latest version of oro.dicom (0.3.3) con...

Read more »

Fed Loan Data Part 1

December 27, 2011
By
Fed Loan Data Part 1

This is the start of analyzing the Federal Reserve and Banking data mentioned in my "A Christmas Miracle". The file is a combination of summary data and actual data from each of the 400+ banks that recieved funds from the Federal Reserve during 2007-20...

Read more »

Monetary Policy and Credit Easing

December 26, 2011
By

Here at the dancing economist, we wish to educate our followers on the finer points of economics and this includes econometrics and using R. R as mentioned previously is a free statistical software that enables regular people like us to do high end eco...

Read more »

Just Crantastic!

December 26, 2011
By

If you're an econometrician and you don't use the R software environment - for at least some of your work, then you're missing out on all sorts of (free!) opportunities.Yes, it can be a steep learning curve, but it's worth every drop of sweat, and there are some great R community sites that will help you along...

Read more »

Modelling returns using PCA : Evidence from Indian equity market

December 26, 2011
By

As my finance term paper, I investigated an interesting question where I tried to identify macroeconomic variables that explain the returns on equities. Much of the debate has already taken place on this topic which has given rise to two competing theo...

Read more »

An R wish list for 2012

December 26, 2011
By
An R wish list for 2012

I expect there will be many reviews and wish lists for R this year, with many of them focusing on either running speed or dealing with large data sets. However, most issues that I would like to see tackled in … Continue reading →

Read more »

Le Monde puzzle [#754]

December 25, 2011
By
Le Monde puzzle [#754]

The pre-X’mas puzzle in Le Monde weekend edition is about “magical numbers” having as digits all digits between 0 and n (at least once) and being multiple of all digits between 1 and (n+1). Easy, isn’t it?! I thought so while driving down to the Alps on Saturday and (on Monday early morning) I tried

Read more »

Portfolio Optimization in R, a previous error.

December 25, 2011
By

I realized that I made a mistake in the calculation of the market weight portfolio from the previous post.  I hold constant the portfolio weights through time. These should be adjusted after each day as prices change.  The market portfolio re...

Read more »

Portfolio Optimization in R, a previous error.

December 25, 2011
By
Portfolio Optimization in R, a previous error.

I realized that I made a mistake in the calculation of the market weight portfolio from the previous post.  I hold constant the portfolio weights through time. These should be adjusted after each day as prices change.  The market portfolio re...

Read more »

R and the Geotechnical Exchange Format

December 24, 2011
By
R and the Geotechnical Exchange Format

Quite some time ago now, I wrote this function to read some *.gef files into R. "gef" stands for Geotechnical Exchange Format. Details on this data format can be found at http://www.geffiles.nl/, as well as several software tools. I had a long list of ...

Read more »

Call for Abstracts for useR! 2012

December 24, 2011
By

The international R User Conference useR! 2012 will be held June 12-15 at Vanderbilt University in Nashville, Tennessee, USA, with a pre-conference full-day course offered on June 11. Participants are encouraged to submit a one-page abstract for oral or poster presentation at the conference. Half-day tutorials will be held in the morning and afternoon of June 12th. For tutorials,...

Read more »

ML-Class Ex 7 – kMeans clustering

December 24, 2011
By
ML-Class Ex 7 – kMeans clustering

The K-means algorithm is a method to automatically cluster similar data examples together. The intuition behind K-means is an iterative procedure that starts by guessing the initial centroids, and then refines this guess by repeatedly assigning examples to their closest centroids and then recomputing the centroids based on the assignments. Read more »

Recology is 1 yr old

December 23, 2011
By
Recology is 1 yr old

This blog has lasted a whole year already.  Thanks for reading and commenting. There are a couple of announcements: Less blogging: I hope to put in many more years blogging here, but in full disclosure I am blogging for Journal of Ecology now, ...

Read more »

Recology is 1 yr old

December 23, 2011
By
Recology is 1 yr old

This blog has lasted a whole year already.  Thanks for reading and commenting. There are a couple of announcements: Less blogging: I hope to put in many more years blogging here, but in full disclosure I am blogging for Journal of Ecology now, ...

Read more »

Recology is 1 yr old…

December 23, 2011
By
Recology is 1 yr old…

This blog has lasted a whole year already.  Thanks for reading and commenting. There are a couple of announcements:Less blogging:  I hope to put in many more years blogging here, but in full disclosure, I am blogging for Journal of Ecology no...

Read more »

A Christmas Miracle

December 23, 2011
By

Data files on 407 banks, between the dates of 2007 to 2009, on the daily borrowing with the US Federal Reserve bank. The data sets are available from Bloomberg at this address data This is an unprecedented look into the day-to-day transactions of ...

Read more »

Programming traps when using "sample"

December 23, 2011
By
Programming traps when using "sample"

Standard sample function works differently when it gets single element integer vector as opposed to longer vectors. This can lead to unexpected bugs in R code.Several times I had a problem with code similar to one given here:for (i in 1:4) {&...

Read more »

Norman Nie on two big problems with Big Data

December 23, 2011
By

Revolution Analytics CEO Norman Nie sat down with Cassimir Medford from Business Agility to talk about the problems business today face with respect to Big Data. The two big problems identified: finding adequately trained personnel and locating the right tools. Norman traces the problem of finding skilled practitioners to work with Big Data to the US educational system: The...

Read more »

Portfolio Optimization in R, Part 4

December 23, 2011
By
Portfolio Optimization in R, Part 4

This post will conclude the portfolio optimization series.  In this post, we will construct a trading strategy based on portfolio optimization and test the results against the CAPM market portfolio as well as another strategy.It is worth reiterati...

Read more »

googleVis 0.2.13: new stepped area chart and improved geo charts

December 23, 2011
By
googleVis 0.2.13: new stepped area chart and improved geo charts

On 7th December Google published a new version of their Visualisation API. The new version adds a new chart type: Stepped Area Chart and provides improvements to Geo Chart. Now Geo Chart has similar functionality to Geo Map, but while Geo Map requires ...

Read more »

Happy Holidays and Best Wishes for 2012

December 22, 2011
By
Happy Holidays and Best Wishes for 2012

This is just a quick note to wish you and your family a very healthy and happy holidays and wonderful New Year! I hope you enjoyed reading my blog and thank you for your comments and emails. Here is a short R code that implements an interesting idea from the Charting the Santa Claus Rally

Read more »

AQP 0.9-9 is ready: 1.0 should be out by 2012-01-01 !

December 22, 2011
By
AQP 0.9-9 is ready: 1.0 should be out by 2012-01-01 !

Version 1.0 of AQP is nearly ready-- after nearly 3 years of development, 2 years on R-Forge, and 1+ year on CRAN. Just pushed version 0.9-9 to R-Forge, and it should be on CRAN within a couple days. Recent changes are listed below, clipped from the NE...

Read more »

R 2.14.1 is released

December 22, 2011
By

Peter Dalgaard announced today the release of the new R version 2.14.1.  Bellow is the announcement.  For R users who are using windows, I suggest to also have a look at one of the following two posts, suggestion an alternative strategy for how to more easily upgrade R under Windows XP, or under windows 7 (which tends to have more permission...

Read more »

Dynamic views don’t support javascript-so reverting back to simple views

December 22, 2011
By
Dynamic views don’t support javascript-so reverting back to simple views

Sorry for the temporary loss of GitHub gists...Hopefully dynamic views will support javascript soon!!

Read more »

R 2.14.1 is released

December 22, 2011
By

Source distributions of the latest maintenance release of R, R 2.14.1, are now available. Binary distributions will begin appearing on local CRAN mirrors in the next few days. This update makes a few small improvements (such as the ability to accurately count the number of available cores for parallel processing on Solaris and Windows, and improved support of grayscale...

Read more »

ASU Tuition by Academic Year

December 22, 2011
By
ASU Tuition by Academic Year

Description:Arizona State University tuition fees from 1987-2011.Data:https://azregents.asu.edu/ABOR%20Reports/TUITION%20HISTORY.pdfAnalysis:It has been suggested that the 'cost' of tuition has remained the same throughout the years, yet the 'price' of...

Read more »

Rcpp 0.9.8

December 22, 2011
By

A new release 0.9.8 of Rcpp is now on CRAN and will also get into Debian shortly (once I finish building R 2.14.1). This release contains a few incremental changes. Romain, sponsored by by the Open Source Programs Office at Google, had released a...

Read more »