Lesson outline Lesson outline Here's an overview of what you'll learn to do in this lesson. Documentation links are for reference. Read in multiple stocks: Create an empty pandas.DataFrame with dates as index: pandas.date_range Drop missing date rows
this lesson => Buffet said two things => (1) investor skill => (2) breadth / the number of investments Grinold's Fundamental Law breadth => more opportunities to applying that skill => eg. how many stocks you invest in IC => information
A closer look at daily returns Histogram of daily returns gaussian => kurtosis = 0 How to plot a histogram Computing histogram statistics Select the option that best describes the relationship between XYZ and SPY. Note: These are histograms of daily
What is an optimizer? Minimization example How to defeat a minimizer Convex problems Building a parameterized model Minimizer finds coefficients What is portfolio optimization? The difference optimization can make Which criteria is easiest to solve f
A closer look at KNN solutions What happens as K varies What happens as D varies Metric 1 RMS Error In Sample vs out of sample Which is worse? Cross validation 5-fold cross validation Roll forward cross validation Metric 2: correlation Correlation an
--------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------- un