ibnummuhammad
commited on
Commit
•
ddb8404
1
Parent(s):
6b33cb2
Add partial_autocorrelation.ipynb
Browse files- autocorrelation.ipynb +6 -6
- partial_autocorrelation.ipynb +0 -0
autocorrelation.ipynb
CHANGED
@@ -1354,14 +1354,14 @@
|
|
1354 |
],
|
1355 |
"source": [
|
1356 |
"# Plot autocorrelation\n",
|
1357 |
-
"plt.rc(\"figure\", figsize=(11,5))\n",
|
1358 |
-
"plot_acf(data[
|
1359 |
-
"plt.ylim(0,1)\n",
|
1360 |
-
"plt.xlabel(
|
1361 |
-
"plt.ylabel(
|
1362 |
"plt.xticks(fontsize=18)\n",
|
1363 |
"plt.yticks(fontsize=18)\n",
|
1364 |
-
"plt.title(
|
1365 |
"plt.tight_layout()\n",
|
1366 |
"plt.show()"
|
1367 |
]
|
|
|
1354 |
],
|
1355 |
"source": [
|
1356 |
"# Plot autocorrelation\n",
|
1357 |
+
"plt.rc(\"figure\", figsize=(11, 5))\n",
|
1358 |
+
"plot_acf(data[\"#Passengers\"], lags=48)\n",
|
1359 |
+
"plt.ylim(0, 1)\n",
|
1360 |
+
"plt.xlabel(\"Lags\", fontsize=18)\n",
|
1361 |
+
"plt.ylabel(\"Correlation\", fontsize=18)\n",
|
1362 |
"plt.xticks(fontsize=18)\n",
|
1363 |
"plt.yticks(fontsize=18)\n",
|
1364 |
+
"plt.title(\"Autocorrelation Plot\", fontsize=20)\n",
|
1365 |
"plt.tight_layout()\n",
|
1366 |
"plt.show()"
|
1367 |
]
|
partial_autocorrelation.ipynb
ADDED
The diff for this file is too large to render.
See raw diff
|
|