V. 19:11 (58-59): Nearest neighbor by spreadsheet by John Sweeney
Product Description
Nearest neighbor by spreadsheet by John Sweeney
NEAREST NEIGHBOR BY SPREADSHEET
This example is given in Excel, but
other spreadsheets will have simi-lar
phraseology. Subscribers can
find a spreadsheet with the data
used on the Technical Analysis
website at http://technical.traders.
com/sub/sublogin.asp. To use Hans
Uhlig’s technique, you must famil-iarize
yourself with selecting large
arrays of cells and sorting before
trying this spreadsheet.
To produce a nearest neighbor
prediction using Uhlig’s method, first
arrange your data vertically with a
date format that can be sorted. Here,
I’ve used weekly data for the S&P
500 from 1/5/1980 to 12/15/2000
(column B). In cell C5, calculate the
natural log of B5:
FOR THOSE ORDERING ARTICLES SEPARATELY:
*Note: $2.95-$5.95 Articles are in PDF format only. No hard copy of the article(s) will be delivered. During checkout, click the "Download Now" button to immediately receive your article(s) purchase. STOCKS & COMMODITIES magazine is delivered via mail. After paying for your subscription at store.traders.com users can view the S&C Digital Edition in the subscriber's section on Traders.com. Take Control of Your Trading. |
Professional Traders' Starter Kit |
All these items shown below only $299.99! |
5-year subscription to Technical Analysis of STOCKS & COMMODITIES, The Traders' magazine. (Shipping outside the US is extra. Washington state addresses require sales tax based on your locale.) 5 year access to S&C Archive 5 year access to S&C Digital Edition5-year subscription to Traders.com Advantage. 5-year subscription to Working Money. Free book selection. |
|
Click Here to Order |
|