1543 search results for "time series"

The pros and cons of robust data characterizations

The pros and cons of robust data characterizations

Over the years, I have looked at a lot of data contaminated with outliers, the subject of Chapter 7 of Exploring Data in Engineering, the Sciences, and Medicine.  That chapter adopts the definition of an outlier presented by Barnett and Lewis in their book Outliers in Statistical Data 2nd Edition

Read more »

Environments in R

June 4, 2011
By
Environments in R

One interesting thing about R is that you can get down into the insides fairly easily. You're allowed to see more of how things are put together than in most languages. One of the ways R does this is by having first-class environments.At first glance, environments are simple enough. An environment...

Read more »

Annual Returns by State of the US Economy

June 1, 2011
By
Annual Returns by State of the US Economy

Sometimes it is fun to just look at annual returns, especially as the financial world has shifted its focus to microseconds in a world of inconceivable macro imbalances.  St. Louis Fed (USREC) offers a binary state of the economy with 1=recession ...

Read more »

Overoptimizing Chicago Fed

May 31, 2011
By
Overoptimizing Chicago Fed

THIS SHOULD BE OBVIOUS THROUGHOUT THE POST BUT THIS IS NOT INVESTMENT ADVICE.  PLEASE DO NOT FOLLOW THIS SYSTEM AS IT COULD RESULT IN SERIOUS LOSSES. One of the perils of system-building is the tendency to unintentionally overoptimize by playing/r...

Read more »

ARMA Models for Trading, Part IV

May 31, 2011
By
ARMA Models for Trading, Part IV

All posts in this series were combined into a single, extended tutorial and posted on my new blog. The last post promised to show some back testing results for the ARMA techniques. I decided to use the S&P 500 index for this purpose. What really impresses me in the above char it the staggering performance

Read more »

sab-R-metrics: GIF Movies and Pitch Flights (Guest Post)

May 31, 2011
By
sab-R-metrics: GIF Movies and Pitch Flights (Guest Post)

A couple weeks ago, I received an email from a fellow Pitch F/Xer and R-User, Josh Weinstock, asking if I was interested in a guest post here at Prince of Slides. I didn't think I was important enough to have talented guests posting at my blog; howeve...

Read more »

More St. Louis Fred Fun with National Financial Conditions

May 30, 2011
By
More St. Louis Fred Fun with National Financial Conditions

I owe someone at the Fed a beer for all the recent additions at http://research.stlouisfed.org/fred2/.  I have covered some in Spreads and Stress and Gifts from BAC ML and the Federal Reserve.  The newest addition 8 Chicago Fed Indexes Added ...

Read more »

Handling Errors Gracefully

May 27, 2011
By

In R functions sometimes produces warnings or errors. In the case of errors execution of a function or a series of commands can get halted when an error occurs, which can in some cases be frustrating especially if we want to continue our calculations. There are various functions available in R for dealing with errors

Read more »

sab-R-metrics: Kernel Density Smoothing

May 25, 2011
By
sab-R-metrics: Kernel Density Smoothing

Last time I left you, I had gone over some basics of doing loess regression in R. If you remember, loess is a sort of regression that allows wigglyness in your regression of some dependent variable Y on some independent variable X (I will generalize t...

Read more »

sab-R-metrics: Kernel Density Smoothing

May 25, 2011
By
sab-R-metrics: Kernel Density Smoothing

Last time I left you, I had gone over some basics of doing loess regression in R. If you remember, loess is a sort of regression that allows wigglyness in your regression of some dependent variable Y on some independent variable X (I will generalize t...

Read more »