A simple Matlab demo!

12 views
Skip to first unread message

Dan Bikle

unread,
Aug 6, 2014, 7:01:30 PM8/6/14
to bikl...@googlegroups.com
People,

I just cooked up a simple Matlab demo which shows how to issue S&P500 predictions using Logistic regression and a model with only 1 feature (which I call 'normalized lag').

The demo shows that if we see a large drop today, we should see a gain tomorrow.

So, obviously that is kind of simple but I've only been working with Matlab for about 10 hours now.

The demo is here:
https://github.com/danbikle/spy611scripts/blob/master/matlab_demos/crvec3.m

Holler if questions.

Dan

Reply all
Reply to author
Forward
0 new messages