当前位置:天才代写 > Python代写,python代做代考-价格便宜,0时差服务 > jupyter notebook代写 > Group Project代写 Python代写 Google Colab代写 comments代写

Group Project代写 Python代写 Google Colab代写 comments代写

2021-01-05 17:58 星期二 所属: jupyter notebook代写 浏览:1330

Jupyter代写

BUFN 650 – Group Project

Jupyter代写 Group size You may work in groups of up to 6 people on this project.Computations Please use Python and Google Colab(or Jupyter)

Group size You may work in groups of up to 6 people on this project.

Computations Please use Python and Google Colab (or Jupyter) and upload your .ipynb file on Canvas with your submission.Jupyter代写

Deliverables Please submit your slides and a Colab notebook with detailed comments and analysis on Canvas. You will have to prepare a 5-7 minute presentation of your findings. You should prepare no more than five slides for your presentation. The presentations will take place on Wednesday, December 4, regular class time. Please sign up for your presentation slot here.

Setup Jupyter代写

You work for a hedge fund. Your boss asks you to create a good model for forecasting excess returns on stocks. You obtained detailed data on a large cross-section of stocks, as well as many characteristics and accounting ratios for these stocks. All these data are available in the characteristics anom.csv file in the Google Drive folder (it is a large file!). If you are curious about what these characteristics are, have a look at the accompanying anom doc.pdf file for definitions.Jupyter代写

Note that all characteristics are cross-sectionally appropriately normalized, so you do not need to standardize anything. Returns on every stock are provided in the variable re. All characteristics are lagged and shifted appropriately, so by simply regressing the column of returns (re) on all characteristics (sizeshvol), you are estimating the following panel regression:

ri,t+1 = a bsizesizei,t bvaluevaluei,t  bshvolshvoli,t si,t+1, (1)Jupyter代写

where ri,t+1 is excess return on a stock i from time t to t + 1, and xi,t,· are stock char- acteristics measured on or before date t. This is a panel data set; you may assume that all coefficients are constant across stocks and time.

In the file, stocks (i) are referenced by the variable permno, time (t) is referenced by date.

Therefore, each observation can be uniquely indexed by the pair (permno, date).

You may use the Colab notebook template I provided to load data from this file, which is located in your shared Google Drive folder.

Jupyter代写
Jupyter代写

Questions Jupyter代写

Please split the sample into train and test parts. Start the test sample in 2005. Make sure you do not shuffle observations! Do not use the test sample for anything but reporting the results! For any parameter choice, cross-validation, etc., use the train sample only.Jupyter代写

The ultimate goal of the exercise is to understand what variables can help forecast excess returns of any stock. Please be creative! Although I have provided you with the data,there are many ways you can manipulate the data to improve your model. For instance,you may think non-linearities might matter and use various non-linear methods, or include polynomials of X as your regressors for linear methods.

You may formulate the task as a regression problem or classifification problem (forecast whether stocks will go up or down next month). You may decide to work at an annual frequency by cumulating monthly returns to annual ones, or consider predictors farther back in time, or construct moving averages of predictors (be mindful of the fact that this is a panel data set and all such adjustments should be done separately for every stock). You may try many difffferent machine learning techniques or even combine them to improve your results (i.e., use bagging or boosting techniques).Jupyter代写

Your boss wants you to be precise in answering the following questions:

  1. Explainany data manipulations you may have performed, if  Which predictors do you use? Did you expand the set of predictors? Explain how and why if you did.
  2. Whichmachine learning methods and techniques have you considered? At the mini- mum, please try at least four different methods, such as OLS, ridge, lasso, elastic net, random forests, principal component regression, neural networks (deep learning), or any other ones.Jupyter代写
  3. Compute various performance metrics in your train/validate/test data, such as R2, MSE or RMSE. Which methods seem to work best in sample and out ofsample?
  4. Pick the best model and evaluate its performance in the train sample. Remember that if you want to pick the single best model/method among these and evaluate its performance,you need to make this choice based on a validation sample (NOT a part of the test sample), or use cross-validation in the train sample.
  5. Howmuch predictability do you find? Which variables are the most important ones? Would you start a hedge fund based on predictability you have discovered?

This list is not exhaustive. Feel free to add items if you find interesting results.

Jupyter代写
Jupyter代写

其他代写:考试助攻 计算机代写 java代写 algorithm代写 assembly代写 function代写paper代写 金融经济统计代写 web代写 编程代写 report代写 algorithm代写 数学代写 finance代写 python代写 代写CS作业 python代写 code代写 Haskell代写 代码代写 Data Analysis代写

合作平台:天才代写 幽灵代写 写手招聘 Essay代写

 

天才代写-代写联系方式