Testing Multiple Linear Restrictions in R

March 3, 2011
By
Testing Multiple Linear Restrictions in R

This video shows a couple of things:1. How to test (multiple) linear restrictions in R.2. How to install a package in R. Here is the code I use in the video (with some extra comments).Here is the data set that I use in the video.

Read more »

Converting text files with sed

March 3, 2011
By

Sed is my friend to change fixed-width text files (e.g., from an R screen output) to a comma delimited file using sed 's/ */,/g' file1 >file2.csv Note the two spaces between s/ and */.

Read more »

Keep an Eye on the emerging Open-Source Analytics Stack

March 3, 2011
By

This post is contributed by Revolution Analytics CEO Norman Nie, and cross-posted from the Future of Open Source Forum. A lot of attention has been focused recently on Big Data, and rightly so: Big Data is a Big Deal. (See this LinuxInsider article, Big Data, Big Open Source Tools, for a compehensive overview of Big Data issues.) But what,...

Read more »

Creating R Packages

March 3, 2011
By

Rory Winston provides a detailed introduction to creating R packages. He provides a simple of, from start to finish, as well as how to incorporate native code into your package.

Read more »

3D Anisotropy parameters

March 3, 2011
By

Hello everyone, I’m trying to create a method for calculating the 5 parameters for the 3D anisotropy in an automatic way. Basically I created a loop for analysing the range of the horizontal variogram in every direction and extrapolating the maximum (for the angle p). Then it computes the vertical variogram in the direction of maximum...

Read more »

3D Anisotropy parameters

March 3, 2011
By

Hello everyone, I’m trying to create a method for calculating the 5 parameters for the 3D anisotropy in an automatic way. Basically I created a loop for analysing the range of the horizontal variogram in every direction and extrapolating the maximum (for the angle p). Then it computes the vertical variogram in the direction of maximum...

Read more »

cut&paste typo in R book

March 2, 2011
By
cut&paste typo in R book

A casualty of cut-and-paste in Chapter 3 of Introducing Monte Carlo Methods with R. Brad McNeney from Simon Fraser sent me a nice email about the end of Example 3.6 missing a marginal estimate. Indeed, it does. And it should have been obvious from the “estimates” we derived, 19 and 16, which are not even

Read more »

R Video Tutorial for Spatial Statistics

March 2, 2011
By

Welcome everybody, this is a video tutorial that will try to teach you how to use R for spatial statistics and interpolation. I’m a PhD student in soil science and in particular my project is about digital soil mapping. During my work I often use R particularly for geostatstical interpolation. ...

Read more »

R Video Tutorial for Spatial Statistics

March 2, 2011
By

Welcome everybody, this is a video tutorial that will try to teach you how to use R for spatial statistics and interpolation. I’m a PhD student in soil science and in particular my project is about digital soil mapping. During my work I often use R particularly for geostatstical interpolation. ...

Read more »

Investing with the Odds

March 2, 2011
By
Investing with the Odds

In this previous post, I showed that a look at the correlations in the daily returns of S&P 500 should have lead to a very profitable investing strategy. I also promised to show the results of this strategy in the 80s, but I am not going to do that, because MarketSci has done so in

Read more »

Calling R from JasperReports Server

March 2, 2011
By

Revolution Analytics today announced a partnership with Jaspersoft, the makers of the most widely-used business intelligence software in the world. With this partnership, Revolution R and Jaspersoft software work together to bring the power of analytics coded in R to business users working with Business Intelligence (BI) dashboards and reports. If you're a Jaspersoft or R developer and would...

Read more »

RStudio

March 2, 2011
By

All the cool kids are talking about it so I should take some time to plug RStudio, a free open source IDE for R. Unlike some of the “beginner” IDEs like Deducer, RStudio is not designed to offer menu based … Continue reading →

Read more »

Rcpp at Geneva-R

March 2, 2011
By

I'll present Rcpp at the inaugural Geneva-R meeting. Geneva-R is an informal gathering of R enthusiasts sponsored by Mango Solutions, that builds on the success of London-R, where I presented twice, and Basel-R

Read more »

Anova – Type I/II/III SS explained

March 2, 2011
By
Anova – Type I/II/III SS explained

Not my post, just bookmarking this. It’s from http://goanna.cs.rmit.edu.au/~fscholer/anova.php ANOVA (and R) The ANOVA Controversy ANOVA is a statistical process for analysing the amount of variance that is contributed to a sample by different factors. It was initially derived by R. A. Fisher in 1925, for the case of balanced data (equal numbers of observations

Read more »

The easiest way to get UTR sequence

March 2, 2011
By

I just figure out the way to query UTR sequences from ensembl by biomart tool. It is very simple compared with using bioperl to parse gbk files to extract UTR sequences. Read More: 236 Words Totally

Read more »

The easiest way to get UTR sequence

March 2, 2011
By

I just figure out the way to query UTR sequence from ensembl by biomart tool. It is very simple compare with using bioperl to parse gbk file to extract UTR sequence. Read More: 232 Words Totally

Read more »

Bootstrapping the Truncated Normal Distribution

March 2, 2011
By
Bootstrapping the Truncated Normal Distribution

Here’s a post generated from my own ignorance of statistics (as opposed to just being marred by it)! In Labor Economics we walked through something called the truncated normal distribution. Truncated distributions come up a lot in the sciences because … Continue reading →

Read more »

Review of R Graphs Cookbook

March 1, 2011
By

The kind people at Packt Publishing recently asked me to review one of their newest R books: the R Graphs Cookbook. In general, I think pretty highly of the book: it provides a nice overview of the basic tools for visualizing data in R. If you’re just getting started with creating graphs in R, this

Read more »

Why learn R?

March 1, 2011
By
Why learn R?

I'm introducing R to a few colleagues this week and want to share why learning a software like R is important... Here are a few articles that explain it well... Other reasons?Importance of data science- Couple years ago Google's Chief Economist Hal Var...

Read more »

Why learn R?

March 1, 2011
By
Why learn R?

I'm introducing R to a few colleagues this week and want to share why learning a software like R is important... Here are a few articles that explain it well... Other reasons?Importance of data science- Couple years ago Google's Chief Economist Hal Var...

Read more »

MARCH 16 UPDATE: My email scraping has become surprisingly…

March 1, 2011
By
MARCH 16 UPDATE: My email scraping has become surprisingly…

MARCH 16 UPDATE: My email scraping has become surprisingly controversial, so I’ve taken down the code and other plots for now. Ironically, I’ve also updated the plot. I studied the emails sent to my dorm’s email list and drew some plots. A little context should be enough for you to follow them. Risley Hall is an arts-themed dorm...

Read more »

Extracting sea surface temperatures from NOAA’s OISSTv2

March 1, 2011
By

NOAA’s Physical Sciences Division produces a global map of weekly averaged sea surface temperatures, derived from satellite sources. The data can be found at http://www.esrl.noaa.gov/psd/data/gridded/data.noaa.oisst.v2.html. I’ve put togeth...

Read more »

Mapping the Chicago mayoral election

March 1, 2011
By
Mapping the Chicago mayoral election

Rahm Emanuel is now Mayor of Chicago, having successfully defended a court challenge to his candidacy and then 5 rivals in the February 22 election. The Chicago Tribune has put together an interactive map of the results (color-coded by the winner in each precinct), but for R hackers who would like to create similar maps of other elections, the...

Read more »

RStudio – An IDE for the Masses!

March 1, 2011
By
RStudio – An IDE for the Masses!

I’ll admit it. There’s one thing that always makes me sad working on a mac. R. How does R make me sad on a mac? I look over at my compatriots in Windows using fun Integrated Development Environments (IDEs) like Tinn-R, and I sigh. On the other hand, I just had the sad little text

Read more »

R User Group Birmingham Alabama

March 1, 2011
By
R User Group Birmingham Alabama

I would like to start a R user group in Birmingham, Alabama.  Please comment if anyone is interested.  I’m thinking I will host in Google Groups, since meetup costs money.  Let me know if I should use some other site.

Read more »

Look at that! I dethroned Hadley in the “Most Watched…

March 1, 2011
By
Look at that! I dethroned Hadley in the “Most Watched…

Look at that! I dethroned Hadley in the “Most Watched This Week” list on github.com.

Read more »

I love RStudio

March 1, 2011
By
I love RStudio

Typically if I am working with R I will have a lot of different windows open all at once. I'll have the R Console (for Mac) of course and a text editor (Xcode or TextEdit), plus there will usually be some help windows to examine particular functions o...

Read more »

How Does R Deal with Categorical Explanatory Variables?

March 1, 2011
By
How Does R Deal with Categorical Explanatory Variables?

Here's a video tutorial where I demonstrate an answer to this question.This video is designed to instill a baseline level of practical knowledge. There is more to how R treats factors in regression models. An interested reader should Google "R contra...

Read more »

RStudio: a cut above

March 1, 2011
By
RStudio: a cut above

As most followers of R-bloggers.com and the Twitter #rstats know by now, RStudio is a new open-source IDE for R that was beta-released yesterday. I have started putting it through its paces within my R workflow, and my impressions are more than favorable. I also tried it out on my home Linux server in server

Read more »