Philadelphia Schools

March 7, 2012
By
Philadelphia Schools

I'm on spring break, and yesterday I took some time to check off some items on my to-do list, namely:Start getting acquainted with all the new features of ggplot2 .Get a handle on dealing with geographic data in R.I've done some furtive geographic...

Read more »

Setting Up and Customizing R

March 7, 2012
By

For the longest time I resisted customizing R for my particular environment. My philosophy has been that each R script for each separate analysis I do should be self contained such that I can rerun the script from top to bottom on any machine and get the same results. This being said, I have now

Read more »

Strike Zone Changes?

March 7, 2012
By
Strike Zone Changes?

It's been a while since I have posted here. I have been swamped with some papers I am trying to get out, finishing up the dissertation, and interviews (faculty ones in addition to others). I should have some big news in the next couple of weeks regar...

Read more »

Why an inverse-Wishart prior may not be such a good idea

March 7, 2012
By
Why an inverse-Wishart prior may not be such a good idea

While playing around with Bayesian methods for random effects models, it occured to me that inverse-Wishart priors can really bite you in the bum. Inverse Wishart-priors are popular priors over covariance functions. People like them priors because they are conjugate to a Gaussian likelihood, i.e, if you have data with each : so that the

Read more »

ThinkStats … in R :: Example 1.3

March 7, 2012
By

With 1.2 under our belts, we go now to the example in section 1.3 which was designed to show us how to partition a larger set of data into subsets for analysis. In this case, we’re going to jump to example 1.3.2 to determine the number of live births. While the Python loop is easy

Read more »

RcppArmadillo 0.2.36

March 6, 2012
By

RcppArmadillo release 0..2.36 is now on CRAN. It contains just the changes from the new Armadillo release 2.4.4. The NEWS entry below summarises the changes. 0.2.36 2012-03-05 o Upgraded to Armadillo release 2.4.4 * fixes for q...

Read more »

lembarrasduchoix asked: thank you for the introduction to…

March 6, 2012
By
lembarrasduchoix asked:
thank you for the introduction to…

lembarrasduchoix asked: thank you for the introduction to Newcomb’s paradox! Could you do a post on your favorite paradoxes?    The decision theory paradoxes I’m familiar with are: Ellsberg Paradox— Theorists encode bothsituations with unknown...

Read more »

Frustration

March 6, 2012
By

Google has failed me.  Cannot get RMySQL to install on my laptop.  Looks like I am going to need a different method to get data from MySQL into R.If anyone has pointers, I'm all ears.Windows 7 x64, R 2.13.1

Read more »

Using R to Visualizing Information Flows on Wikipedia Talk Pages

March 6, 2012
By
Using R to Visualizing Information Flows on Wikipedia Talk Pages

Wikipedia talk pages allow editors to discuss the evolving content on related Wikipedia articles. Sometimes the topic of a page is controversial and the talk page threads can become heated with different posts invoking a wide range of values in the kinds of appeals they use in their arguments. For example, in one thread you

Read more »

Russian elections

March 6, 2012
By
Russian elections

Just a few words about the Russian election. I read this entry http://www.badscience.net/2012/03/is-there-statistical-evidence-of-fraud-in-the-russian-election-data/ and thought to look for myself. For me it seems the data is not good enough ...

Read more »

Java based GUI for R

March 6, 2012
By

JGR is a pretty nice Java based GUI for R.  The primary reason I like this is that it is truly cross platform, and will work the same for any operating systemAdded benefits are that some packages like rJava and others tend to break on Mac OSX, but...

Read more »

Big Data Analytics to Revolutionize Services

March 6, 2012
By

Revolution Analytics' CEO Dave Rich was interviewed by Wikibon's David Vellante and SiliconAngle's John Furrier at the Strata 2012 conference last week. Given Dave's background at Accenture Analytics, the conversation naturally turned to impact of predictive analytics and R on business services. (See the video after the jump, below.) Bret Latmore of SiliconANGLE provides highlights of the interview, including...

Read more »

Ggplot2 Notes

March 6, 2012
By

During the time I have used R the base graphics package has met my needs, although I have been aware of ggplot2 but found learning it a bit of a struggle so have pretty much ignored it until now. Most … Continue reading →

Read more »

Missing my Statsy Goodness? Check out #SciFund!

March 6, 2012
By
Missing my Statsy Goodness? Check out #SciFund!

I know, I know, I have been kinda lame about posting here lately. But that’s because my posting muscle has been focused on the new analyses for what makes a succesful #SciFund proposal. I’ve been posting them at the #SciFund blog under the Analysis tag – so check it out. There’s some fun stats, and

Read more »

Pathway Analysis for High-Throughput Genomics Studies

March 6, 2012
By
Pathway Analysis for High-Throughput Genomics Studies

I get a lot of requests in the core about running a "pathway analysis." Someone ran a handful of gene expression arrays, or better yet, ran an RNA-seq experiment (with replicates!). These, and many other kinds of high-throughput assays (GWAS, ChIP-seq,...

Read more »

R101

March 6, 2012
By
R101

I’m preparing “R101,” an introductory workshop on the statistical software R. Perhaps other beginners might find some use in the following summary and resources. (See also the post on resources for teaching yourself introductory statistics.) Do you have obligatory screenshots … Continue reading →

Read more »

Screencast: The Making of 17018d5488

March 6, 2012
By
Screencast: The Making of 17018d5488

The following screencast demonstrates the use of R, the quantmod R package and bash to process SPX data from 1950. An explanation on how to access a git repository that includes the plots and the R console history is also provided. This screencast prod...

Read more »

Multiple Factor Model – Building 130/30 Index

March 5, 2012
By
Multiple Factor Model – Building 130/30 Index

Nico brought to my attention the 130/30: The New Long-Only (2008) by A. Lo, P. Patel paper in his comment to the Multiple Factor Model – Building CSFB Factors post. This paper presents a very detailed step by step guide to building 130/30 Index using average CSFB Factors as the alpha model and MSCI Barra

Read more »

Recovering Marginal Effects and Standard Errors from Interaction Terms in R

March 5, 2012
By

When I fit models with interactions, I often want to recover not only the interaction effect but also the marginal effect (the main effect + the interaction) and of course the standard errors. There are a couple of ways to do this in R but I ended writ...

Read more »

Recovering Marginal Effects and Standard Errors from Interaction Terms in R

March 5, 2012
By

When I fit models with interactions, I often want to recover not only the interaction effect but also the marginal effect (the main effect + the interaction) and of course the standard errors. There are a couple of ways to do this in R but I ended writ...

Read more »

Recovering Marginal Effects and Standard Errors from Interaction Terms in R

March 5, 2012
By

When I fit models with interactions, I often want to recover not only the interaction effect but also the marginal effect (the main effect + the interaction) and of course the standard errors. There are a couple of ways to do this in R but I ended writ...

Read more »

how to build a for loop in r

March 5, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

how to create a logical test and then build an if statement in r

March 5, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

Airline Fares Decreasing Steadily

March 5, 2012
By
Airline Fares Decreasing Steadily

Description: Yearly average airline fare since 1995. Data: http://www.bts.gov/ Analysis: When taking the average price of domestic airline fares, there is a clear trend indicating that flying is becoming more affordable - when adjusted for infl...

Read more »

Benford’s Law and fraud in the Russian election

March 5, 2012
By
Benford’s Law and fraud in the Russian election

Earlier today Ben Goldacre posted about using Benford’s Law to try and detect fraud in the Russian elections. Read that now, or the rest of this post won’t make sense. This is a loose R translation of Ben’s Stata code. The data is held in a Google doc. While it is possible to directly retrieve

Read more »

NIT: Fatty acids study in R – Part 003

March 5, 2012
By
NIT: Fatty acids study in R – Part 003

As I told you I´m a beginner in "R", so I realize that I have to prepare my data a little bit in order to continue from my previous post ( NIT: Fatty acids study in R - Part 002) after getting some errors. Anyway I´m really fascinated ...

Read more »

Futures price prediction using the order book data

March 5, 2012
By
Futures price prediction using the order book data

It has been a couple of months since my last post; busy with lots of projects.I had some fun playing around with data from Interactive Brokers API.  It turns out that it is relatively easily to get hold of the raw market data relating to both trades and order book changes for CME/NYMEX commodity futures.  For the purposes of...

Read more »

New R User Groups in Lithuania, Birmingham, Taiwan

March 5, 2012
By

Three new local R user groups to add to the list today: from Lithuania, Taiwan, and Birmingham (UK). The Chinese Academy of R Software (CARS) serves R users in Taipei (Taiwan). It has been approved by the Ministry of the Interior of Taiwan, and has more than 500 "likes" on its Facebook page. The Birmingham R Users Meeting (with...

Read more »

Dr Sanjiv Das presents "Using R for Analyzing Loans, Portfolios and Risk"

March 5, 2012
By

In a free webinar tomorrow at 10AM Pacific, Professor of Finance Dr Sanjiv Das will present, "Using R for Analyzing Loans, Portfolios and Risk: From Academic Theory to Financial Practice". I saw a version of Dr Das's talk a couple of months ago at the Bay Area R User Group meeting, and it was outstanding. I particularly recall his...

Read more »