Articles by Cory Lesmeister

Ensemble Methods, part 1

November 17, 2013 | Cory Lesmeister

Last week I dabbled in building classification trees with the party and rpart packages.  Now, I want to put together a series where I can apply those basic trees along with advanced techniques like bagging, boosting and random forest.  Additi... [Read more...]

NFL week 3 update

September 25, 2013 | Cory Lesmeister

With another NFL week down we are starting to see separation from the contenders and the “better luck next year” teams.  Any paid TV mouthpiece worth their salt will tell you it is a quarterback driven league.  Driven indeed.  In the last post, I dabbled in the simple code of ... [Read more...]

Time Series Decomposition

August 12, 2013 | Cory Lesmeister

In the last post on the changepoint package, I concluded with a brief example of time series decomposition with the "decompose" command.  After further reading, I discovered the "stl" command, which to me appears a superior method.  STL stand... [Read more...]

Changepoint Analysis of Time Series?

August 4, 2013 | Cory Lesmeister

Last time we downloaded data from  This was privately-owned homes completed in a month in thousands of units(not seasonally adjusted).  Now, let's take a look at some basic R functions to examine time series along with my first ex... [Read more...] for Time Series Datasets

July 29, 2013 | Cory Lesmeister

If you want to dig in with both feet on time series data, then is a good choice.  The website claims to have several million datasets all of them available for free download.  It also allows you to upload data to the site with an a... [Read more...]

Postscript to Data Visualization

July 23, 2013 | Cory Lesmeister

Much to my chagrin, I realized I forgot to include one of the more interesting features in the lattice package. You can quickly turn a quantitative variable into one of levels of equal counts.  This provides a nice way of looking at slices of your... [Read more...]

Partial Least Squares Regression in R

July 14, 2013 | Cory Lesmeister

Partial Least Squares Regression:This week I will be doing some consulting around Structural Equation Modeling (SEM) techniques to solve a unique business problem.  We are trying to identify customer preference for various products and traditional regression is not adequate because of the high dimensional component to the data set ... [Read more...]

Getting started with R

June 25, 2013 | Cory Lesmeister

I wanted to avoid advanced topics in this post and focus on some “blocking and tackling” with R in an effort to get novices started.  This is some of the basic code I found useful when I began using R just over 6 weeks ago. Reading in data from a .csv ... [Read more...]

Chicken or the Egg? Granger-Causality for the masses

June 2, 2013 | Cory Lesmeister

When I first learned about Granger-causality this past February, I was bemused and quite skeptical of the whole procedure.  I felt it belonged on the scrapheap of impractical academic endeavors, preferring to possibly use an ARIMA transfer function model for the same task.  However, several contemporaries threw the red challenge ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)