Northstar Trading interview question

implement linear regression, dice problem