applying market basket analysis to the stock market

I’ve started learning market basket analysis and decided to test drive my knowledge against the stock market: I own a (proprietary) database of predicted stock causality relationships. An export to tabular form looks something like this: I won’t tell you what the “causality” is, as that is the proprietary part, and the example data shown […]

picking stocks by graph database (part one)

Historical stock price data comes readily available at daily resolution. So we calculated the Granger causality for each pair of stocks we hold data for, at one and two day lags (testing the question “does daily percent change in volume for stock X Granger cause daily percent change in adjusted close price for stock Y?”). […]

net change of zero between closing and opening stock prices

I decided to investigate the variation between trading days’ closing prices and the following trading days’ opening prices for stocks listed on the New York Stock Exchange. I started with data in the following format for all trading days between January 2nd 2000 and October 30th 2014: I then calculated the percent change between one […]

Apache Spark and stock price causality

The Challenge I wanted to compute Granger causality (described below) for each pair of stocks listed in the New York Stock Exchange. Moreover, I wanted to analyze between one and thirty lags for each pair’s comparison. Needless to say, this requires massive computing power. I used Amazon EC2 as the computing platform, but needed a […]

hacking the stock market (part 1)

Caveat: I am not a technical investor–just a hobbyist, so take this analysis with a grain of salt. I am also just beginning with my Master’s work in statistics. I wanted to examine the correlation between changes in the daily closing price of the Dow Jones Industrial Average (DJIA) and lags of those changes, to […]

data scientist walks into a bar…

A data scientist walks into a bar and observes a large crowd cheering intermittently. The crowd’s eyes track events on a large TV screen, following a bouncing spherical projectile’s motion as fit actors throw it through one of two metal rings. One of these rings elicits cheers from the crowd as the object passes through, […]