sin-stocks
Final Year Project for NTU Economics: How do sin and stimulant stocks perform relative to the business cycle?
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.8%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
·
Repository
Final Year Project for NTU Economics: How do sin and stimulant stocks perform relative to the business cycle?
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created almost 4 years ago
· Last pushed over 3 years ago
Metadata Files
Readme
Citation
README.md
Important Note Before Running the Code
- The code is dependent on Stock_Universe.csv to filter for relevant sin and stimulant stocks using NAICS and SIC codes.
- Please see Instructions.docx (Step 3 in particular) for details on how to retrieve the data from Compustat using WRDS. Thank you, Tilden!
Details on Code Files
- 1STOCKFILTERING.ipynb: Relevant sin and stimulant stocks are selected based on previous literature. Exploratory Data Analysis is also conducted with boxplots, histograms, and descriptive statistics. Outliers are addressed and removed in this notebook.
- 2PORTFOLIOAND_REGRESSIONS.ipynb: A long-only, equally weighted Sin and Stimulant portfolios are generated. Regressions are conducted based on Formula 1 and 3 from Salaber, 2009. Additional steps are taken to include the US Recession Indicator from FRED/NBER.
- 3CORRELATIONANALYSIS.ipynb: Correlation analysis for portfolio performance against GDP Growth Rate and ExRm (Fama-French) in recessionary vs non-recessionary periods are conducted.
Hypotheses
- Sin stocks exhibit a counter-cyclical pattern of returns relative to the business cycle.
- Stimulant stocks exhibit a pro-cyclical pattern of returns relative to the business cycle.
Owner
- Name: Caleb Mah
- Login: statistactics
- Kind: user
- Website: https://www.linkedin.com/in/calebmah/
- Repositories: 3
- Profile: https://github.com/statistactics
I thrive amidst confusion; enjoying the struggle while striving for that coveted eureka moment.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: The Cyclical Dynamics of Sin and Stimulant Stocks
message: >-
This notebook outlines the data analysis and
regression process for The Cyclical Dynamics of Sin
and Stimulant Stocks
type: software
authors:
- given-names: Caleb Mah
email: MAH0009@e.ntu.edu.sg
- given-names: Tilden Tan
email: tild0001@e.ntu.edu.sg
repository-code: 'https://github.com/sansanity/sin-stocks'
keywords:
- >-
sin stocks, stimulant stocks, business cycle,
counter-cyclic
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1