Skip to content

Commit

Permalink
Change relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
tuduun committed Mar 21, 2024
1 parent e417218 commit 3e23bd4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
# This function must be here because it contains the IRF

def main():

# Load the dataset for Linear-Regression
data = load_data('../data/filtered_US_data.csv')
data = load_data('src/data/filtered_US_data.csv')
data['$ Raised (mm)^2'] = data['$ Raised (mm)']**2

# Load the dataset for VAR

var_data = prepare_raw_data(load_data('../data/macro_seasonal_variables_data.csv'))
var_data = prepare_raw_data(load_data('src/data/macro_seasonal_variables_data.csv'))
data_df = difference_variables(var_data)
fitted_model, results_df = fit_var_model_and_select_lags(data_df,12)
irf = fitted_model.irf(periods=20)
Expand Down

0 comments on commit 3e23bd4

Please sign in to comment.