Skip to content

Code to my master thesis "Business Cycle Analysis Using Text-based Indicators"

Notifications You must be signed in to change notification settings

lena-will/master-thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Business Cycle Analysis Using Text-based Indicators

Getting started

Start by cloning the Git repsitory:

git clone https://github.com/lena-will/master-thesis.git

Introduction

Data

Code Structure

  • Text pre-processing is done in python and can be found in preprocessing.py.
  • For computational efficiency the LDA is run using the R package topicmodels which was built in C.
  • However, LDA_gibbs_sampling_algorithm.R offers code to do the inference to Latent Dirichlet Allocation from scratch using the Gibbs sampling algorithm introduced by Griffiths and Steyvers (2004).
  • Code for any plots can be found in the plots code folder.
  • All functions to the weekly bridge models are in the functions folder.
  • All main files to run the weekly models for the baseline models as well as with the text-based indicators are in the nowcasting folder.
  • Files starting with LDA_ hold the code to different LDA specification and/or extensions.
  • date_week_mapping.pytakes publication dates as inputs and returns the week of the quarter of a given year.

About

Code to my master thesis "Business Cycle Analysis Using Text-based Indicators"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published