UBC-MDS / data-analysis-review-2023

0 stars 0 forks source link

Submission: GROUP_3: Predicting direction of stock price from interest rate and inflation rate #22

Open LilyTao0531 opened 7 months ago

LilyTao0531 commented 7 months ago

Submitting authors: @allan8392 @carrieyanyi @LilyTao0531 @andyzhangstat Repository: https://github.com/UBC-MDS/stock_price_direction_prediction_from_interest_and_inflation_rate Report link: https://ubc-mds.github.io/stock_price_direction_prediction_from_interest_and_inflation_rate/predicting_direction_of_stock_price_from_inflation_rate_and_interest_rate.html Abstract/executive summary: Inflation and interest rate often takes the headline of financial news and with more than 50% of American households owning stocks, our team is curious to find out how inflation and interest rate affect stock returns. We ask the question: given inflation rate and interest rate data, can we predict whether we will profit if we invest in a stock market index and hold for 1 year.

The data we use including the Standard & Poors 500 Index (S&P500) as stock market proxy and the inflation data obtained from calculating the change of consumer price index (CPI) from the Federal Reserve Economic Data website. Also being included is the target interest rate -- Federal funds rate, which is set by the Federal reserve for commercial banks to lend and borrow overnight.

The model training is designed such that it follows the Golden Rule. The test data of dummy regression yields an accuracy of 75.9%. The accuracy of dummy regression is better then the accuracy of logistic regression. The model's performance may be sensitive to hyperparameter settings, therefore it can be helpful to improve the model performance to experiment with different configurations through hyperparameter tuning.

Editor: @LilyTao0531 Reviewer: @arturoboquin , @riyaeliza123 , @sean-m-mckay , @monazhu

riyaeliza123 commented 7 months ago

Data analysis review checklist

Reviewer: @riyaeliza123

Conflict of interest

Code of Conduct

General checks

Documentation

Code quality

Reproducibility

Analysis report

Estimated hours spent reviewing: 3 hours

Review Comments:

Please provide more detailed feedback here on what was done particularly well, and what could be improved. It is especially important to elaborate on items that you were not able to check off in the list above.

Report:

  1. The overall flow of the report is concise and accurate. I appreciate how full context as well as motivation for the project is well written. This gave me enough context to understand the report.
  2. However I would suggest re-visiting the layout of the report. Just focus on making sure that all main headings are properly formatted (right now, everything after EDA is rendered as a sub-topic, let’s avoid that).
  3. I also suggest that rounding the final values (logistic_regression_score 0 0.753086% to 75.3%) will be more appealing to a reader.
  4. Additionally, mention DOI for each paper that is referenced.

READ.ME (instructions):

  1. I am a windows user and the command “docker compose up jupyter-lab” did not work for me. When debugging, I realized there is no “jupyter-lab” in “services” of the docker-compose.yml file. That can be changed in the Read.me to “docker compose up”
  2. The references are not rendered well in the Read.me, try to change the formatting.
  3. Add your dependencies in the Read.me for easy reproducibility.

Attribution

This was derived from the JOSE review checklist and the ROpenSci review checklist.

monazhu commented 7 months ago

Data analysis review checklist

Reviewer: @monazhu

Conflict of interest

Code of Conduct

General checks

Documentation

Code quality

Reproducibility

Analysis report

Estimated hours spent reviewing: 2 hrs

Review Comments:

Overall comment:

Specific things that could be improved upon:

Attribution

This was derived from the JOSE review checklist and the ROpenSci review checklist.

sean-m-mckay commented 7 months ago

Data analysis review checklist

Reviewer: sean-m-mckay

Conflict of interest

Code of Conduct

General checks

Documentation

Code quality

Reproducibility

Analysis report

Estimated hours spent reviewing:

Review Comments:

Attribution

This was derived from the JOSE review checklist and the ROpenSci review checklist.

arturoboquin commented 7 months ago

Data analysis review checklist

Reviewer: @arturoboquin

Conflict of interest

Code of Conduct

General checks

Documentation

Code quality

Reproducibility

Analysis report

Estimated hours spent reviewing: 3.5 hours

Review Comments:

Project Overview:

Specific Concerns:

Technical Issues:

Attribution

This was derived from the JOSE review checklist and the ROpenSci review checklist.