Created
August 11, 2023 21:02
-
-
Save quantra-go-algo/d78f756577c15bdcd63eeb5b14692d0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the figure size | |
plt.figure(figsize=(15,7)) | |
# Plot the residuals | |
plt.plot(arfima_residuals.index, arfima_residuals, label = "Best d ARFIMA Residuals") | |
# Set the title of the graph | |
plt.title('Residuals from the Best d ARFIMA model', fontsize=16) | |
# Set the x- and y- axis labels and ticks sizes | |
plt.xlabel('Year-Month', fontsize=15) | |
plt.ylabel('Residuals', fontsize=15) | |
plt.tick_params(axis='both', labelsize=15) | |
# Set the plot legend location | |
plt.legend(loc=2, prop={'size': 15}, bbox_to_anchor=(0,1)) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment