966 search results for "LaTeX"

Combining R and LaTeX with Sweave

January 6, 2009
By

Today I did some experiments to learn how to combine R and LaTeX to create reproducible research reports. Here are my first results:First Demo ...

Read more »

Combining R and LaTeX with Sweave

January 6, 2009
By

Today I did some experiments to learn how to combine R and LaTeX to create reproducible research reports. Here are my first results:First Demo ...

Read more »

Object Oriented Programming with R: An example with a Cournot duopoly

April 23, 2014
By
Object Oriented Programming with R: An example with a Cournot duopoly

I started reading Applied Computational Economics & Finance by Mario J. Miranda and Paul L. Fackler. It is a very interesting book that I recommend to every one of my colleagues. The only issue I have with this book, is that the programming language they use is Matlab, which is proprietary. While there is a free...

Read more »

Fracking and House Prices on the Marcellus Shale

April 21, 2014
By
Fracking and House Prices on the Marcellus Shale

Starting last summer I worked on a short project that set out to estimate the potential costs of externalities due to unconventional shale gas production in the Marcellus shale on local house prices using a dataset of roughly 150,000 recently sold houses in Ohio, West Virginia and Pennsylvania. I stopped working on a project that

Read more »

Testing for Linear Separability with Linear Programming in R

April 19, 2014
By
Testing for Linear Separability with Linear Programming in R

For the previous article I needed a quick way to figure out if two sets of points are linearly separable. But for crying out loud I could not find a simple and efficient implementation for this task. Except for the perceptron and … Continue reading → The post Testing for Linear Separability with Linear Programming in R appeared first...

Read more »

How Fast the Fastest Human Would Run 100m?

April 16, 2014
By
How Fast the Fastest Human Would Run 100m?

Ethan Siegel wrote a post entitled The Math of the Fastest Human Alive five years ago, using regressions. An alternative is too use extreme value models (I wrote a post a long time ago on the maximum length of a tennis match using extreme value theory a few years ago). In 2009, John Einmahl and Sander Smeets wrote a great article...

Read more »

Errors on percentage errors

April 16, 2014
By
Errors on percentage errors

The MAPE (mean absolute percentage error) is a popular measure for forecast accuracy and is defined as     where denotes an observation and denotes its forecast, and the mean is taken over . Armstrong (1985, p.348) was the first (to my knowledge) to point out the asymmetry of the MAPE saying that “it has a bias favoring estimates...

Read more »

Side-by-Side Box Plots with Patterns From Data Sets Stacked by reshape2 and melt() in R

Side-by-Side Box Plots with Patterns From Data Sets Stacked by reshape2 and melt() in R

Introduction A while ago, one of my co-workers asked me to group box plots by plotting them side-by-side within each group, and he wanted to use patterns rather than colours to distinguish between the box plots within a group; the publication that will display his plots prints in black-and-white only.  I gladly investigated how to

Read more »

R 3.1.0 is released!

April 10, 2014
By
R 3.1.0 is released!

R 3.1.0 (codename “Spring Dance“) was released today! You can get the source code from http://cran.r-project.org/src/base/R-3/R-3.1.0.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. The full list of new features and bug fixes is provided below. Upgrading to R 3.1.0 You can

Read more »

categoryCompare Paper Finally Out!

categoryCompare Paper Finally Out!I can finally say that the publication on my Bioconductor package categoryCompare is finally published in the Bioinformatics and Computational Biology section of Frontiers in Genetics. This has been a long time coming, and I wanted to give some background on the inspiration and development of the method and software.TL;DRThe software package has been...

Read more »