-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarlson calculations.nb
4443 lines (4258 loc) · 174 KB
/
carlson calculations.nb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='WolframDesktop 13.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 161, 7]
NotebookDataLength[ 177910, 4435]
NotebookOptionsPosition[ 164562, 4196]
NotebookOutlinePosition[ 164982, 4213]
CellTagsIndexPosition[ 164939, 4210]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell["Phase A", "Subtitle",
CellChangeTimes->{{3.896603761195606*^9,
3.896603763507758*^9}},ExpressionUUID->"6ecec664-2cd6-4563-ab7f-\
ca19475e2b77"],
Cell[BoxData[
RowBox[{
RowBox[{"astrologerSuccess", "=",
RowBox[{"{",
RowBox[{
"3", ",", "10", ",", "9", ",", "7", ",", "16", ",", "17", ",", "13", ",",
"20", ",", "4", ",", "1"}], "}"}]}], ";",
RowBox[{"expected", "=",
RowBox[{"{",
RowBox[{
"6", ",", "12", ",", "13", ",", "9", ",", "14", ",", "12.66666667", ",",
"12.66666667", ",", "17", ",", "5", ",", "1.333333333"}], "}"}]}],
";"}]], "Input",
CellChangeTimes->{{3.895849648144322*^9, 3.8958497972218513`*^9}, {
3.896602997674659*^9, 3.896603008340139*^9}},
CellLabel->"In[1]:=",ExpressionUUID->"f92a8b1f-56d7-4763-83b9-7d392b8f3165"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"data", "=",
RowBox[{"N", "[",
RowBox[{"astrologerSuccess", "/", "expected"}], "]"}]}]], "Input",
CellChangeTimes->{{3.8959314731845827`*^9, 3.8959314759097652`*^9}, {
3.896603029175145*^9, 3.8966030515200253`*^9}},
CellLabel->"In[3]:=",ExpressionUUID->"f571884c-936a-4467-a3b3-338c6fa00082"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
"0.5`", ",", "0.8333333333333334`", ",", "0.6923076923076923`", ",",
"0.7777777777777778`", ",", "1.1428571428571428`", ",",
"1.3421052628047092`", ",", "1.0263157892036012`", ",",
"1.1764705882352942`", ",", "0.8`", ",", "0.7500000001875`"}],
"}"}]], "Output",
CellChangeTimes->{{3.895931468739809*^9, 3.8959314766012497`*^9}, {
3.8966030388687363`*^9, 3.8966030523641768`*^9}},
CellLabel->"Out[3]=",ExpressionUUID->"b6db59be-aea5-4636-b1f0-b35f92cd1cf6"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"ListPlot", "[", "data", "]"}]], "Input",
CellChangeTimes->{{3.8958502704734993`*^9, 3.895850282828266*^9},
3.896603056812277*^9},
CellLabel->"In[4]:=",ExpressionUUID->"ad9498d6-b9fe-4ada-bb7b-4bbe6347a34c"],
Cell[BoxData[
GraphicsBox[{{},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.012833333333333334`],
AbsoluteThickness[1.6],
PointBox[{{1., 0.5}, {2., 0.8333333333333334}, {3., 0.6923076923076923}, {
4., 0.7777777777777778}, {5., 1.1428571428571428`}, {6.,
1.3421052628047092`}, {7., 1.0263157892036012`}, {8.,
1.1764705882352942`}, {9., 0.8}, {10., 0.7500000001875}}]}, {{}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{None, None},
AxesOrigin->{0., 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.528488, 0.470624, 0.701351],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.772079, 0.431554, 0.102387],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.363898, 0.618501, 0.782349],
AbsoluteThickness[1.6]],
Directive[
RGBColor[1, 0.75, 0],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.647624, 0.37816, 0.614037],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.571589, 0.586483, 0.],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.915, 0.3325, 0.2125],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.40082222609352647`, 0.5220066643438841, 0.85],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.736782672705901, 0.358, 0.5030266573755369],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.28026441037696703`, 0.715, 0.4292089322474965],
AbsoluteThickness[1.6]]}, "DomainPadding" -> Scaled[0.02],
"PointSizeFunction" -> "SmallPointSize", "RangePadding" -> Scaled[0.05],
"OptimizePlotMarkers" -> True, "OptimizePlotMarkers" -> True,
"CoordinatesToolOptions" -> {"DisplayFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& ), "CopiedValueFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& )}},
PlotRange->{{0., 10.}, {0, 1.3421052628047092`}},
PlotRangeClipping->True,
PlotRangePadding->{{
Scaled[0.02],
Scaled[0.02]}, {
Scaled[0.02],
Scaled[0.05]}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{{3.895850278660808*^9, 3.895850283275195*^9},
3.895852627485984*^9, 3.895854663098453*^9, 3.896603057471283*^9},
CellLabel->"Out[4]=",ExpressionUUID->"5a66d4e3-2053-4ece-81c4-1846f18b6d05"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"lmfA", "=",
RowBox[{"LinearModelFit", "[",
RowBox[{"data", ",", "x", ",", "x"}], "]"}]}]], "Input",
CellChangeTimes->{{3.8958503146032753`*^9, 3.89585039853769*^9}, {
3.896603073997405*^9, 3.896603099052294*^9}},
CellLabel->"In[8]:=",ExpressionUUID->"49eafc5f-c6ba-490d-9d55-b10a8d843424"],
Cell[BoxData[
TagBox[
RowBox[{"FittedModel", "[",
TagBox[
PanelBox[
TagBox[
RowBox[{"0.7247053152634643`", "\[VeryThinSpace]", "+",
RowBox[{"0.032620262437680125`", " ", "x"}]}],
Short[#, 2]& ],
FrameMargins->5],
Editable -> False], "]"}],
InterpretTemplate[
FittedModel[{
"Linear", {0.7247053152634643,
0.032620262437680125`}, {{$CellContext`x}, {1, $CellContext`x}}, {0,
0}}, {{1., 1., 1., 1., 1., 1., 1., 1., 1., 1.}}, {0.5,
0.8333333333333334, 0.6923076923076923, 0.7777777777777778,
1.1428571428571428`, 1.3421052628047092`, 1.0263157892036012`,
1.1764705882352942`, 0.8, 0.7500000001875}, {{1., 1.}, {1., 2.}, {1.,
3.}, {1., 4.}, {1., 5.}, {1., 6.}, {1., 7.}, {1., 8.}, {1., 9.}, {1.,
10.}},
Function[Null,
Internal`LocalizedBlock[{$CellContext`x}, #], {HoldAll}]]& ],
Editable->False,
SelectWithContents->True,
Selectable->True]], "Output",
CellChangeTimes->{
3.895850326958552*^9, {3.8958503594925528`*^9, 3.895850367398575*^9},
3.895850399144994*^9, {3.895852622735277*^9, 3.895852628569241*^9},
3.895854664492342*^9, 3.895878337759636*^9, 3.8959322109993258`*^9,
3.896022792687096*^9, {3.896603074980544*^9, 3.896603100019679*^9}},
CellLabel->"Out[8]=",ExpressionUUID->"10a63e4b-64eb-4251-9730-85e0af6bfd24"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Normal", "[", "lmfA", "]"}]], "Input",
CellChangeTimes->{{3.8959322135366087`*^9, 3.895932217313718*^9},
3.8966031037119083`*^9},
CellLabel->"In[9]:=",ExpressionUUID->"fae8fd69-d859-4ef9-b4d2-c517680fdc6d"],
Cell[BoxData[
RowBox[{"0.7247053152634643`", "\[VeryThinSpace]", "+",
RowBox[{"0.032620262437680125`", " ", "x"}]}]], "Output",
CellChangeTimes->{
3.895932217994753*^9, {3.896603076823246*^9, 3.896603104431797*^9}},
CellLabel->"Out[9]=",ExpressionUUID->"ad96857c-ead8-4da6-aa34-4dd86d608ba4"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"ListPlot", "[",
RowBox[{"lmfA", "[", "\"\<FitResiduals\>\"", "]"}], "]"}]], "Input",
CellChangeTimes->{3.895852552742401*^9, 3.896603107607081*^9},
CellLabel->"In[10]:=",ExpressionUUID->"8fb8b8d4-eec5-4090-be97-9099a81ebb3c"],
Cell[BoxData[
GraphicsBox[{{},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.012833333333333334`],
AbsoluteThickness[1.6],
PointBox[{{1., -0.2573255777011444}, {2., 0.04338749319450885}, {
3., -0.13025841026881235`}, {4., -0.07740858723640698}, {5.,
0.2550505154052779}, {6., 0.4216783729151642}, {7.,
0.07326863687637608}, {8., 0.1908031734703889}, {
9., -0.21828767720258546`}, {10., -0.3009079394527656}}]}, {{}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{None, None},
AxesOrigin->{0., 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.528488, 0.470624, 0.701351],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.772079, 0.431554, 0.102387],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.363898, 0.618501, 0.782349],
AbsoluteThickness[1.6]],
Directive[
RGBColor[1, 0.75, 0],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.647624, 0.37816, 0.614037],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.571589, 0.586483, 0.],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.915, 0.3325, 0.2125],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.40082222609352647`, 0.5220066643438841, 0.85],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.736782672705901, 0.358, 0.5030266573755369],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.28026441037696703`, 0.715, 0.4292089322474965],
AbsoluteThickness[1.6]]}, "DomainPadding" -> Scaled[0.02],
"PointSizeFunction" -> "SmallPointSize", "RangePadding" -> Scaled[0.05],
"OptimizePlotMarkers" -> True, "OptimizePlotMarkers" -> True,
"CoordinatesToolOptions" -> {"DisplayFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& ), "CopiedValueFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& )}},
PlotRange->{{0., 10.}, {-0.3009079394527656, 0.4216783729151642}},
PlotRangeClipping->True,
PlotRangePadding->{{
Scaled[0.02],
Scaled[0.02]}, {
Scaled[0.05],
Scaled[0.05]}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{
3.8958525536190557`*^9, 3.895852630595276*^9, 3.895854665570853*^9,
3.8958783394601316`*^9, {3.8966030791803713`*^9, 3.896603108300406*^9}},
CellLabel->"Out[10]=",ExpressionUUID->"5010711b-a06d-4651-a867-d6367c678145"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Show", "[",
RowBox[{
RowBox[{"ListPlot", "[",
RowBox[{"data", ",",
RowBox[{
"PlotLabel", "->",
"\"\<Are Astrologer Rankings Effective Compared to Chance?\>\""}], ",",
RowBox[{"AxesLabel", "->",
RowBox[{"{",
RowBox[{"\"\<Ranking\>\"", ",", "\"\<Success/Chance\>\""}], "}"}]}]}],
"]"}], ",",
RowBox[{"Plot", "[",
RowBox[{
RowBox[{"lmf", "[", "x", "]"}], ",",
RowBox[{"{",
RowBox[{"x", ",", "0", ",", "10"}], "}"}], ",",
RowBox[{"PlotTheme", "->", "\"\<Business\>\""}]}], "]"}], ",",
RowBox[{"ImageSize", "->", "Large"}]}], " ", "]"}]], "Input",
CellChangeTimes->{{3.895850432517462*^9, 3.8958504405358353`*^9}, {
3.895932088086883*^9, 3.895932106963478*^9}, {3.89593214212541*^9,
3.895932180279142*^9}, {3.895932243134906*^9, 3.895932268869214*^9}, {
3.895932475000875*^9, 3.895932609307681*^9}, {3.895932639508484*^9,
3.895932672626156*^9}, {3.8966032383989677`*^9, 3.896603245904365*^9}},
CellLabel->"In[12]:=",ExpressionUUID->"fc492502-3895-4b3c-8c55-1cce30a7f3eb"],
Cell[BoxData[
GraphicsBox[{{{},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.012833333333333334`],
AbsoluteThickness[1.6],
PointBox[{{1., 0.5}, {2., 0.8333333333333334}, {3.,
0.6923076923076923}, {4., 0.7777777777777778}, {5.,
1.1428571428571428`}, {6., 1.3421052628047092`}, {7.,
1.0263157892036012`}, {8., 1.1764705882352942`}, {9., 0.8}, {10.,
0.7500000001875}}]}, {{}, {}}}, {{{}, {},
TagBox[
{RGBColor[0.34398, 0.49112, 0.89936], AbsoluteThickness[3], Opacity[1.],
CapForm["Butt"], LineBox[CompressedData["
1:eJwVzXs0lAkYBnBCOYzNqNRIzPicaFxKtdt20fuKNrklsrOHjYxcQrqYUYsU
pmRbsu1sbkmI3Y5MYtioVUTWtWSTXSo1jW/GzPCVJpSys3885zm/8/zxsLiH
/MLnaWlpeWvyfxelcOc77T+31Wev+YaONSS09jO9OMwDwGsvn1/oRMLcg6Z0
JvMHKHRaPRC7loSie1mWesxMkOlt4xuvJyHWmX9wyjIf0kWRtZwNJPR/jBJS
ltfg1lzN6lFnEhYMvbJRWTaAVelOWx1PEko6i48oLDtgajSB4RxOguhG5lCs
479A+U8mmF0mIRL68pVHJXA1xJtY109CnHSVRCySg1vCNw4uC2RgwBLYvPia
gvWHQ2tugQyyjbvYJfsm4YV+4JkYngy4Q3vu6nS/h0EB70lGlQyOtAm4h2w+
QJOhY1q+VAY3D9P8l+38BKFObSdGGXIoSYoZW8PRwt2bUt5d8pNDWvHs7ndK
bfz8cnFjdoYctPpH8E6iDuYKPZ7xb8thJS/i+B62HqawS5MeTMrhtTr3W8M/
56NVyNMoP9sx8JBGn7hwRB8XH3Ps2xE6Bj6vc+wsLAzwbb517tr8MRi7zz31
V5UhZgVNV37XMwaO9IEVriFGyNca3yzTU4ABqEOHJ79AM7dms9pNCtihCpyy
CjBGo5h6HhmvgMGW/dqB9nRUXfKwp19XQN3Z1mCmmo6ZB++sTRhRQIQef6S3
1wTjWb5iN4YSwo4m1dEKFiGD1yzw8VHC6ki7Xq/QxXi9r6/GO00JD03sDfkb
l+BPJrrf1zcq4bYordBexxTZbxftCZxQQpI227f7mSkuqdveHmmrAoPhRPc4
8VJUpZnmRe9TgbSCJSxOXoapE61//C5UgdCWodsQwMAw+NXPt0cFOQUR7aFM
M5zn6Lpl3bxxCBTu7aWRZphlk5Nu+NU4TLuVzxQ3LccI3bnt3nHjIJFuO96S
YY6zJz05naXjUOrstLwndAWOPG+QVA+NQ9VpPj3SwQJPDevdfWw8ARkBYZ46
agukSakpudsEfDlcci2jxxLJR58qo09MQN6qwqoeTyamBMlEK2sm4OS9rDzP
BiaGdbyz91JMgPfygPJOaxaasXwFtXQKXOLag+iZLHx5XZj/3I6CYnOudbea
hbvY0bFb3Smwvv/bRZ8gKzQ/Jhq9zaUgx6GF/bjJCoN3tiwUJ1MQManb18Em
0N0o8v1IHgXcm2+ZmecJPH8lUWBXS0Fsmv+sx8+aPaNZfkVjvr/4Ke0XArXj
9HeZiik4q+Zn51wkMH7zRYZ2HQWijTMfc4sI5AzcFA3UUzDTPDdQUUmgJU0+
mNqo+X9My2ptJ7D6GMdhsJmCgrKDUWc6CDwQfPmCdwsFZbxeV/cuAq22S6da
NK43zfnQ1Uug0CS+peo+BcOBi6L6nxB4vCqbk95GgY2E4fpKQiBK2lIdOyhY
I060uColcKaDRpZpvOn00Ew4SWBNtb8Xo5MCL5uiavkYgdYpL011uyg4GsO0
ePOGQH3Gp8p/uilI3pI6UzNJYPOcK31XDwWnjV79zVMTmDj6Y0Krxnk3ys5N
TxOorF3mcqOXgtJTupGNHwgsLwipsH5IQeXu8G3JswQGp1YYFmgstnqwYutn
ApdGqQ4vfERB0+TKmbk5Ah/5rB8QaPwf+ehU+Q==
"]]},
Annotation[#, "Charting`Private`Tag$9320#1"]& ]}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{
FormBox[
TagBox["\"Ranking\"", HoldForm], TraditionalForm],
FormBox[
TagBox["\"Success/Chance\"", HoldForm], TraditionalForm]},
AxesOrigin->{0., 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->Large,
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.528488, 0.470624, 0.701351],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.772079, 0.431554, 0.102387],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.363898, 0.618501, 0.782349],
AbsoluteThickness[1.6]],
Directive[
RGBColor[1, 0.75, 0],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.647624, 0.37816, 0.614037],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.571589, 0.586483, 0.],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.915, 0.3325, 0.2125],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.40082222609352647`, 0.5220066643438841, 0.85],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.736782672705901, 0.358, 0.5030266573755369],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.28026441037696703`, 0.715, 0.4292089322474965],
AbsoluteThickness[1.6]]}, "DomainPadding" -> Scaled[0.02],
"PointSizeFunction" -> "SmallPointSize", "RangePadding" -> Scaled[0.05],
"OptimizePlotMarkers" -> True, "OptimizePlotMarkers" -> True,
"CoordinatesToolOptions" -> {"DisplayFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& ), "CopiedValueFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& )}},
PlotLabel->FormBox[
"\"Are Astrologer Rankings Effective Compared to Chance?\"",
TraditionalForm],
PlotRange->{{0., 10.}, {0, 1.3421052628047092`}},
PlotRangeClipping->True,
PlotRangePadding->{{
Scaled[0.02],
Scaled[0.02]}, {
Scaled[0.02],
Scaled[0.05]}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{
3.895850441422653*^9, 3.895852635631164*^9, 3.8958546669002943`*^9, {
3.895932093035899*^9, 3.895932107732842*^9}, 3.895932152251604*^9,
3.895932182583506*^9, 3.8959322702155333`*^9, 3.89593250839386*^9, {
3.895932582806703*^9, 3.895932609971087*^9}, 3.895932673622739*^9, {
3.896603240586821*^9, 3.896603246578731*^9}},
CellLabel->"Out[12]=",ExpressionUUID->"40435bd2-615c-45e1-8c6a-0711cdd6c8f1"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"lmfA", "[", "\"\<ParameterTable\>\"", "]"}]], "Input",
CellChangeTimes->{3.895850920489895*^9, 3.896603251853332*^9},
CellLabel->"In[13]:=",ExpressionUUID->"57801cdc-5cf9-4295-bb9c-f9a5a2d5ce49"],
Cell[BoxData[
StyleBox[
TagBox[GridBox[{
{"\<\"\"\>", "\<\"Estimate\"\>", "\<\"Standard Error\"\>", "\<\"t\
\[Hyphen]Statistic\"\>", "\<\"P\[Hyphen]Value\"\>"},
{"1", "0.7247053152634643`", "0.17313858844031685`",
"4.185694949876987`", "0.003055704718536458`"},
{"x", "0.032620262437680125`", "0.02790381010482931`",
"1.1690253881148132`", "0.2760445031395349`"}
},
AutoDelete->False,
GridBoxAlignment->{"Columns" -> {{Left}}, "Rows" -> {{Automatic}}},
GridBoxDividers->{
"ColumnsIndexed" -> {2 -> GrayLevel[0.7]},
"RowsIndexed" -> {2 -> GrayLevel[0.7]}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
GridBoxSpacings->{
"ColumnsIndexed" -> {2 -> 1}, "RowsIndexed" -> {2 -> 0.75}}],
"Grid"], "DialogStyle",
StripOnInput->False]], "Output",
CellChangeTimes->{3.895850920949684*^9, 3.8958526376006527`*^9,
3.8958546682717113`*^9, 3.896603252568967*^9},
CellLabel->"Out[13]=",ExpressionUUID->"b6190ffd-f1dd-4d79-b8a2-e296ee302d37"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"lmfA", "[", "\"\<ParameterConfidenceIntervals\>\"", "]"}]], "Input",\
CellChangeTimes->{{3.8958507055552683`*^9, 3.895850710044148*^9}, {
3.895850783234661*^9, 3.895850834570545*^9}, 3.896603260156642*^9},
CellLabel->"In[14]:=",ExpressionUUID->"732ed368-287f-4cc7-ac54-d80f7e7a5fa8"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"0.32544701435668144`", ",", "1.123963616170247`"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"-", "0.03172603905200805`"}], ",", "0.0969665639273683`"}],
"}"}]}], "}"}]], "Output",
CellChangeTimes->{
3.895850710908428*^9, {3.895850793967341*^9, 3.8958508355174522`*^9},
3.895852639765574*^9, 3.8958546697241087`*^9, 3.896603260746634*^9},
CellLabel->"Out[14]=",ExpressionUUID->"b6773a16-ea78-4f33-8081-222ac4fe58c9"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"lmfA", "[", "\"\<RSquared\>\"", "]"}]], "Input",
CellChangeTimes->{{3.895850676232595*^9, 3.8958506784451036`*^9},
3.8966032649061003`*^9},
CellLabel->"In[15]:=",ExpressionUUID->"afb460ea-c1d7-4c64-aed3-45f45901a841"],
Cell[BoxData["0.14590325067263388`"], "Output",
CellChangeTimes->{3.895850679329299*^9, 3.895852642117367*^9,
3.895854671198848*^9, 3.896022799837584*^9, 3.89660326544491*^9},
CellLabel->"Out[15]=",ExpressionUUID->"ca6037ed-63b1-476b-94db-05e073dc4e7d"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"lmfA", "[", "\"\<ANOVATable\>\"", "]"}]], "Input",
CellChangeTimes->{{3.895850549421999*^9, 3.895850550059575*^9},
3.8966032678582087`*^9},
CellLabel->"In[16]:=",ExpressionUUID->"f84a1fe9-915a-4fb5-8fc4-0e6b053158f1"],
Cell[BoxData[
StyleBox[
TagBox[GridBox[{
{"\<\"\"\>", "\<\"DF\"\>", "\<\"SS\"\>", "\<\"MS\"\>", \
"\<\"F\[Hyphen]Statistic\"\>", "\<\"P\[Hyphen]Value\"\>"},
{"x", "1", "0.08778672552400746`", "0.08778672552400746`",
"1.3666203580569838`", "0.27604450313953566`"},
{"\<\"Error\"\>", "8", "0.513890928121807`", "0.06423636601522588`", "",
""},
{"\<\"Total\"\>", "9", "0.6016776536458145`", "", "", ""}
},
AutoDelete->False,
GridBoxAlignment->{"Columns" -> {{Left}}, "Rows" -> {{Automatic}}},
GridBoxDividers->{
"ColumnsIndexed" -> {2 -> GrayLevel[0.7]},
"RowsIndexed" -> {2 -> GrayLevel[0.7]}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
GridBoxSpacings->{
"ColumnsIndexed" -> {2 -> 1}, "RowsIndexed" -> {2 -> 0.75}}],
"Grid"], "DialogStyle",
StripOnInput->False]], "Output",
CellChangeTimes->{3.895850551139769*^9, 3.895852646781829*^9,
3.895854672485775*^9, 3.896603268632951*^9},
CellLabel->"Out[16]=",ExpressionUUID->"810f3efc-9742-4dc7-8aea-ce340368b257"]
}, Open ]],
Cell["Check Cook distances to identify highly influential points :", "Text",
CellChangeTimes->{{3.895851643740316*^9, 3.895851643741046*^9},
3.895851681679947*^9},ExpressionUUID->"4288e43f-4620-49ad-88a9-\
6c4c649d80b1"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"ListPlot", "[",
RowBox[{
RowBox[{"cdA", "=",
RowBox[{"lmfA", "[", "\"\<CookDistances\>\"", "]"}]}], ",",
RowBox[{"PlotRange", "\[Rule]",
RowBox[{"{",
RowBox[{"0", ",", "All"}], "}"}]}], ",",
RowBox[{"Filling", "\[Rule]", "0"}], ",",
RowBox[{"AxesLabel", "->",
RowBox[{"{",
RowBox[{"\"\<Ranking\>\"", ",", "\"\<Cook Distances\>\""}], "}"}]}], ",",
RowBox[{
"PlotLabel", "->", "\"\<Phase A: Cook Distances for All Ten Points\>\""}],
",",
RowBox[{"ImageSize", "->", "\"\<Large\>\""}]}], "]"}]], "Input",
CellChangeTimes->{
3.895851137487255*^9, {3.895852608234065*^9, 3.895852610866363*^9}, {
3.8959356505936193`*^9, 3.8959357361221848`*^9}, {3.89660332156845*^9,
3.8966033230721703`*^9}, {3.896603498765698*^9, 3.8966035016169662`*^9}},
CellLabel->"In[26]:=",ExpressionUUID->"3169bca6-141e-4c90-ac67-a5f1c93d6171"],
Cell[BoxData[
GraphicsBox[{{}, GraphicsComplexBox[CompressedData["
1:eJxTTMoPSmViYGCQA2IQDQEf7PMr23O5Z96yhwo4mDCJe75Pr4LyORyeuVYs
CahbCOULODyyKOwIelMP5Ys4SFdk5uTN3ADlSzgIRPw8eWr9MShfxuGoCXtb
38waKF/B4ZyBz6uSI5ugfCWH+6IsB1UeH4HyVRx83Nd/Std/ZA9zHwMqcEDl
cqDxBdD4Imh8CTS+DBpfAY2vhMZXQeMP3vADANl/WeE=
"], {{{}, {}, {}, {},
{RGBColor[0.368417, 0.506779, 0.709798], Opacity[0.3], LineBox[{11, 1}],
LineBox[{12, 2}], LineBox[{13, 3}], LineBox[{14, 4}],
LineBox[{15, 5}], LineBox[{16, 6}], LineBox[{17, 7}], LineBox[{18, 8}],
LineBox[{19, 9}], LineBox[{20, 10}]}},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[
0.012833333333333334`], AbsoluteThickness[1.6],
PointBox[{21, 22, 23, 24, 25, 26, 27, 28, 29, 30}]}}], {{}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{
FormBox[
TagBox["\"Ranking\"", HoldForm], TraditionalForm],
FormBox[
TagBox["\"Cook Distances\"", HoldForm], TraditionalForm]},
AxesOrigin->{0., 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->"Large",
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.528488, 0.470624, 0.701351],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.772079, 0.431554, 0.102387],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.363898, 0.618501, 0.782349],
AbsoluteThickness[1.6]],
Directive[
RGBColor[1, 0.75, 0],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.647624, 0.37816, 0.614037],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.571589, 0.586483, 0.],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.915, 0.3325, 0.2125],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.40082222609352647`, 0.5220066643438841, 0.85],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.736782672705901, 0.358, 0.5030266573755369],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.28026441037696703`, 0.715, 0.4292089322474965],
AbsoluteThickness[1.6]]}, "DomainPadding" -> Scaled[0.02],
"PointSizeFunction" -> "SmallPointSize", "RangePadding" -> Scaled[0.05],
"OptimizePlotMarkers" -> True, "OptimizePlotMarkers" -> True,
"CoordinatesToolOptions" -> {"DisplayFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& ), "CopiedValueFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& )}},
PlotLabel->FormBox[
"\"Phase A: Cook Distances for All Ten Points\"", TraditionalForm],
PlotRange->{{0., 10.}, {0., 0.56828687095024}},
PlotRangeClipping->True,
PlotRangePadding->{{
Scaled[0.02],
Scaled[0.02]}, {0,
Scaled[0.05]}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{
3.89585113903015*^9, 3.8958526123393784`*^9, 3.895852658896804*^9,
3.895854682072444*^9, {3.89593570313538*^9, 3.895935737049198*^9},
3.896603325934116*^9, 3.896603502042883*^9},
CellLabel->"Out[26]=",ExpressionUUID->"1d475a60-90c5-46b7-9124-53d11a8bd012"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Position", "[",
RowBox[{"cdA", ",",
RowBox[{"_", "?",
RowBox[{"(",
RowBox[{
RowBox[{"#", ">", ".5"}], "&"}], ")"}]}]}], "]"}]], "Input",
CellChangeTimes->{
3.895852688822961*^9, {3.895853856518923*^9, 3.8958538668649282`*^9},
3.896603333450967*^9},
CellLabel->"In[18]:=",ExpressionUUID->"ae463eee-a536-48fc-969b-bfd7595538e1"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"{", "10", "}"}], "}"}]], "Output",
CellChangeTimes->{{3.8958526738012857`*^9, 3.895852689549605*^9}, {
3.895853857230835*^9, 3.895853867508194*^9}, 3.895854629504525*^9,
3.896603334095231*^9},
CellLabel->"Out[18]=",ExpressionUUID->"4958a402-5555-419c-952b-6c36f9d36283"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"QuantilePlot", "[",
RowBox[{
RowBox[{"lmfA", "[", "\"\<StandardizedResiduals\>\"", "]"}], ",",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"InverseCDF", "[",
RowBox[{
RowBox[{"NormalDistribution", "[", "]"}], ",", "q"}], "]"}], ",",
RowBox[{"{",
RowBox[{"q", ",",
RowBox[{"1", "/", "100"}], ",",
RowBox[{"99", "/", "100"}], ",",
RowBox[{"1", "/", "50"}]}], "}"}]}], "]"}], ",",
RowBox[{
"PlotLabel", "->", "\"\<Quantized Plot of Studentized Residuals\>\""}],
",",
RowBox[{"ImageSize", "->", "Large"}]}], "]"}]], "Input",
CellChangeTimes->{
3.895852725817101*^9, {3.89660334268369*^9, 3.896603384498968*^9},
3.896603482696044*^9},
CellLabel->"In[25]:=",ExpressionUUID->"fdea3fe1-211f-40cc-94ec-692d1afc8332"],
Cell[BoxData[
GraphicsBox[{{}, {
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.012833333333333334`],
AbsoluteThickness[1.6],
PointBox[{{-1.4757910281791706`, -1.4674836089538703`}, \
{-0.9541652531461945, -1.254938863121261}, {-0.6744897501960819, \
-0.9935045652603192}, {-0.38532046640756773`, -0.5660930323152862}, \
{-0.125661346855074, -0.32693347104033793`}, {0.125661346855074,
0.19747185510586862`}, {0.38532046640756773`, 0.30944848146151993`}, {
0.6744897501960819, 0.8292159164412382}, {0.9541652531461945,
1.0625437911479445`}, {1.4757910281791706`, 1.7567176301934402`}}]},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.012833333333333334`],
AbsoluteThickness[1.6], Dashing[{0, Small}],
PointBox[{{-1.0252774984970157`, -1.4674836089538703`}, {
1.3609256634318359`, 1.7567176301934404`}}]}}, {{}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{False, False},
AxesLabel->{None, None},
AxesOrigin->{0, 0},
DisplayFunction->Identity,
Epilog->{{},
StyleBox[
LineBox[{{-1.0252774984970157`, -1.4674836089538703`}, {
1.3609256634318359`, 1.7567176301934404`}}], {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6],
Dashing[{0, Small}]]}, StripOnInput -> False]},
Frame->{{True, True}, {True, True}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->Large,
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.528488, 0.470624, 0.701351],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.772079, 0.431554, 0.102387],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.363898, 0.618501, 0.782349],
AbsoluteThickness[1.6]],
Directive[
RGBColor[1, 0.75, 0],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.647624, 0.37816, 0.614037],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.571589, 0.586483, 0.],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.915, 0.3325, 0.2125],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.40082222609352647`, 0.5220066643438841, 0.85],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.736782672705901, 0.358, 0.5030266573755369],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.28026441037696703`, 0.715, 0.4292089322474965],
AbsoluteThickness[1.6]]}, "DomainPadding" -> Scaled[0.02],
"PointSizeFunction" -> "SmallPointSize", "RangePadding" -> Scaled[0.05],
"OptimizePlotMarkers" -> True, "OptimizePlotMarkers" -> True,
"CoordinatesToolOptions" -> {"DisplayFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& ), "CopiedValueFunction" -> ({
Identity[
Part[#, 1]],
Identity[
Part[#, 2]]}& )}},
PlotLabel->FormBox[
"\"Quantized Plot of Studentized Residuals\"", TraditionalForm],
PlotRange->{{-1.4757910281791706`,
1.4757910281791706`}, {-1.4674836089538703`, 1.7567176301934402`}},
PlotRangeClipping->True,
PlotRangePadding->{{0, 0}, {0, 0}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{3.895852726805294*^9, 3.895854642874155*^9,
3.895854691198476*^9, 3.896603344184568*^9, 3.896603385276579*^9,
3.8966034835289497`*^9},
CellLabel->"Out[25]=",ExpressionUUID->"11d94258-420e-4323-a0a2-00d4c43c1b65"]
}, Open ]],
Cell["\<\
Use DFFITS values to assess the influence of each point on the fitted values :\
\>", "Text",
CellChangeTimes->{{3.8958516556901913`*^9,
3.895851685096264*^9}},ExpressionUUID->"b868e0e4-44ac-40b6-bbbb-\
edfb22716900"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"ListPlot", "[",
RowBox[{
RowBox[{"lmfA", "[", "\"\<FitDifferences\>\"", "]"}], ",",
RowBox[{"PlotRange", "\[Rule]", "All"}], ",",
RowBox[{"Filling", "\[Rule]", "0"}], ",",
RowBox[{"\"\<PlotLabel\>\"", "->", "\"\<Phase A: DFFITS\>\""}], ",",
RowBox[{"AxesLabel", "->",
RowBox[{"{",
RowBox[{"\"\<Ranking\>\"", ",", "\"\<DFFITS\>\""}], "}"}]}], ",",
RowBox[{"ImageSize", "->", "Large"}]}], "]"}]], "Input",
CellChangeTimes->{
3.895851396257715*^9, 3.896603359802443*^9, {3.896603405663335*^9,
3.896603472693832*^9}},
CellLabel->"In[24]:=",ExpressionUUID->"13ef11c2-1e11-4130-9abb-f04ef58e2feb"],
Cell[BoxData[
GraphicsBox[{{}, GraphicsComplexBox[CompressedData["
1:eJxTTMoPSmViYGCQA2IQDQEf7Bluhkt3Fb/bDxVw4AvxjWN02m0P4XI4rLUX
f8L+6TxUXsAhL+BMZJTkPihfxOFRT94rW+frUPUSDhmW/Szee59B+TIO3m9Z
peQr9kD5Cg4V69dUKP6CqVdymHE8+vB850dQ81QcpiTn+auv+rQf7j5U4IDK
5UDjC6DxRdD4Emh8GTS+AhpfCY2vgsYfvOEHAHz7XBs=
"], {{{}, {}, {},
{RGBColor[0.368417, 0.506779, 0.709798], Opacity[0.3], LineBox[{11, 1}],
LineBox[{13, 3}], LineBox[{14, 4}], LineBox[{19, 9}],
LineBox[{20, 10}]},
{RGBColor[0.368417, 0.506779, 0.709798], Opacity[0.3], LineBox[{12, 2}],
LineBox[{15, 5}], LineBox[{16, 6}], LineBox[{17, 7}],
LineBox[{18, 8}]}},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[
0.012833333333333334`], AbsoluteThickness[1.6],
PointBox[{21, 22, 23, 24, 25, 26, 27, 28, 29, 30}]}}], {{}, {}}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{
FormBox[
TagBox["\"Ranking\"", HoldForm], TraditionalForm],
FormBox[
TagBox["\"DFFITS\"", HoldForm], TraditionalForm]},
AxesOrigin->{0.8125000000000021, 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->Large,
Method->{
"AxisPadding" -> Scaled[0.02], "DefaultBoundaryStyle" -> Automatic,
"DefaultGraphicsInteraction" -> {
"Version" -> 1.2, "TrackMousePosition" -> {True, False},
"Effects" -> {
"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2},
"Droplines" -> {
"freeformCursorMode" -> True,
"placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultMeshStyle" ->
AbsolutePointSize[6], "DefaultPlotStyle" -> {
Directive[
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.880722, 0.611041, 0.142051],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.560181, 0.691569, 0.194885],
AbsoluteThickness[1.6]],
Directive[
RGBColor[0.922526, 0.385626, 0.209179],
AbsoluteThickness[1.6]],