ibnummuhammad commited on
Commit
1c8f3cd
1 Parent(s): f930178

Add box_cox.ipynb

Browse files
Files changed (1) hide show
  1. box_cox.ipynb +1334 -24
box_cox.ipynb CHANGED
@@ -2,20 +2,57 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 8,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
9
  "# Import packages\n",
10
  "import plotly.express as px\n",
11
  "import pandas as pd\n",
 
12
  "# Import the transform\n",
13
  "from scipy.stats import boxcox"
14
  ]
15
  },
16
  {
17
  "cell_type": "code",
18
- "execution_count": 9,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  "metadata": {},
20
  "outputs": [],
21
  "source": [
@@ -25,7 +62,7 @@
25
  },
26
  {
27
  "cell_type": "code",
28
- "execution_count": 2,
29
  "metadata": {},
30
  "outputs": [
31
  {
@@ -131,7 +168,7 @@
131
  "[144 rows x 2 columns]"
132
  ]
133
  },
134
- "execution_count": 2,
135
  "metadata": {},
136
  "output_type": "execute_result"
137
  }
@@ -142,7 +179,7 @@
142
  },
143
  {
144
  "cell_type": "code",
145
- "execution_count": 3,
146
  "metadata": {},
147
  "outputs": [
148
  {
@@ -162,7 +199,7 @@
162
  "Name: Month, Length: 144, dtype: object"
163
  ]
164
  },
165
- "execution_count": 3,
166
  "metadata": {},
167
  "output_type": "execute_result"
168
  }
@@ -173,24 +210,24 @@
173
  },
174
  {
175
  "cell_type": "code",
176
- "execution_count": 4,
177
  "metadata": {},
178
  "outputs": [],
179
  "source": [
180
  "# def plotting(title, data, x, y, x_label, y_label, text=False, lam=None):\n",
181
- "title=\"Airline Passengers\"\n",
182
- "data=data\n",
183
- "x=\"Month\"\n",
184
- "y=\"#Passengers\"\n",
185
- "x_label=\"Date\"\n",
186
- "y_label=\"Passengers\"\n",
187
- "text=False\n",
188
- "lam=None"
189
  ]
190
  },
191
  {
192
  "cell_type": "code",
193
- "execution_count": 5,
194
  "metadata": {},
195
  "outputs": [],
196
  "source": [
@@ -200,7 +237,7 @@
200
  },
201
  {
202
  "cell_type": "code",
203
- "execution_count": 6,
204
  "metadata": {},
205
  "outputs": [
206
  {
@@ -1377,7 +1414,7 @@
1377
  },
1378
  {
1379
  "cell_type": "code",
1380
- "execution_count": 7,
1381
  "metadata": {},
1382
  "outputs": [
1383
  {
@@ -2673,7 +2710,7 @@
2673
  }
2674
  ],
2675
  "source": [
2676
- "boxcox(data['#Passengers'])"
2677
  ]
2678
  },
2679
  {
@@ -2683,18 +2720,1291 @@
2683
  "outputs": [],
2684
  "source": [
2685
  "# Apply box-cox transform and plot it\n",
2686
- "data['Passengers_box_cox'], lam = boxcox(data['#Passengers'])"
2687
  ]
2688
  },
2689
  {
2690
  "cell_type": "code",
2691
- "execution_count": null,
2692
  "metadata": {},
2693
- "outputs": [],
 
 
 
 
 
 
 
 
 
 
 
2694
  "source": [
2695
- "plotting(title='Airline Passengers', data=data, x='Month', y='Passengers_box_cox',\n",
2696
- " x_label='Date', y_label='Passengers<br>Box-Cox Transform', text=True, lam=lam)"
2697
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2698
  }
2699
  ],
2700
  "metadata": {
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 1,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
9
  "# Import packages\n",
10
  "import plotly.express as px\n",
11
  "import pandas as pd\n",
12
+ "\n",
13
  "# Import the transform\n",
14
  "from scipy.stats import boxcox"
15
  ]
16
  },
17
  {
18
  "cell_type": "code",
19
+ "execution_count": 2,
20
+ "metadata": {},
21
+ "outputs": [],
22
+ "source": [
23
+ "def plotting(title, data, x, y, x_label, y_label, text=False, lam=None):\n",
24
+ " \"\"\"General function to plot the passenger data.\"\"\"\n",
25
+ " fig = px.line(data, x=data[x], y=data[y], labels={x: x_label, y: y_label})\n",
26
+ "\n",
27
+ " fig.update_layout(\n",
28
+ " template=\"simple_white\",\n",
29
+ " font=dict(size=18),\n",
30
+ " title_text=title,\n",
31
+ " width=650,\n",
32
+ " title_x=0.5,\n",
33
+ " height=400,\n",
34
+ " )\n",
35
+ "\n",
36
+ " if text:\n",
37
+ " fig.add_annotation(\n",
38
+ " x=\"1952-12-20\",\n",
39
+ " y=10,\n",
40
+ " text=f\"Lambda = {lam:.3f}\",\n",
41
+ " align=\"left\",\n",
42
+ " yanchor=\"bottom\",\n",
43
+ " showarrow=False,\n",
44
+ " font=dict(size=20, color=\"black\", family=\"Courier New, monospace\"),\n",
45
+ " bordercolor=\"black\",\n",
46
+ " borderwidth=2,\n",
47
+ " bgcolor=\"white\",\n",
48
+ " )\n",
49
+ "\n",
50
+ " fig.show()"
51
+ ]
52
+ },
53
+ {
54
+ "cell_type": "code",
55
+ "execution_count": 3,
56
  "metadata": {},
57
  "outputs": [],
58
  "source": [
 
62
  },
63
  {
64
  "cell_type": "code",
65
+ "execution_count": 4,
66
  "metadata": {},
67
  "outputs": [
68
  {
 
168
  "[144 rows x 2 columns]"
169
  ]
170
  },
171
+ "execution_count": 4,
172
  "metadata": {},
173
  "output_type": "execute_result"
174
  }
 
179
  },
180
  {
181
  "cell_type": "code",
182
+ "execution_count": 5,
183
  "metadata": {},
184
  "outputs": [
185
  {
 
199
  "Name: Month, Length: 144, dtype: object"
200
  ]
201
  },
202
+ "execution_count": 5,
203
  "metadata": {},
204
  "output_type": "execute_result"
205
  }
 
210
  },
211
  {
212
  "cell_type": "code",
213
+ "execution_count": 6,
214
  "metadata": {},
215
  "outputs": [],
216
  "source": [
217
  "# def plotting(title, data, x, y, x_label, y_label, text=False, lam=None):\n",
218
+ "title = \"Airline Passengers\"\n",
219
+ "data = data\n",
220
+ "x = \"Month\"\n",
221
+ "y = \"#Passengers\"\n",
222
+ "x_label = \"Date\"\n",
223
+ "y_label = \"Passengers\"\n",
224
+ "text = False\n",
225
+ "lam = None"
226
  ]
227
  },
228
  {
229
  "cell_type": "code",
230
+ "execution_count": 7,
231
  "metadata": {},
232
  "outputs": [],
233
  "source": [
 
237
  },
238
  {
239
  "cell_type": "code",
240
+ "execution_count": 8,
241
  "metadata": {},
242
  "outputs": [
243
  {
 
1414
  },
1415
  {
1416
  "cell_type": "code",
1417
+ "execution_count": 9,
1418
  "metadata": {},
1419
  "outputs": [
1420
  {
 
2710
  }
2711
  ],
2712
  "source": [
2713
+ "boxcox(data[\"#Passengers\"])"
2714
  ]
2715
  },
2716
  {
 
2720
  "outputs": [],
2721
  "source": [
2722
  "# Apply box-cox transform and plot it\n",
2723
+ "data[\"Passengers_box_cox\"], lam = boxcox(data[\"#Passengers\"])"
2724
  ]
2725
  },
2726
  {
2727
  "cell_type": "code",
2728
+ "execution_count": 13,
2729
  "metadata": {},
2730
+ "outputs": [
2731
+ {
2732
+ "data": {
2733
+ "text/plain": [
2734
+ "0.14802256973464573"
2735
+ ]
2736
+ },
2737
+ "execution_count": 13,
2738
+ "metadata": {},
2739
+ "output_type": "execute_result"
2740
+ }
2741
+ ],
2742
  "source": [
2743
+ "lam"
 
2744
  ]
2745
+ },
2746
+ {
2747
+ "cell_type": "code",
2748
+ "execution_count": 12,
2749
+ "metadata": {},
2750
+ "outputs": [
2751
+ {
2752
+ "data": {
2753
+ "application/vnd.plotly.v1+json": {
2754
+ "config": {
2755
+ "plotlyServerURL": "https://plot.ly"
2756
+ },
2757
+ "data": [
2758
+ {
2759
+ "hovertemplate": "Date=%{x}<br>Passengers<br>Box-Cox Transform=%{y}<extra></extra>",
2760
+ "legendgroup": "",
2761
+ "line": {
2762
+ "color": "#636efa",
2763
+ "dash": "solid"
2764
+ },
2765
+ "marker": {
2766
+ "symbol": "circle"
2767
+ },
2768
+ "mode": "lines",
2769
+ "name": "",
2770
+ "orientation": "v",
2771
+ "showlegend": false,
2772
+ "type": "scatter",
2773
+ "x": [
2774
+ "1949-01",
2775
+ "1949-02",
2776
+ "1949-03",
2777
+ "1949-04",
2778
+ "1949-05",
2779
+ "1949-06",
2780
+ "1949-07",
2781
+ "1949-08",
2782
+ "1949-09",
2783
+ "1949-10",
2784
+ "1949-11",
2785
+ "1949-12",
2786
+ "1950-01",
2787
+ "1950-02",
2788
+ "1950-03",
2789
+ "1950-04",
2790
+ "1950-05",
2791
+ "1950-06",
2792
+ "1950-07",
2793
+ "1950-08",
2794
+ "1950-09",
2795
+ "1950-10",
2796
+ "1950-11",
2797
+ "1950-12",
2798
+ "1951-01",
2799
+ "1951-02",
2800
+ "1951-03",
2801
+ "1951-04",
2802
+ "1951-05",
2803
+ "1951-06",
2804
+ "1951-07",
2805
+ "1951-08",
2806
+ "1951-09",
2807
+ "1951-10",
2808
+ "1951-11",
2809
+ "1951-12",
2810
+ "1952-01",
2811
+ "1952-02",
2812
+ "1952-03",
2813
+ "1952-04",
2814
+ "1952-05",
2815
+ "1952-06",
2816
+ "1952-07",
2817
+ "1952-08",
2818
+ "1952-09",
2819
+ "1952-10",
2820
+ "1952-11",
2821
+ "1952-12",
2822
+ "1953-01",
2823
+ "1953-02",
2824
+ "1953-03",
2825
+ "1953-04",
2826
+ "1953-05",
2827
+ "1953-06",
2828
+ "1953-07",
2829
+ "1953-08",
2830
+ "1953-09",
2831
+ "1953-10",
2832
+ "1953-11",
2833
+ "1953-12",
2834
+ "1954-01",
2835
+ "1954-02",
2836
+ "1954-03",
2837
+ "1954-04",
2838
+ "1954-05",
2839
+ "1954-06",
2840
+ "1954-07",
2841
+ "1954-08",
2842
+ "1954-09",
2843
+ "1954-10",
2844
+ "1954-11",
2845
+ "1954-12",
2846
+ "1955-01",
2847
+ "1955-02",
2848
+ "1955-03",
2849
+ "1955-04",
2850
+ "1955-05",
2851
+ "1955-06",
2852
+ "1955-07",
2853
+ "1955-08",
2854
+ "1955-09",
2855
+ "1955-10",
2856
+ "1955-11",
2857
+ "1955-12",
2858
+ "1956-01",
2859
+ "1956-02",
2860
+ "1956-03",
2861
+ "1956-04",
2862
+ "1956-05",
2863
+ "1956-06",
2864
+ "1956-07",
2865
+ "1956-08",
2866
+ "1956-09",
2867
+ "1956-10",
2868
+ "1956-11",
2869
+ "1956-12",
2870
+ "1957-01",
2871
+ "1957-02",
2872
+ "1957-03",
2873
+ "1957-04",
2874
+ "1957-05",
2875
+ "1957-06",
2876
+ "1957-07",
2877
+ "1957-08",
2878
+ "1957-09",
2879
+ "1957-10",
2880
+ "1957-11",
2881
+ "1957-12",
2882
+ "1958-01",
2883
+ "1958-02",
2884
+ "1958-03",
2885
+ "1958-04",
2886
+ "1958-05",
2887
+ "1958-06",
2888
+ "1958-07",
2889
+ "1958-08",
2890
+ "1958-09",
2891
+ "1958-10",
2892
+ "1958-11",
2893
+ "1958-12",
2894
+ "1959-01",
2895
+ "1959-02",
2896
+ "1959-03",
2897
+ "1959-04",
2898
+ "1959-05",
2899
+ "1959-06",
2900
+ "1959-07",
2901
+ "1959-08",
2902
+ "1959-09",
2903
+ "1959-10",
2904
+ "1959-11",
2905
+ "1959-12",
2906
+ "1960-01",
2907
+ "1960-02",
2908
+ "1960-03",
2909
+ "1960-04",
2910
+ "1960-05",
2911
+ "1960-06",
2912
+ "1960-07",
2913
+ "1960-08",
2914
+ "1960-09",
2915
+ "1960-10",
2916
+ "1960-11",
2917
+ "1960-12"
2918
+ ],
2919
+ "xaxis": "x",
2920
+ "y": [
2921
+ 6.82748858173896,
2922
+ 6.932820730509207,
2923
+ 7.161889908826498,
2924
+ 7.114609204519168,
2925
+ 6.983785337660114,
2926
+ 7.208263807317394,
2927
+ 7.3995962503103625,
2928
+ 7.3995962503103625,
2929
+ 7.22352671905865,
2930
+ 6.949930367764858,
2931
+ 6.679299708779565,
2932
+ 6.932820730509207,
2933
+ 6.880739991584261,
2934
+ 7.066382242358939,
2935
+ 7.298436813729559,
2936
+ 7.208263807317394,
2937
+ 7.050089104797117,
2938
+ 7.4137131513901435,
2939
+ 7.692975730758015,
2940
+ 7.692975730758015,
2941
+ 7.53725830062663,
2942
+ 7.177446756378013,
2943
+ 6.863122406812373,
2944
+ 7.28363790503774,
2945
+ 7.3567524038341325,
2946
+ 7.4277495619413285,
2947
+ 7.791661144236726,
2948
+ 7.603325023088983,
2949
+ 7.718012115308303,
2950
+ 7.791661144236726,
2951
+ 8.033797610835808,
2952
+ 8.033797610835808,
2953
+ 7.863224622085361,
2954
+ 7.590251160610551,
2955
+ 7.371116916401901,
2956
+ 7.642140722920721,
2957
+ 7.705525108067984,
2958
+ 7.815740985741958,
2959
+ 7.966928188390902,
2960
+ 7.827695535520041,
2961
+ 7.851436788198782,
2962
+ 8.234783184676306,
2963
+ 8.354155864860605,
2964
+ 8.46833522783446,
2965
+ 8.141522449069246,
2966
+ 7.944244588387943,
2967
+ 7.718012115308303,
2968
+ 7.978194978048789,
2969
+ 8.000580910852152,
2970
+ 8.000580910852152,
2971
+ 8.411863911076304,
2972
+ 8.40233336482168,
2973
+ 8.344413442072371,
2974
+ 8.477630880821735,
2975
+ 8.665683941317743,
2976
+ 8.733980589308684,
2977
+ 8.421360113238155,
2978
+ 8.162538647397492,
2979
+ 7.815740985741958,
2980
+ 8.055705837636335,
2981
+ 8.088222461950833,
2982
+ 7.90983679947632,
2983
+ 8.40233336482168,
2984
+ 8.324819360082541,
2985
+ 8.392768203324042,
2986
+ 8.665683941317743,
2987
+ 8.975734596263512,
2988
+ 8.905441354912234,
2989
+ 8.622097729788374,
2990
+ 8.344413442072371,
2991
+ 8.077429120587768,
2992
+ 8.344413442072371,
2993
+ 8.46833522783446,
2994
+ 8.383168152122344,
2995
+ 8.691499209141444,
2996
+ 8.708572433351288,
2997
+ 8.717068524803999,
2998
+ 9.074182129964917,
2999
+ 9.416613684752527,
3000
+ 9.302521352873578,
3001
+ 9.051775021301589,
3002
+ 8.750787037317656,
3003
+ 8.421360113238155,
3004
+ 8.784088747833847,
3005
+ 8.833283836830503,
3006
+ 8.775801783889934,
3007
+ 9.089019405515986,
3008
+ 9.059264375699852,
3009
+ 9.096408157505326,
3010
+ 9.481622528850638,
3011
+ 9.721788244341827,
3012
+ 9.674148261255864,
3013
+ 9.356791450592493,
3014
+ 9.006404518808338,
3015
+ 8.72553784924455,
3016
+ 9.006404518808338,
3017
+ 9.074182129964917,
3018
+ 8.968013064233238,
3019
+ 9.363501758586906,
3020
+ 9.309363053833259,
3021
+ 9.356791450592493,
3022
+ 9.77445245810766,
3023
+ 10.01358765048875,
3024
+ 10.024244429141541,
3025
+ 9.668137016269617,
3026
+ 9.302521352873578,
3027
+ 8.998769205948335,
3028
+ 9.226132391194653,
3029
+ 9.254153417541826,
3030
+ 9.096408157505326,
3031
+ 9.403429654397463,
3032
+ 9.309363053833259,
3033
+ 9.410029405464389,
3034
+ 9.848858282533,
3035
+ 10.149183299792245,
3036
+ 10.219680533901682,
3037
+ 9.668137016269617,
3038
+ 9.383536774918996,
3039
+ 9.036734752920182,
3040
+ 9.233164183053365,
3041
+ 9.390183419314747,
3042
+ 9.268058751082227,
3043
+ 9.680146873972042,
3044
+ 9.619585251152023,
3045
+ 9.762832581300483,
3046
+ 10.050717237297004,
3047
+ 10.426260899626588,
3048
+ 10.476881775720207,
3049
+ 10.002891749123968,
3050
+ 9.686132911980211,
3051
+ 9.403429654397463,
3052
+ 9.674148261255864,
3053
+ 9.745314063491426,
3054
+ 9.588814346407572,
3055
+ 9.757004954628913,
3056
+ 9.992156411490734,
3057
+ 10.050717237297004,
3058
+ 10.365307825024523,
3059
+ 10.75144927095027,
3060
+ 10.684045708866122,
3061
+ 10.234570085081552,
3062
+ 9.992156411490734,
3063
+ 9.58261997053184,
3064
+ 9.831857558269773
3065
+ ],
3066
+ "yaxis": "y"
3067
+ }
3068
+ ],
3069
+ "layout": {
3070
+ "annotations": [
3071
+ {
3072
+ "align": "left",
3073
+ "bgcolor": "white",
3074
+ "bordercolor": "black",
3075
+ "borderwidth": 2,
3076
+ "font": {
3077
+ "color": "black",
3078
+ "family": "Courier New, monospace",
3079
+ "size": 20
3080
+ },
3081
+ "showarrow": false,
3082
+ "text": "Lambda = 0.148",
3083
+ "x": "1952-12-20",
3084
+ "y": 10,
3085
+ "yanchor": "bottom"
3086
+ }
3087
+ ],
3088
+ "font": {
3089
+ "size": 18
3090
+ },
3091
+ "height": 400,
3092
+ "legend": {
3093
+ "tracegroupgap": 0
3094
+ },
3095
+ "margin": {
3096
+ "t": 60
3097
+ },
3098
+ "template": {
3099
+ "data": {
3100
+ "bar": [
3101
+ {
3102
+ "error_x": {
3103
+ "color": "rgb(36,36,36)"
3104
+ },
3105
+ "error_y": {
3106
+ "color": "rgb(36,36,36)"
3107
+ },
3108
+ "marker": {
3109
+ "line": {
3110
+ "color": "white",
3111
+ "width": 0.5
3112
+ },
3113
+ "pattern": {
3114
+ "fillmode": "overlay",
3115
+ "size": 10,
3116
+ "solidity": 0.2
3117
+ }
3118
+ },
3119
+ "type": "bar"
3120
+ }
3121
+ ],
3122
+ "barpolar": [
3123
+ {
3124
+ "marker": {
3125
+ "line": {
3126
+ "color": "white",
3127
+ "width": 0.5
3128
+ },
3129
+ "pattern": {
3130
+ "fillmode": "overlay",
3131
+ "size": 10,
3132
+ "solidity": 0.2
3133
+ }
3134
+ },
3135
+ "type": "barpolar"
3136
+ }
3137
+ ],
3138
+ "carpet": [
3139
+ {
3140
+ "aaxis": {
3141
+ "endlinecolor": "rgb(36,36,36)",
3142
+ "gridcolor": "white",
3143
+ "linecolor": "white",
3144
+ "minorgridcolor": "white",
3145
+ "startlinecolor": "rgb(36,36,36)"
3146
+ },
3147
+ "baxis": {
3148
+ "endlinecolor": "rgb(36,36,36)",
3149
+ "gridcolor": "white",
3150
+ "linecolor": "white",
3151
+ "minorgridcolor": "white",
3152
+ "startlinecolor": "rgb(36,36,36)"
3153
+ },
3154
+ "type": "carpet"
3155
+ }
3156
+ ],
3157
+ "choropleth": [
3158
+ {
3159
+ "colorbar": {
3160
+ "outlinewidth": 1,
3161
+ "tickcolor": "rgb(36,36,36)",
3162
+ "ticks": "outside"
3163
+ },
3164
+ "type": "choropleth"
3165
+ }
3166
+ ],
3167
+ "contour": [
3168
+ {
3169
+ "colorbar": {
3170
+ "outlinewidth": 1,
3171
+ "tickcolor": "rgb(36,36,36)",
3172
+ "ticks": "outside"
3173
+ },
3174
+ "colorscale": [
3175
+ [
3176
+ 0,
3177
+ "#440154"
3178
+ ],
3179
+ [
3180
+ 0.1111111111111111,
3181
+ "#482878"
3182
+ ],
3183
+ [
3184
+ 0.2222222222222222,
3185
+ "#3e4989"
3186
+ ],
3187
+ [
3188
+ 0.3333333333333333,
3189
+ "#31688e"
3190
+ ],
3191
+ [
3192
+ 0.4444444444444444,
3193
+ "#26828e"
3194
+ ],
3195
+ [
3196
+ 0.5555555555555556,
3197
+ "#1f9e89"
3198
+ ],
3199
+ [
3200
+ 0.6666666666666666,
3201
+ "#35b779"
3202
+ ],
3203
+ [
3204
+ 0.7777777777777778,
3205
+ "#6ece58"
3206
+ ],
3207
+ [
3208
+ 0.8888888888888888,
3209
+ "#b5de2b"
3210
+ ],
3211
+ [
3212
+ 1,
3213
+ "#fde725"
3214
+ ]
3215
+ ],
3216
+ "type": "contour"
3217
+ }
3218
+ ],
3219
+ "contourcarpet": [
3220
+ {
3221
+ "colorbar": {
3222
+ "outlinewidth": 1,
3223
+ "tickcolor": "rgb(36,36,36)",
3224
+ "ticks": "outside"
3225
+ },
3226
+ "type": "contourcarpet"
3227
+ }
3228
+ ],
3229
+ "heatmap": [
3230
+ {
3231
+ "colorbar": {
3232
+ "outlinewidth": 1,
3233
+ "tickcolor": "rgb(36,36,36)",
3234
+ "ticks": "outside"
3235
+ },
3236
+ "colorscale": [
3237
+ [
3238
+ 0,
3239
+ "#440154"
3240
+ ],
3241
+ [
3242
+ 0.1111111111111111,
3243
+ "#482878"
3244
+ ],
3245
+ [
3246
+ 0.2222222222222222,
3247
+ "#3e4989"
3248
+ ],
3249
+ [
3250
+ 0.3333333333333333,
3251
+ "#31688e"
3252
+ ],
3253
+ [
3254
+ 0.4444444444444444,
3255
+ "#26828e"
3256
+ ],
3257
+ [
3258
+ 0.5555555555555556,
3259
+ "#1f9e89"
3260
+ ],
3261
+ [
3262
+ 0.6666666666666666,
3263
+ "#35b779"
3264
+ ],
3265
+ [
3266
+ 0.7777777777777778,
3267
+ "#6ece58"
3268
+ ],
3269
+ [
3270
+ 0.8888888888888888,
3271
+ "#b5de2b"
3272
+ ],
3273
+ [
3274
+ 1,
3275
+ "#fde725"
3276
+ ]
3277
+ ],
3278
+ "type": "heatmap"
3279
+ }
3280
+ ],
3281
+ "heatmapgl": [
3282
+ {
3283
+ "colorbar": {
3284
+ "outlinewidth": 1,
3285
+ "tickcolor": "rgb(36,36,36)",
3286
+ "ticks": "outside"
3287
+ },
3288
+ "colorscale": [
3289
+ [
3290
+ 0,
3291
+ "#440154"
3292
+ ],
3293
+ [
3294
+ 0.1111111111111111,
3295
+ "#482878"
3296
+ ],
3297
+ [
3298
+ 0.2222222222222222,
3299
+ "#3e4989"
3300
+ ],
3301
+ [
3302
+ 0.3333333333333333,
3303
+ "#31688e"
3304
+ ],
3305
+ [
3306
+ 0.4444444444444444,
3307
+ "#26828e"
3308
+ ],
3309
+ [
3310
+ 0.5555555555555556,
3311
+ "#1f9e89"
3312
+ ],
3313
+ [
3314
+ 0.6666666666666666,
3315
+ "#35b779"
3316
+ ],
3317
+ [
3318
+ 0.7777777777777778,
3319
+ "#6ece58"
3320
+ ],
3321
+ [
3322
+ 0.8888888888888888,
3323
+ "#b5de2b"
3324
+ ],
3325
+ [
3326
+ 1,
3327
+ "#fde725"
3328
+ ]
3329
+ ],
3330
+ "type": "heatmapgl"
3331
+ }
3332
+ ],
3333
+ "histogram": [
3334
+ {
3335
+ "marker": {
3336
+ "line": {
3337
+ "color": "white",
3338
+ "width": 0.6
3339
+ }
3340
+ },
3341
+ "type": "histogram"
3342
+ }
3343
+ ],
3344
+ "histogram2d": [
3345
+ {
3346
+ "colorbar": {
3347
+ "outlinewidth": 1,
3348
+ "tickcolor": "rgb(36,36,36)",
3349
+ "ticks": "outside"
3350
+ },
3351
+ "colorscale": [
3352
+ [
3353
+ 0,
3354
+ "#440154"
3355
+ ],
3356
+ [
3357
+ 0.1111111111111111,
3358
+ "#482878"
3359
+ ],
3360
+ [
3361
+ 0.2222222222222222,
3362
+ "#3e4989"
3363
+ ],
3364
+ [
3365
+ 0.3333333333333333,
3366
+ "#31688e"
3367
+ ],
3368
+ [
3369
+ 0.4444444444444444,
3370
+ "#26828e"
3371
+ ],
3372
+ [
3373
+ 0.5555555555555556,
3374
+ "#1f9e89"
3375
+ ],
3376
+ [
3377
+ 0.6666666666666666,
3378
+ "#35b779"
3379
+ ],
3380
+ [
3381
+ 0.7777777777777778,
3382
+ "#6ece58"
3383
+ ],
3384
+ [
3385
+ 0.8888888888888888,
3386
+ "#b5de2b"
3387
+ ],
3388
+ [
3389
+ 1,
3390
+ "#fde725"
3391
+ ]
3392
+ ],
3393
+ "type": "histogram2d"
3394
+ }
3395
+ ],
3396
+ "histogram2dcontour": [
3397
+ {
3398
+ "colorbar": {
3399
+ "outlinewidth": 1,
3400
+ "tickcolor": "rgb(36,36,36)",
3401
+ "ticks": "outside"
3402
+ },
3403
+ "colorscale": [
3404
+ [
3405
+ 0,
3406
+ "#440154"
3407
+ ],
3408
+ [
3409
+ 0.1111111111111111,
3410
+ "#482878"
3411
+ ],
3412
+ [
3413
+ 0.2222222222222222,
3414
+ "#3e4989"
3415
+ ],
3416
+ [
3417
+ 0.3333333333333333,
3418
+ "#31688e"
3419
+ ],
3420
+ [
3421
+ 0.4444444444444444,
3422
+ "#26828e"
3423
+ ],
3424
+ [
3425
+ 0.5555555555555556,
3426
+ "#1f9e89"
3427
+ ],
3428
+ [
3429
+ 0.6666666666666666,
3430
+ "#35b779"
3431
+ ],
3432
+ [
3433
+ 0.7777777777777778,
3434
+ "#6ece58"
3435
+ ],
3436
+ [
3437
+ 0.8888888888888888,
3438
+ "#b5de2b"
3439
+ ],
3440
+ [
3441
+ 1,
3442
+ "#fde725"
3443
+ ]
3444
+ ],
3445
+ "type": "histogram2dcontour"
3446
+ }
3447
+ ],
3448
+ "mesh3d": [
3449
+ {
3450
+ "colorbar": {
3451
+ "outlinewidth": 1,
3452
+ "tickcolor": "rgb(36,36,36)",
3453
+ "ticks": "outside"
3454
+ },
3455
+ "type": "mesh3d"
3456
+ }
3457
+ ],
3458
+ "parcoords": [
3459
+ {
3460
+ "line": {
3461
+ "colorbar": {
3462
+ "outlinewidth": 1,
3463
+ "tickcolor": "rgb(36,36,36)",
3464
+ "ticks": "outside"
3465
+ }
3466
+ },
3467
+ "type": "parcoords"
3468
+ }
3469
+ ],
3470
+ "pie": [
3471
+ {
3472
+ "automargin": true,
3473
+ "type": "pie"
3474
+ }
3475
+ ],
3476
+ "scatter": [
3477
+ {
3478
+ "fillpattern": {
3479
+ "fillmode": "overlay",
3480
+ "size": 10,
3481
+ "solidity": 0.2
3482
+ },
3483
+ "type": "scatter"
3484
+ }
3485
+ ],
3486
+ "scatter3d": [
3487
+ {
3488
+ "line": {
3489
+ "colorbar": {
3490
+ "outlinewidth": 1,
3491
+ "tickcolor": "rgb(36,36,36)",
3492
+ "ticks": "outside"
3493
+ }
3494
+ },
3495
+ "marker": {
3496
+ "colorbar": {
3497
+ "outlinewidth": 1,
3498
+ "tickcolor": "rgb(36,36,36)",
3499
+ "ticks": "outside"
3500
+ }
3501
+ },
3502
+ "type": "scatter3d"
3503
+ }
3504
+ ],
3505
+ "scattercarpet": [
3506
+ {
3507
+ "marker": {
3508
+ "colorbar": {
3509
+ "outlinewidth": 1,
3510
+ "tickcolor": "rgb(36,36,36)",
3511
+ "ticks": "outside"
3512
+ }
3513
+ },
3514
+ "type": "scattercarpet"
3515
+ }
3516
+ ],
3517
+ "scattergeo": [
3518
+ {
3519
+ "marker": {
3520
+ "colorbar": {
3521
+ "outlinewidth": 1,
3522
+ "tickcolor": "rgb(36,36,36)",
3523
+ "ticks": "outside"
3524
+ }
3525
+ },
3526
+ "type": "scattergeo"
3527
+ }
3528
+ ],
3529
+ "scattergl": [
3530
+ {
3531
+ "marker": {
3532
+ "colorbar": {
3533
+ "outlinewidth": 1,
3534
+ "tickcolor": "rgb(36,36,36)",
3535
+ "ticks": "outside"
3536
+ }
3537
+ },
3538
+ "type": "scattergl"
3539
+ }
3540
+ ],
3541
+ "scattermapbox": [
3542
+ {
3543
+ "marker": {
3544
+ "colorbar": {
3545
+ "outlinewidth": 1,
3546
+ "tickcolor": "rgb(36,36,36)",
3547
+ "ticks": "outside"
3548
+ }
3549
+ },
3550
+ "type": "scattermapbox"
3551
+ }
3552
+ ],
3553
+ "scatterpolar": [
3554
+ {
3555
+ "marker": {
3556
+ "colorbar": {
3557
+ "outlinewidth": 1,
3558
+ "tickcolor": "rgb(36,36,36)",
3559
+ "ticks": "outside"
3560
+ }
3561
+ },
3562
+ "type": "scatterpolar"
3563
+ }
3564
+ ],
3565
+ "scatterpolargl": [
3566
+ {
3567
+ "marker": {
3568
+ "colorbar": {
3569
+ "outlinewidth": 1,
3570
+ "tickcolor": "rgb(36,36,36)",
3571
+ "ticks": "outside"
3572
+ }
3573
+ },
3574
+ "type": "scatterpolargl"
3575
+ }
3576
+ ],
3577
+ "scatterternary": [
3578
+ {
3579
+ "marker": {
3580
+ "colorbar": {
3581
+ "outlinewidth": 1,
3582
+ "tickcolor": "rgb(36,36,36)",
3583
+ "ticks": "outside"
3584
+ }
3585
+ },
3586
+ "type": "scatterternary"
3587
+ }
3588
+ ],
3589
+ "surface": [
3590
+ {
3591
+ "colorbar": {
3592
+ "outlinewidth": 1,
3593
+ "tickcolor": "rgb(36,36,36)",
3594
+ "ticks": "outside"
3595
+ },
3596
+ "colorscale": [
3597
+ [
3598
+ 0,
3599
+ "#440154"
3600
+ ],
3601
+ [
3602
+ 0.1111111111111111,
3603
+ "#482878"
3604
+ ],
3605
+ [
3606
+ 0.2222222222222222,
3607
+ "#3e4989"
3608
+ ],
3609
+ [
3610
+ 0.3333333333333333,
3611
+ "#31688e"
3612
+ ],
3613
+ [
3614
+ 0.4444444444444444,
3615
+ "#26828e"
3616
+ ],
3617
+ [
3618
+ 0.5555555555555556,
3619
+ "#1f9e89"
3620
+ ],
3621
+ [
3622
+ 0.6666666666666666,
3623
+ "#35b779"
3624
+ ],
3625
+ [
3626
+ 0.7777777777777778,
3627
+ "#6ece58"
3628
+ ],
3629
+ [
3630
+ 0.8888888888888888,
3631
+ "#b5de2b"
3632
+ ],
3633
+ [
3634
+ 1,
3635
+ "#fde725"
3636
+ ]
3637
+ ],
3638
+ "type": "surface"
3639
+ }
3640
+ ],
3641
+ "table": [
3642
+ {
3643
+ "cells": {
3644
+ "fill": {
3645
+ "color": "rgb(237,237,237)"
3646
+ },
3647
+ "line": {
3648
+ "color": "white"
3649
+ }
3650
+ },
3651
+ "header": {
3652
+ "fill": {
3653
+ "color": "rgb(217,217,217)"
3654
+ },
3655
+ "line": {
3656
+ "color": "white"
3657
+ }
3658
+ },
3659
+ "type": "table"
3660
+ }
3661
+ ]
3662
+ },
3663
+ "layout": {
3664
+ "annotationdefaults": {
3665
+ "arrowhead": 0,
3666
+ "arrowwidth": 1
3667
+ },
3668
+ "autotypenumbers": "strict",
3669
+ "coloraxis": {
3670
+ "colorbar": {
3671
+ "outlinewidth": 1,
3672
+ "tickcolor": "rgb(36,36,36)",
3673
+ "ticks": "outside"
3674
+ }
3675
+ },
3676
+ "colorscale": {
3677
+ "diverging": [
3678
+ [
3679
+ 0,
3680
+ "rgb(103,0,31)"
3681
+ ],
3682
+ [
3683
+ 0.1,
3684
+ "rgb(178,24,43)"
3685
+ ],
3686
+ [
3687
+ 0.2,
3688
+ "rgb(214,96,77)"
3689
+ ],
3690
+ [
3691
+ 0.3,
3692
+ "rgb(244,165,130)"
3693
+ ],
3694
+ [
3695
+ 0.4,
3696
+ "rgb(253,219,199)"
3697
+ ],
3698
+ [
3699
+ 0.5,
3700
+ "rgb(247,247,247)"
3701
+ ],
3702
+ [
3703
+ 0.6,
3704
+ "rgb(209,229,240)"
3705
+ ],
3706
+ [
3707
+ 0.7,
3708
+ "rgb(146,197,222)"
3709
+ ],
3710
+ [
3711
+ 0.8,
3712
+ "rgb(67,147,195)"
3713
+ ],
3714
+ [
3715
+ 0.9,
3716
+ "rgb(33,102,172)"
3717
+ ],
3718
+ [
3719
+ 1,
3720
+ "rgb(5,48,97)"
3721
+ ]
3722
+ ],
3723
+ "sequential": [
3724
+ [
3725
+ 0,
3726
+ "#440154"
3727
+ ],
3728
+ [
3729
+ 0.1111111111111111,
3730
+ "#482878"
3731
+ ],
3732
+ [
3733
+ 0.2222222222222222,
3734
+ "#3e4989"
3735
+ ],
3736
+ [
3737
+ 0.3333333333333333,
3738
+ "#31688e"
3739
+ ],
3740
+ [
3741
+ 0.4444444444444444,
3742
+ "#26828e"
3743
+ ],
3744
+ [
3745
+ 0.5555555555555556,
3746
+ "#1f9e89"
3747
+ ],
3748
+ [
3749
+ 0.6666666666666666,
3750
+ "#35b779"
3751
+ ],
3752
+ [
3753
+ 0.7777777777777778,
3754
+ "#6ece58"
3755
+ ],
3756
+ [
3757
+ 0.8888888888888888,
3758
+ "#b5de2b"
3759
+ ],
3760
+ [
3761
+ 1,
3762
+ "#fde725"
3763
+ ]
3764
+ ],
3765
+ "sequentialminus": [
3766
+ [
3767
+ 0,
3768
+ "#440154"
3769
+ ],
3770
+ [
3771
+ 0.1111111111111111,
3772
+ "#482878"
3773
+ ],
3774
+ [
3775
+ 0.2222222222222222,
3776
+ "#3e4989"
3777
+ ],
3778
+ [
3779
+ 0.3333333333333333,
3780
+ "#31688e"
3781
+ ],
3782
+ [
3783
+ 0.4444444444444444,
3784
+ "#26828e"
3785
+ ],
3786
+ [
3787
+ 0.5555555555555556,
3788
+ "#1f9e89"
3789
+ ],
3790
+ [
3791
+ 0.6666666666666666,
3792
+ "#35b779"
3793
+ ],
3794
+ [
3795
+ 0.7777777777777778,
3796
+ "#6ece58"
3797
+ ],
3798
+ [
3799
+ 0.8888888888888888,
3800
+ "#b5de2b"
3801
+ ],
3802
+ [
3803
+ 1,
3804
+ "#fde725"
3805
+ ]
3806
+ ]
3807
+ },
3808
+ "colorway": [
3809
+ "#1F77B4",
3810
+ "#FF7F0E",
3811
+ "#2CA02C",
3812
+ "#D62728",
3813
+ "#9467BD",
3814
+ "#8C564B",
3815
+ "#E377C2",
3816
+ "#7F7F7F",
3817
+ "#BCBD22",
3818
+ "#17BECF"
3819
+ ],
3820
+ "font": {
3821
+ "color": "rgb(36,36,36)"
3822
+ },
3823
+ "geo": {
3824
+ "bgcolor": "white",
3825
+ "lakecolor": "white",
3826
+ "landcolor": "white",
3827
+ "showlakes": true,
3828
+ "showland": true,
3829
+ "subunitcolor": "white"
3830
+ },
3831
+ "hoverlabel": {
3832
+ "align": "left"
3833
+ },
3834
+ "hovermode": "closest",
3835
+ "mapbox": {
3836
+ "style": "light"
3837
+ },
3838
+ "paper_bgcolor": "white",
3839
+ "plot_bgcolor": "white",
3840
+ "polar": {
3841
+ "angularaxis": {
3842
+ "gridcolor": "rgb(232,232,232)",
3843
+ "linecolor": "rgb(36,36,36)",
3844
+ "showgrid": false,
3845
+ "showline": true,
3846
+ "ticks": "outside"
3847
+ },
3848
+ "bgcolor": "white",
3849
+ "radialaxis": {
3850
+ "gridcolor": "rgb(232,232,232)",
3851
+ "linecolor": "rgb(36,36,36)",
3852
+ "showgrid": false,
3853
+ "showline": true,
3854
+ "ticks": "outside"
3855
+ }
3856
+ },
3857
+ "scene": {
3858
+ "xaxis": {
3859
+ "backgroundcolor": "white",
3860
+ "gridcolor": "rgb(232,232,232)",
3861
+ "gridwidth": 2,
3862
+ "linecolor": "rgb(36,36,36)",
3863
+ "showbackground": true,
3864
+ "showgrid": false,
3865
+ "showline": true,
3866
+ "ticks": "outside",
3867
+ "zeroline": false,
3868
+ "zerolinecolor": "rgb(36,36,36)"
3869
+ },
3870
+ "yaxis": {
3871
+ "backgroundcolor": "white",
3872
+ "gridcolor": "rgb(232,232,232)",
3873
+ "gridwidth": 2,
3874
+ "linecolor": "rgb(36,36,36)",
3875
+ "showbackground": true,
3876
+ "showgrid": false,
3877
+ "showline": true,
3878
+ "ticks": "outside",
3879
+ "zeroline": false,
3880
+ "zerolinecolor": "rgb(36,36,36)"
3881
+ },
3882
+ "zaxis": {
3883
+ "backgroundcolor": "white",
3884
+ "gridcolor": "rgb(232,232,232)",
3885
+ "gridwidth": 2,
3886
+ "linecolor": "rgb(36,36,36)",
3887
+ "showbackground": true,
3888
+ "showgrid": false,
3889
+ "showline": true,
3890
+ "ticks": "outside",
3891
+ "zeroline": false,
3892
+ "zerolinecolor": "rgb(36,36,36)"
3893
+ }
3894
+ },
3895
+ "shapedefaults": {
3896
+ "fillcolor": "black",
3897
+ "line": {
3898
+ "width": 0
3899
+ },
3900
+ "opacity": 0.3
3901
+ },
3902
+ "ternary": {
3903
+ "aaxis": {
3904
+ "gridcolor": "rgb(232,232,232)",
3905
+ "linecolor": "rgb(36,36,36)",
3906
+ "showgrid": false,
3907
+ "showline": true,
3908
+ "ticks": "outside"
3909
+ },
3910
+ "baxis": {
3911
+ "gridcolor": "rgb(232,232,232)",
3912
+ "linecolor": "rgb(36,36,36)",
3913
+ "showgrid": false,
3914
+ "showline": true,
3915
+ "ticks": "outside"
3916
+ },
3917
+ "bgcolor": "white",
3918
+ "caxis": {
3919
+ "gridcolor": "rgb(232,232,232)",
3920
+ "linecolor": "rgb(36,36,36)",
3921
+ "showgrid": false,
3922
+ "showline": true,
3923
+ "ticks": "outside"
3924
+ }
3925
+ },
3926
+ "title": {
3927
+ "x": 0.05
3928
+ },
3929
+ "xaxis": {
3930
+ "automargin": true,
3931
+ "gridcolor": "rgb(232,232,232)",
3932
+ "linecolor": "rgb(36,36,36)",
3933
+ "showgrid": false,
3934
+ "showline": true,
3935
+ "ticks": "outside",
3936
+ "title": {
3937
+ "standoff": 15
3938
+ },
3939
+ "zeroline": false,
3940
+ "zerolinecolor": "rgb(36,36,36)"
3941
+ },
3942
+ "yaxis": {
3943
+ "automargin": true,
3944
+ "gridcolor": "rgb(232,232,232)",
3945
+ "linecolor": "rgb(36,36,36)",
3946
+ "showgrid": false,
3947
+ "showline": true,
3948
+ "ticks": "outside",
3949
+ "title": {
3950
+ "standoff": 15
3951
+ },
3952
+ "zeroline": false,
3953
+ "zerolinecolor": "rgb(36,36,36)"
3954
+ }
3955
+ }
3956
+ },
3957
+ "title": {
3958
+ "text": "Airline Passengers",
3959
+ "x": 0.5
3960
+ },
3961
+ "width": 650,
3962
+ "xaxis": {
3963
+ "anchor": "y",
3964
+ "domain": [
3965
+ 0,
3966
+ 1
3967
+ ],
3968
+ "title": {
3969
+ "text": "Date"
3970
+ }
3971
+ },
3972
+ "yaxis": {
3973
+ "anchor": "x",
3974
+ "domain": [
3975
+ 0,
3976
+ 1
3977
+ ],
3978
+ "title": {
3979
+ "text": "Passengers<br>Box-Cox Transform"
3980
+ }
3981
+ }
3982
+ }
3983
+ }
3984
+ },
3985
+ "metadata": {},
3986
+ "output_type": "display_data"
3987
+ }
3988
+ ],
3989
+ "source": [
3990
+ "plotting(\n",
3991
+ " title=\"Airline Passengers\",\n",
3992
+ " data=data,\n",
3993
+ " x=\"Month\",\n",
3994
+ " y=\"Passengers_box_cox\",\n",
3995
+ " x_label=\"Date\",\n",
3996
+ " y_label=\"Passengers<br>Box-Cox Transform\",\n",
3997
+ " text=True,\n",
3998
+ " lam=lam,\n",
3999
+ ")"
4000
+ ]
4001
+ },
4002
+ {
4003
+ "cell_type": "code",
4004
+ "execution_count": null,
4005
+ "metadata": {},
4006
+ "outputs": [],
4007
+ "source": []
4008
  }
4009
  ],
4010
  "metadata": {