Your Account  •  Become a Member  •  Help  •  Search    
    Forums ›› Technically Speaking ›› Strategy Trading ›› Can linear regression analysis really predict the future?  


Post A Reply
    Page 1 of 40:   1  2  3  4  5  6  7  8  9  10     Last Page »
tradrejoe
 

Registered: May 2008
Posts: 6

 

11-04-09 07:00 PM

For those of you who went through the exercise of using historical data and linear regression analysis to predict the future prices of trading instruments, have you ran into situations where the best beta coefficients that generates the best curve fitting *does not* really predict the future? In fact, often times if you go back in history and pretend you were operating the prediction system in the past, the more testing the more your accuracy converge to just 50%?

What is the correlation between the ability of a set of time series data to fit a price curve and its ability to truely forecast the future with greater than 50% accuracy? Do we just pile up everything closely related to what we try to forecast (even sun spot movements) and go as far back on the time lag as we can without crashing the supercomputer? Does anyone have any experience to share? Thanks for your insights ahead of time.

    Edit/Delete • Quote • Complain
TraderZones
 

Registered: Mar 2008
Posts: 5093

 

11-04-09 07:27 PM


Quote from tradrejoe:

For those of you who went through the exercise of using historical data and linear regression analysis to predict the future prices of trading instruments, have you ran into situations where the best beta coefficients that generates the best curve fitting *does not* really predict the future? In fact, often times if you go back in history and pretend you were operating the prediction system in the past, the more testing the more your accuracy converge to just 50%?

What is the correlation between the ability of a set of time series data to fit a price curve and its ability to truely forecast the future with greater than 50% accuracy? Do we just pile up everything closely related to what we try to forecast (even sun spot movements) and go as far back on the time lag as we can without crashing the supercomputer? Does anyone have any experience to share? Thanks for your insights ahead of time.



Simple methods rarely outperform. And this smells like blind backtesting, which is rarely useful in stable, good risk, highly profitable future trading.

The major financial institutions would be WAY ahead of Nevil Newbie and his 2-monitor workstation with Excel... They have $$$ hundreds of millions in COmpSci, engineering and financial experts and computing power.

Amazing how many people wander into trading with dreams of 500% annual returns with minimal risk.

    Edit/Delete • Quote • Complain
adadadog
 

Registered: Jan 2009
Posts: 281

 

11-04-09 07:34 PM

I took a cursory look at the regression. I gave up on linear. non-linear looks promising. I am still trying to understand it.

    Edit/Delete • Quote • Complain
SWScapital
 

Registered: Apr 2005
Posts: 643

 

11-04-09 08:26 PM

I use LR. I have never seen it(or any method) predict the future. But it keeps me on the right side of the trade most of the time which I enjoy.

    Edit/Delete • Quote • Complain
bwolinsky
 

Registered: Jul 2008
Posts: 1878

 

11-04-09 08:41 PM

Linear regression as I use it is for one of two things:

1)To assign a value that the market may place on 1 more dollar of revenue, assets, 1 more percent of ROE, etc

2) The other way is by regressing closing prices over recent time periods to predict tomorrows value, two days from now value, and three days from now value, not because I actually use that value, but because linear regression shows the "trend", and that's how it's meant to be used in the context of trading system development. If your predicted value is higher two days from now, the trend points higher, if your predicted value for tomorrow is lower, the trend is also lower, and you shouldn't fight it. For a history of QLD's predicted values, you can see my thread BWolinsky trading. Today, I will most likely post more predicted values, as I said, not because they mean anything to me other than that they keep you from fighting trends in the market. It's corollary is testing fitness. Using rsquared, we can see how accurately those values hold, but it's only relevant over short time periods.

    Edit/Delete • Quote • Complain
MAESTRO
 

Registered: Nov 2004
Posts: 1806

 

11-04-09 09:00 PM

Splines are types of curves, originally developed for ship-building in the days before computer modeling. Naval architects needed a way to draw a smooth curve through a set of points. The solution was to place metal weights (called knots) at the control points, and bend a thin metal or wooden beam (called spline) through the weights. The physics of the bending spline meant that the influence of each weight was greatest at the point of contact and decreased smoothly further along the spline. To get more control over a certain region of the spline, the draftsman simply added more weights.
The surface produced by splines always appears to be smooth and pleasantly looking. The reason for that effect is that while our eyes roll along a spline line we subconsciously anticipate (following our genetically embedded sense of inertia) where the next point should be and if we indeed see it at the anticipated location it creates in us a feeling of unconscious satisfaction and a sense of pleasant symmetry. As the matter of fact, what we were able to discover is that we consider the motion of the objects normal and almost unnoticeable if their behavior in our field of view follows some sort of a spline line. It appears that our visual anticipations are very much based on the same technique that the old craftsmen use to draw smooth lines. What is more interesting is that not too long ago splines had an explosion if their usage thanks to the film industry. Before 1990s special effects in motion pictures and animations that change (or morph) one image into another through a seamless transition were achieved through cross-fading techniques on film. However, since the early 1990s, this has been replaced by computer software to create more realistic transitions. At the heart of this software were splines. Thanks to splines a new era of computer animation has begun and truly amazing and realistic characters such as Shrek were born.

One of the special types of splines a cubic spline became the most popular tool to interpolate the data. Mathematically a cubic spline could be described as a special function defined piecewise by the third degree polynomials. A cubic spline with a linear extension of its ending point is called “natural spline”. Natural splines have three basic properties:

• They pass through all given data points with a unique one between each set of points.

• They are smooth, meaning that at the points where they merge their first and second derivatives are equal.


• And finally, natural splines have the second derivative at the endpoint that is always equal to zero.

These unique properties of natural splines make them very useful in designing anticipation tools that could accurately “extend” an existing set of data into the future. Our research showed us that in any set of data that represents a movement governed by inertia natural splines predict the future position of a center of gravity with unprecedented accuracy.

    Edit/Delete • Quote • Complain
    Page 1 of 40:   1  2  3  4  5  6  7  8  9  10     Last Page »
Post A Reply


Receive an email whenever a new post is added to this thread by subscribing to it.
Rate This Thread:

Forum Jump:
 

 

   Conduct Rules  •  Privacy Policy Copyright © 2009, Elite Trader. All rights reserved.    
 
WHILE YOU'RE HERE, TAKE A MINUTE TO VISIT SOME OF OUR SPONSORS:
Alpari (US)
US Forex Trading Services
AMP Trading
Futures and FX Trading
Bright Trading
Professional Equities Trading
Cyborg Trading
Gray-Box Trading Tools
CTS
Futures Trading Software
ECHOtrade
Professional Trading Firm
Equity Trading Capital
Equity & Option Training
eSignal
Trading Software Provider
Global Futures
Futures, Options & FX Trading
Go Futures
Online Futures Trading
Interactive Brokers
Pro Gateway to World Markets
Interbank FX
Foreign Currency Trading
JC Trading Group
Direct Access Trading
Keystone Trading Group
Prop Trading Firm
MadScan
Trading Software Provider
MB Trading
Direct Access Trading
Mirus Futures
Commodity Trading Services
NinjaTrader
Trading Software Provider
OneChicago
Electronic Futures Exchange
Questrade
Brokerage for Canadian Traders
Rithmic
Futures Trade Execution Platform
SpeedTrader
Direct Access Trading
SpreadProfessor
Spread Trading Instruction
thinkorswim
Direct Access Trading
TickQuest
Trading Software Provider
TradeMaven
Software and Education
TradersStudio
Trading Software Provider
TradeStation
Direct Access Trading
Trading Technologies
Trading Software Provider
Trend Following
Trading Systems Provider
Velocity Futures
Derivatives Trading Services
Zumo
Futures and Options Trading