Real Statistics Examples Basics
Real Statistics Examples Basics
Excel Environment
Real Statistics Environment
Probability Functions
Descriptive Statistics
Hypothesis Testing
Appendix
Table of Contents
Excel Environment
Excel spreadsheets
Charts
Goal Seek
Reformatting data
Miscellaneous functions
Step chart
Probability Functions
Descriptive Statistics
Measures of variability
Measures of shape
Ranking
Histogram
Box plots
Dot Plots
ROC
Indices of Diversity
Hypothesis Testing
Statistical power
Familywise error
Appendix
Gamma function
Excel Capabilities
Built-in functions
Reformatting tools
Table lookup
Sampling
Basic concepts
Matrix operations
Newton's method
Colors
Interpolation
Bitwise calculations
Text strings
Real Statistics Using Excel - Examples Workbook Basics
Charles Zaiontz, 16 November 2019
Table of Contents
Excel Environment
Excel spreadsheets
Sample Excel worksheet (Figure 1)
Charts
Bar Chart (Example 1)
Line Chart (Example 2)
Line Chart (Example 3)
Scatter Chart (Example 4)
Step Chart (Example 5)
Goal Seek
Square root example (Example 1)
Reformatting data
Sorting, removing duplicates, etc. (Example 1)
Sort and extract unique (Example 2)
MERGE, DELErr and SEQ (Example 3)
Sort using data analysis tool (Example 3)
Delete Row
Miscellaneous functions
Examples of miscellaneous Real Statistics functions
Step chart
Real Statistics data analysis tool
Probability Functions
Descriptive Statistics
Measures of variability
Variance, standard deviation, etc. (Examples 1,2, 5-9)
Column variance and standard deviation (Examples 3)
Combining two or more samples (Example 4)
Measures of shape
Skewness and kurtosis (Examples 1, 2)
Chi-square distribution (Figure 1)
Kurtosis and skewness (Figure 2)
Ranking
Various ranking and percentile functions (Examples 1-4, 6, 8, 10)
Real Statistics RANK_AVG vs. Excel RANK.AVG function (Figure 3)
RANKCOL function
Rank and Percentile data analysis tool (Example 5)
PERCENTRANK.INC vs. PERCENTRANK.EXC (Example 7)
PERCENTILE.INC vs. PERCENTILE.EXC (Example 9)
Histogram
Histogram data analysis tool (Example 1)
Real Statistics Histogram data analysis tool (Example 2)
Box plots
Box Plot (Example 1)
Box Plot (Example 1 using .EXC)
Box Plot with negative data
Box plot with outliers
Dot Plots
Dot Plot (manual)
Dot Plot (Real Statistics)
Indices of Diversity
Shannon's Index (Example 1)
Brillouin's Index (Example 2)
Simpson's Index (Example 3)
Real Statistics data analysis tool
Hypothesis Testing
Statistical power
Power table (Figure 1)
Familywise error
Bonferroni and Dunn/Sidàk tests
Holm and Hochberg tests
Benjamini-Hochberg test
Benjamini-Yekutieli test
Real Statistics data analysis tool (Benjamini-Hochberg + Dunn/Sidàk)
Appendix
Gamma function
Gamma function with negative values and incomplete gamma function
Excel Capabilities
Built-in functions
Unique counting (Figure 7)
SUMIF and COUNTIF (Figure 8)
Table lookup functions (esp. MATCH)
Two-dimensional table lookup
Reformatting tools
Reformatting (Example 1)
Remove missing data (Example 2)
Table lookup
Table Lookup (Example 1)
Table Lookup (Example 2)
Table Lookup (Example 3)
Table Lookup (Example 4)
Sampling
Sampling without replacement
Sampling with replacement
Basic concepts
Length of a vector (Example 2)
Diagonal of a square matrix (Example 3)
Matrix operations
Inverse of a matrix (Example 1)
Matrix Power
Real Statistics Matrix data analysis tool (Example 2)
Newton's method
Newton's Method for one equation (Example 1)
Newton's Method for multiple equations (Example 2)
Newton's Method for one equation (Example 2)
Colors
Color list
Color functions
Interpolation
Interpolation examples
Bitwise calculations
Bitwise calculations
Text strings
TEXT_JOIN and TEXT_REVERSE
Results of Marketing Campaign
(sales in millions of euros)
Brand A
Brand B
Brand C
Age Income
31 23500 Average Income by Age
32 24000
45,000
33 25000
40,000
Income ($000)
34 26700
35,000
35 27500
30,000
36 29200
25,000
37 33000 20,000
38 35100 31 32 33 34 35 36 37 38 39 40
39 37400 Age
40 39500
Average Income and Rent by Age
Amount ($000)
30,000
35 27500 6000
25,000 Income
36 29200 7500 20,000 Rent
37 33000 8000 15,000
38 35100 9000 10,000
39 37400 7000 5,000
0
40 39500 12000 31 32 33 34 35 36 37 38 39 40
Age
Income
0
Scatter Plot
Operating Performance by District
District Cost Revenue
180
E 50 74
160
NE 78 95
140
NW 65 87
120
Revenue ($M)
SE 112 156
100
SW 32 54
80
W 101 142
60
40
20
0
20 30 40 50 60 70 80 90 100 110 120
Cost ($M)
ct
10
8
6
4
2
0
0 2 4 6 8 10 12
Year
Equipment Sales
Area Code Population Area Code 345 378 678 712 815
345 230000 Population 230000 340000 145000 235900 195000
378 340000
678 145000
712 235900
815 195000
Sort and Filter Sort by Income
Filter
### ###
### ###
### ###
###
### ###
### ###
### ###
Input range ###
#NAME?
#NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME?
Sort Rows without duplicates
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
=CountRowsUnique(A3:B14)
#NAME?
Sort Rows #NAME?
State Poverty Infant Mort White Crime Doctors Traf Deaths University Unemploy
Alabama 15.7 9.0 71.0 448 218.2 1.81 22.0 5.0
Alaska 8.4 6.9 70.6 661 228.5 1.63 27.3 6.7
Arizona 14.7 6.4 86.5 483 209.7 1.69 25.1 5.5
Arkansas 17.3 8.5 80.8 529 203.4 1.96 18.8 5.1
California 13.3 5.0 76.6 523 268.7 1.21 29.6 7.2
Colorado 11.4 5.7 89.7 348 259.7 1.14 35.6 4.9
Connecticut 9.3 6.2 84.3 256 376.4 0.86 35.6 5.7
Delaware 10.0 8.3 74.3 689 250.9 1.23 27.5 4.8
Florida 13.2 7.3 79.8 723 247.9 1.56 25.8 6.2
Georgia 14.7 8.1 65.4 493 217.4 1.46 27.5 6.2
Hawaii 9.1 5.6 29.7 273 317.0 1.33 29.1 3.9
Idaho 12.6 6.8 94.6 239 168.8 1.60 24.0 4.9
Illinois 12.2 7.3 79.1 533 280.2 1.16 29.9 6.5
Indiana 13.1 8.0 88.0 334 216.9 1.26 22.9 5.9
Iowa 11.5 5.1 94.2 295 189.3 1.42 24.3 4.1
Kansas 11.3 7.1 88.7 453 222.5 1.38 29.6 4.4
Kentucky 17.3 7.5 89.9 295 232.3 1.80 19.7 6.4
Louisiana 17.3 9.9 64.8 730 262.7 2.17 20.3 4.6
Maine 12.3 6.3 96.4 118 278.4 1.22 25.4 5.4
Income State Poverty Infant MorDoctors Traf DeathIncome
42,666 Alabama 15.7 9 218.1734 1.81 42666
68,460 Alaska 8.4 6.9 228.4503 1.63 68460
50,958 Arizona 14.7 6.4 209.6666 1.69 50958
38,815 Arkansas 17.3 8.5 203.4229 1.96 38815
61,021 California 13.3 5 268.6906 1.21 61021
56,993 Colorado 11.4 5.7 259.6861 1.14 56993
68,595 Connecticu 9.3 6.2 376.3753 0.86 68595
57,989 Delaware 10 8.3 250.9418 1.23 57989
47,778 Florida 13.2 7.3 247.8636 1.56 47778
50,861 Georgia 14.7 8.1 217.4457 1.46 50861
67,214 Hawaii 9.1 5.6 316.9829 1.33 67214
47,576 Idaho 12.6 6.8 168.8339 1.6 47576
56,235 Illinois 12.2 7.3 280.1539 1.16 56235
47,966 Indiana 13.1 8 216.9397 1.26 47966
48,980 Iowa 11.5 5.1 189.2832 1.42 48980
50,177 Kansas 11.3 7.1 222.5477 1.38 50177
41,538 Kentucky 17.3 7.5 232.3485 1.8 41538
43,733 Louisiana 17.3 9.9 262.6615 2.17 43733
46,581 Maine 12.3 6.3 278.3948 1.22 46581
Select Columns =SelectCols(A3:D14,"2,3,1") =SelectCols(A3:D14,"3,2,1,4",1)
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
#NAME? ###
Miscellaneous Real Statistics Functions
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
51 #NAME?
Real Statistics Step Chart
Revenue
15
6 14 25 20
10
5
0
0 1 2 3 4 5 6 7
Year
Step Chart
Area A
Area B
Area C
3 4 5 6 7
Year
Probability calculation
n 12
p 0.166667
1-p 0.833333
(1-p)^n 0.112157
1-(1-p)^n 0.887843
Frequency/Distribution Functions
Frequency
### 0 #DIV/0! 0.5
### 0 #DIV/0! 0.4
0.3
0 #DIV/0! 0.2
0.1
0
#NAME? #NAME? #NAME?
Bin
Histogram
MEDIAN 3 2.5 4
MODE.SNGL 5 5 #VALUE!
MODE.MULT 5 5 #VALUE!
5 2 #VALUE!
If you earn 5% interest in year 1, 8% in year 2 and 10% interest in year 3, the average interest is given by the geometric mean
1.334025
0.074709263
0.074709263
% in year 2 and 10% interest in year 3, the average interest is given by the geometric mean
Int1
Int2
Int3
= 1 + Int1
= 1 + Int2
= 1 + Int3
= 1 + Int1
= (1 + Int1) * (1 + Int2)
= (1 + Int1) * (1 + Int2) * (1 + Int3)
= (1.05)(1.05)(1.1)(1.1)
= 1.334025 ^ 0.25 -1
= GEOMEAN(1.05,1.05,1.1,1.1) - 1
Measures of Variability
5 5
2 2
-1 -1
3 3
4 4
5 5
0 0
2 2
n x̄ s2 x nx̄2 (n-1)s2 x2
Sample 1 23 12 100 276 3312 2200 5512
Sample 2 15 14 144 210 2940 2016 4956
Sample 3 20 15 256 300 4500 4864 9364
58 13.55172 161.0587 786 10752 9080 19832
2.8
6.6
PercentRank
EXC
0.66666
0.7
0.36875
Rank and Percentile Data analysis tool
Scores 54 67 34 54 94 55 32 45 87 64 39 60 Point
5
9
2
10
12
6
1
4
8
11
3
7
Data analysis tool PERCENTRANK.INC and PERCENTRANK.EXC PERCENTILE.INC
12.4 7 #NAME?
RANKCOL
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
Descriptive Statistics data analysis tool
#NAME?
#NAME?
lower upper f midpt fx fx2
0 4 3 2 6 12
4 10 1 7 7 49
10 20 2 15 30 450
20 30 1 25 25 625
7 68 1136
Σfx n x̄
68 7 9.7143
Alternative Version
Frequency Table
Descriptive Statistics
Mean 5.5
Standard Error 0.0730297
Median #NAME?
Mode 5.7
Standard Deviation 0.2828427
Sample Variance 0.08
Kurtosis -1.31044
Skewness -0.568211
Range 0.8
Maximum 5.8
Minimum 5.0
Sum 82.5
Count 15
Geometric Mean 5.4930869
Harmonic Mean 5.4860552
AAD 0.24
MAD #NAME?
IQR #NAME?
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
Real Statistics data analysis tool
KS Test
Bin Frequency
20 6 Histogram
40 10 15
60 2
Frequency
10
80 3 Frequency
5
More 1
0
20 40 60 80 More
Bin
Using FREQTABLE with bin size 15 Using Histogram and Normal Curve data analysis tool
Frequency
5
#NAME? #NAME? #NAME? 15 5 5 4
#NAME? #NAME? #NAME? 30 8 13 3
#NAME? #NAME? #NAME? 45 5 18 2
60 0 18 1
75 3 21 0
15
90 1 22
Frequency
5
#NAME? #NAME? #NAME? 25 8 11 4
#NAME? #NAME? #NAME? 40 5 16 3
#NAME? #NAME? #NAME? 55 2 18 2
#NAME? #NAME? #NAME? 70 2 20 1
#NAME? #NAME? #NAME? 85 1 21 0
10 25
100 1 22
Sm
Frequency
-100 -50
Frequenc
-100
-50
urve data analysis tool
9 Bin size 15
8
7
item freq
6
0
Frequency
5
4 15 5
3 30 8
2 45 5
1 60 0
0 75 3
15 30 45 60 75 90
90 1
Bin
Histogram
9
8
7
6
Frequency
5
4
3
2
1
0
10 25 40 55 70 85 100
Bin
5
4
3
2
1
0
-100 -50 0 50 100 150
Bin
Frequenc
5
4
3
2
1
0
-100 -50 0 50 100 150
Bin
freq table reformatted Statistics Normal curve overlay
4
0.006727 3
0.009001
2
0.011967
1
0.015809
0.020751 0
-40 -20 0 20 40 60 80 100
0.027063
0.035071 Bin
0.045159
0.057777
0.073448 Histogram
0.092776
0.116441 9
0.14521 8
7
0.179933
6
0.221536
Frequency
5
0.271018 4
0.329437 3
0.397893 2
0.47751 1
0.569401 0
-100 -50 0 50 100 150
0.674643
0.794239 Bin
0.92907
1.079857
1.24711
1.431079
1.631711
1.848601
2.080959
2.327579
2.586819
2.856591
3.134372
3.417225
3.701836
3.984568
4.261533
4.528673
4.781857
5.016984
5.230092
5.41747
5.575761
5.702068
5.794035
5.849925
5.868675
5.849925
5.794035
5.702068
5.575761
5.41747
5.230092
5.016984
4.781857
4.528673
4.261533
3.984568
3.701836
3.417225
3.134372
2.856591
2.586819
2.327579
2.080959
1.848601
1.631711
1.431079
1.24711
1.079857
0.92907
0.794239
0.674643
0.569401
0.47751
0.397893
0.329437
0.271018
0.221536
0.179933
0.14521
0.116441
0.092776
0.073448
0.057777
0.045159
0.035071
0.027063
0.020751
0.015809
0.011967
0.009001
0.006727
0.004996
0.003686
0.002703
0.001969
Frequency Table freq table reformatted Statistics
x normal scaled
-56.50402 5.966E-06 0.001969
-54.7094 8.189E-06 0.002703
-52.91477 1.117E-05 0.003686
-51.12015 1.514E-05 0.004996
-49.32552 2.039E-05 0.006727
-47.53089 2.728E-05 0.009001
-45.73627 3.626E-05 0.011967
-43.94164 4.791E-05 0.015809
-42.14702 6.288E-05 0.020751
-40.35239 8.201E-05 0.027063
-38.55776 0.000106 0.035071
-36.76314 0.000137 0.045159
-34.96851 0.000175 0.057777
-33.17389 0.000223 0.073448
-31.37926 0.000281 0.092776
-29.58464 0.000353 0.116441
-27.79001 0.00044 0.14521
-25.99538 0.000545 0.179933
-24.20076 0.000671 0.221536
-22.40613 0.000821 0.271018
-20.61151 0.000998 0.329437
-18.81688 0.001206 0.397893
-17.02225 0.001447 0.47751
-15.22763 0.001725 0.569401
-13.433 0.002044 0.674643
-11.63838 0.002407 0.794239
-9.84375 0.002815 0.92907
-8.049124 0.003272 1.079857
-6.254498 0.003779 1.24711
-4.459872 0.004337 1.431079
-2.665246 0.004945 1.631711
-0.87062 0.005602 1.848601
0.924006 0.006306 2.080959
2.718632 0.007053 2.327579
4.513258 0.007839 2.586819
6.307884 0.008656 2.856591
8.10251 0.009498 3.134372
9.897136 0.010355 3.417225
11.69176 0.011218 3.701836
13.48639 0.012074 3.984568
15.28101 0.012914 4.261533
17.07564 0.013723 4.528673
18.87027 0.01449 4.781857
20.66489 0.015203 5.016984
22.45952 0.015849 5.230092
24.25414 0.016417 5.41747
26.04877 0.016896 5.575761
27.84339 0.017279 5.702068
29.63802 0.017558 5.794035
31.43265 0.017727 5.849925
33.22727 0.017784 5.868675
35.0219 0.017727 5.849925
36.81652 0.017558 5.794035
38.61115 0.017279 5.702068
40.40578 0.016896 5.575761
42.2004 0.016417 5.41747
43.99503 0.015849 5.230092
45.78965 0.015203 5.016984
47.58428 0.01449 4.781857
49.37891 0.013723 4.528673
51.17353 0.012914 4.261533
52.96816 0.012074 3.984568
54.76278 0.011218 3.701836
56.55741 0.010355 3.417225
58.35204 0.009498 3.134372
60.14666 0.008656 2.856591
61.94129 0.007839 2.586819
63.73591 0.007053 2.327579
65.53054 0.006306 2.080959
67.32517 0.005602 1.848601
69.11979 0.004945 1.631711
70.91442 0.004337 1.431079
72.70904 0.003779 1.24711
74.50367 0.003272 1.079857
76.2983 0.002815 0.92907
78.09292 0.002407 0.794239
79.88755 0.002044 0.674643
81.68217 0.001725 0.569401
83.4768 0.001447 0.47751
85.27142 0.001206 0.397893
87.06605 0.000998 0.329437
88.86068 0.000821 0.271018
90.6553 0.000671 0.221536
92.44993 0.000545 0.179933
94.24455 0.00044 0.14521
96.03918 0.000353 0.116441
97.83381 0.000281 0.092776
99.62843 0.000223 0.073448
101.4231 0.000175 0.057777
103.2177 0.000137 0.045159
105.0123 0.000106 0.035071
106.8069 8.201E-05 0.027063
108.6016 6.288E-05 0.020751
110.3962 4.791E-05 0.015809
112.1908 3.626E-05 0.011967
113.9854 2.728E-05 0.009001
115.7801 2.039E-05 0.006727
117.5747 1.514E-05 0.004996
119.3693 1.117E-05 0.003686
121.1639 8.189E-06 0.002703
122.9586 5.966E-06 0.001969
Boxplot (aka box and whiskers plot) Using QUARTILE
0
Brand A
Box Plot
600
400
200
0
Brand A Brand B Brand C
Box Plot
1400
1200
1000
800
600
400
200
0
Brand A Brand B Brand C
Boxplot - Alternative Approach Using QUARTILE.INC
0
Brand A
Using QUARTILE.EXC
800
600
400
200
0
Brand A
1400
1200
1000
800
600
400
200
0
Brand A Brand B Brand C
1600
1400
1200
1000
800
600
400
200
0
Brand A Brand B Brand C
Boxplot with negative data
Box Plot
B
Brand A Brand B Brand C
Min 680 0 730
Q1-Min 125 712.5 305
Med-Q1 220 292.5 170
Q3-Med 272.5 160 427.5
Max-Q3 562.5 985 417.5
Mean 1084 996 1310
Brand A Br
Box Plot
2100
1900
1700
1500
1300
1100
900
700
500
300
100
-100
-300
Brand A Brand B Brand C
Box Plot
2100
1900
1700
1500
1300
1100
900
700
500
300
100
-100
-300
Brand A Brand B Brand C
Boxplot (aka box and whiskers plot)
Multiplier 1.5
Brand A Brand B Brand C
1020 840 1430 Brand A Brand B Brand C
1560 940 1750 Min 380 300 430 B
560 780 870 Q1-Min 142.5 185 342.5
2000
780 650 920 Med-Q1 202.5 220 132.5
1800
990 720 1300 Q3-Med 237.5 120 332.5
1600
670 430 890 Max-Q3 597.5 115 512.5
1400
510 1850 740 Mean 784 756 1010
1200
490 300 720 1000
380 360 430 Min 380 300 430 800
880 690 1050 Q1 522.5 485 772.5 600
Median 725 705 905 400
Q3 962.5 825 1237.5 200
Max 1560 940 1750 0
Mean 784 756 1010 Brand A
Grand Min 0
Grand Min 0
Outliers 1850
-300
Indentifying Outliers
Box Plot
1850
-300
Box Plot
2450
1950
1450 1900
-250
950
100
450
-50
nd A Brand B Brand C
-550
Dot Plot
ROC Table
Observed Cumulative
Dosage Lives Dies Lives Dies FPR TPR AUC
R
0 0 1 1 0.064516 Fail-Pred
1
less than 2.00 34 3 34 3 0.935484 0.989247 0.118259 0.9
Suc-Pred
0.8
2.00 - 3.99 63 7 97 10 0.815939 0.964158 0.160998
ROC Table
ROC Table
Classification Table
Fail-Obs Suc-Obs
Fail-Pred 413 58 471
Suc-Pred 114 221 335
527 279 806
Cutoff 5
ROC Curve
Classification Table 1
0.9
0.8
Fail-Obs Suc-Obs
True Positive Rate
0.7
Fail-Pred 413 58 471 0.6
Suc-Pred 114 221 335 0.5
0.4
0.3
0.2
0.1
0
0.9
0.8
ROC Curve
1
0.9
0.8
True Positive Rate
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
False Positive Rate
Classification Table
urve
n1 527
n2 279
AUC 0.889515
q0 0.098278 #NAME?
q1 0.009778 #NAME?
q2 0.046266 #NAME?
se 0.011096 #NAME?
alpha 0.05 #NAME?
z-crit 1.959964 =NORM.S.INV(1-B10/2)
lower 0.867767 #NAME?
upper 0.911263 #NAME?
5.142857 #NAME?
M-estimators
H' 0.287276
max H' 0.69897
J' 0.410999
Brillouin’s Index of Diversity
H 0.460008 #NAME?
k 5 #NAME?
c 6 #NAME?
d 2 #NAME?
max H 0.607604 see below
J 0.757085 #NAME?
max H #NAME?
Diversity Indices
# of eleme 32
# of catego 5
H 0.607604
k 5
c 6
d 2
max H 0.607604
J 1
Simpson's Index of Diversity Real Statistics data analysis tool
25
5
Alpha
Power Effect Size 0.05 0.01
0.80 0.2 199 296
0.80 0.5 34 51
0.80 0.8 15 22
0.90 0.2 265 376
0.90 0.5 44 63
0.90 0.8 19 27
0.95 0.2 327 449
0.95 0.5 54 75
0.95 0.8 23 32
Bonferroni and Dunn-Sidàk Corrections Holm's and Hochberg Approach
FDR 0.05
k 6
x f(x)
-5 25
-4.9 24.01 𝒚 = 𝒇(𝒙)
-4.8 23.04
25
-4.7 22.09 20
-4.6 21.16 15
10
-4.5 20.25 5
-4.4 19.36 0
y-axis
-4.3 18.49 -5 4.5 -4 3.5 -3 2.5 -2 1.5 -1 01 0 .5 1 .5 2 .5 3 .5 4 .5 5
- - - - 0 1 2 3 4
-4.2 17.64 00
0 00
-4.1 16.81 0
0 00
-4 16 00
.50
-3.9 15.21 -0
-3.8 14.44
x-axis
-3.7 13.69
-3.6 12.96
-3.5 12.25
-3.4 11.56
-3.3 10.89
-3.2 10.24
-3.1 9.61
-3 9
-2.9 8.41
-2.8 7.84
-2.7 7.29
-2.6 6.76
-2.5 6.25
-2.4 5.76
-2.3 5.29
-2.2 4.84
-2.1 4.41
-2 4
-1.9 3.61
-1.8 3.24
-1.7 2.89
-1.6 2.56
-1.5 2.25
-1.4 1.96
-1.3 1.69
-1.2 1.44
-1.1 1.21
-1 1
-0.9 0.81
-0.8 0.64
-0.7 0.49
-0.6 0.36
-0.5 0.25
-0.4 0.16
-0.3 0.09
-0.2 0.04
-0.1 0.01
0 0
0.1 0.01
0.2 0.04
0.3 0.09
0.4 0.16
0.5 0.25
0.6 0.36
0.7 0.49
0.8 0.64
0.9 0.81
1 1
1.1 1.21
1.2 1.44
1.3 1.69
1.4 1.96
1.5 2.25
1.6 2.56
1.7 2.89
1.8 3.24
1.9 3.61
2 4
2.1 4.41
2.2 4.84
2.3 5.29
2.4 5.76
2.5 6.25
2.6 6.76
2.7 7.29
2.8 7.84
2.9 8.41
3 9
3.1 9.61
3.2 10.24
3.3 10.89
3.4 11.56
3.5 12.25
3.6 12.96
3.7 13.69
3.8 14.44
3.9 15.21
4 16
4.1 16.81
4.2 17.64
4.3 18.49
4.4 19.36
4.5 20.25
4.6 21.16
4.7 22.09
4.8 23.04
4.9 24.01
5 25
3 .5 4 .5 5
3 4
Gamma Function
x 5
#NAME? a 4
#NAME? lower #NAME? #NAME?
#NAME? upper #NAME? #NAME?
gamma #NAME? #NAME?
Status Sex Score Sex Sum
Married Male 23 Male 97
Married Female 34 Female 92
Single Male 38
Single Female 12 Status Sex Sum
Divorced Male 25 Married Male 23
Divorced Female 19 Divorced Female 19
Widowed Male 11
Widowed Female 27
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
a f g 6 p 4 #NAME?
y 56 Z 4 G 4 #NAME?
@ go ? 7 0 2 #NAME?
% Z stop @ z 1 #NAME?
3 #NAME?
f #NAME?
go #NAME?
6 #NAME?
6 #NAME?
4
7
@
@ go ? 7 #NAME?
Symbol Z
Row # 2 #NAME?
Col # 3 #NAME?
Symbol 7
Row # 3 #NAME?
Col # 4 #NAME?
Conversion from frequency table Real Statistics data analysis t
Alternative Version
Frequency Table
Mean 5.5
Standard Error 0.07303
Median #NAME?
Mode 5.7
Standard Deviation 0.282843
Sample Variance 0.08
Kurtosis -1.31044
Skewness -0.568211
Range 0.8
Maximum 5.8
Minimum 5.0
Sum 82.5
Count 15
Geometric Mean 5.493087
Harmonic Mean 5.486055
AAD 0.24
MAD #NAME?
IQR #NAME?
=N16/N17
=N9/SQRT(N17)
=MEDIAN(Freq2Raw(J6:J12,K6:K12))
=IF(COUNTIF(K6:K12,MAX(K6:K12))>1,#N/A,SUMIF(K6:K12,MAX(K6:K12),J6:J12))
=SQRT(N10)
=SUMPRODUCT((J6:J12-N5)^2,K6:K12)/(N17-1)
=N17*(N17+1)*SUMPRODUCT((J6:J12-N5)^4,K6:K12)/((N17-1)*(N17-2)*(N17-3)*N10^2)-3*(N17-1)^2/((N17-2)*(N17-3))
=N17*SUMPRODUCT((J6:J12-N5)^3,K6:K12)/((N17-1)*(N17-2)*N9^3)
=N14-N15
=MAX(J6:J12)
=MIN(J6:J12)
=SUMPRODUCT(J6:J12,K6:K12)
=SUM(K6:K12)
=PRODUCT(J6:J12^K6:K12)^(1/N17)
=N17/SUMPRODUCT(1/J6:J12*K6:K12)
=SUMPRODUCT(ABS(J6:J12-N5),K6:K12)/N17
=MAD(Freq2Raw(J6:J12,K6:K12))
=IQR(Freq2Raw(J6:J12,K6:K12))
Real Statistics data analysis tool
5 Frequency Table
5.1
5.2 Bin size
5.2
5.2 item
5.5 4.84
5.5 5
5.6 5.16
5.7 5.32
5.7 5.48
5.7 5.64
5.7 5.8
5.8
5.8
5.8
Frequency Table
freq prob
Histogram
0 #DIV/0! 1
#NAME? #NAME? 0.9
0.8
#NAME? #NAME? 0.7
#NAME? #NAME? 0.6
Frequency 0.5
#NAME? #NAME?
0.4
#NAME? #NAME?
0.3
#NAME? #NAME? 0.2
0 #DIV/0! 0.1
0
#NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
Bin
Frequency Table
Histogram
8
0.15 7
6
freq cum 5
Frequency
4
1 1 3
4 5 2
0 5 1
2 7 0
1 8 5.05 5.2 5.35 5.5 5.65 5.8
7 15 Bin
4
1 1 3
1 2 2
3 5 1
0
5 5.16 5.32 5.48 5.64 5.8
Bin
4
Frequ
3
2
1
0 5 0
5 5.16 5.32 5.48 5.64 5.8
3 8
7 15 Bin
FREQTABLE(H3:H17)
FREQTABLE(H21:35,.15)
FREQTABLE(H21:35,.16)
t1 t2 t3
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
Table Lookup
Method 1 Method 2
4 5 6 7 8 4 6
2 0.1250 0.1000 0.0833 0.0714 0.0625 a 0.1250 0.1000
3 0.0833 0.0666 0.0555 0.0476 0.0416 b 0.0833 0.0666
4 0.0625 0.0500 0.0416 0.0357 0.0312 c 0.0625 0.0500
5 0.0500 0.0400 0.0333 0.0285 0.0250 d 0.0500 0.0400
Method 3 Method 4
1 2 3 4 5 α = .10 4 5
1 0.1250 0.1000 0.0833 0.0714 0.0625 2 0.1250 0.1000
5 0.0833 0.0666 0.0555 0.0476 0.0416 3 0.0833 0.0666
10 0.0625 0.0500 0.0416 0.0357 0.0312 4 0.0625 0.0500
>10 0.0500 0.0400 0.0333 0.0285 0.0250 5 0.0500 0.0400
row 4 5 9 20 α = .05 4 5
col 2 2 4 4 2 0.0833 0.0667
rindex 1 2 2 3 3 0.0555 0.0444
lower 0.1000 0.0666 0.0476 0.0357 4 0.0417 0.0333
upper 0.0666 0.05 0.0357 0.0285 5 0.0333 0.0267
weight 0.75 0 0.8 1
value 0.07495 0.0666 0.03808 0.0285 α = .01 4 5
ilookup #NAME? #NAME? #NAME? #NAME? 2 0.0714 0.0571
3 0.0476 0.0381
4 0.0357 0.0286
5 0.0286 0.0229
row 4
col 5
α 0.05
offset 0
value 0.0333
12 20 30
0.0833 0.0714 0.0625
0.0555 0.0476 0.0416
0.0416 0.0357 0.0312
0.0333 0.0285 0.0250
d a z
12 6.1 30
4 1 #N/A
3 #N/A 5
0.0333 #N/A #N/A
#NAME? #NAME? #NAME?
6 7 8
0.0833 0.0714 0.0625
0.0555 0.0476 0.0416
0.0416 0.0357 0.0312
0.0333 0.0285 0.0250
6 7 8
0.0555 0.0476 0.0417
0.0370 0.0317 0.0277
0.0277 0.0238 0.0208
0.0222 0.0190 0.0167
6 7 8
0.0476 0.0408 0.0357
0.0317 0.0272 0.0238
0.0238 0.0204 0.0178
0.0190 0.0163 0.0143
5 4 5
8 5 8
0.05 0.1 0.01
0 -6 6
0.0167 0.0500 0.0143
Sampling without replacement Sampling with replacement
SHUFFLE
Pop Random Sample Pop Sample
2 0.157093 16 2 15 #NAME?
5 0.065701 22 5 2 #NAME?
7 0.420839 3 7 9 #NAME?
8 0.136594 18 8 9 #NAME?
9 0.228148 24 9 9 #NAME?
11 0.739846 8 11 20 #NAME?
15 0.527549 15 #NAME?
17 0.682117 17 #NAME?
20 0.257689 20 #NAME?
21 0.326217 21 #NAME?
1 0.429123 1 #NAME?
3 0.125268 3 #NAME?
6 0.725764 6 #NAME?
10 0.751753 10 #NAME?
12 0.900612 12 #NAME?
24 0.721091 24 #NAME?
16 0.408703 16 #NAME?
18 0.658831 18 #NAME?
19 0.957131 19 #NAME?
22 0.724397 22 #NAME?
=RANDOMIZE(E4:E23) =SHUFFLE(A4:A23)
Stress Level
8 45 78 48 117 25
9 12 20 22 24 20
10 16 22 26 29
15
11 35 56 22 102
10
12 24 26 21 23
5
13 9 12 20 23
0
14 3 9 13 16
Before 1 week 2 weeks
15 2 8 6 10
mean 18.13333 27.13333 23.66667 40.73333
std dev 16.15933 21.7317 12.08108 38.56806
s.e. 4.17232 5.6111 3.11932 9.95823
ss Levels by Week
A A'
6 0.738549
-1 -0.123091
2 0.246183
5 0.615457
length 8.124038 1
ATA 66
√ATA 8.124038
LENGTH #NAME?
Inverse of a matrix
A A-1
1 1 0.666667 -0.333333
-1 2 0.333333 0.333333
Matrix Power
A A^2 A^3
1 1 0 3 -3 6
-1 2 -3 3 -6 3
A A^2 A^3
2 1 4 2 1 2 #NAME?
0 4 7 5 2 4 #NAME?
8 5 9 0 3 9 #NAME?
7 6 8 3 4 3 #NAME?
Determinant
6 7 8 det -12
6 4 8
1 1 2
Determinant
Det Rule Det Rule
2 4 6 5 1 1 2 3 2.5 2 3 1
4 8 7 0 4 8 7 0 0
2 3 4 3 2 3 4 3 0
3 1 1 2 3 1 1 2 0
1 2 3 2.5 -2 2 1 2 3 2.5 2 3 1
0 -1 -2 -2 0 1 2 2 0
0 0 -5 -10 0 0 -5 -10 0
0 -5 -8 -5.5 0 -5 -8 -5.5 0
2 3 2.5 2 4
1 2 2
0 -5 -10
0 2 4.5
2 3 2.5 -5 2
1 2 2
0 1 2
0 0 1
Solving equations using Cramer's Rule
A C A-1C
1 2 0 x 0 -0.666667
-1 1 1 y 1 0.333333
1 2 3 z 0 0
x= -0.6666667
y= 0.3333333
z= 0
1 2 0
-1 1 1
1 2 3
det A = 9
0 2 0
1 1 1
0 2 3
det A1 = -6
1 0 0
-1 1 1
1 0 3
det A2 = 3
1 2 0
-1 1 1
1 2 0
det A3 = 0
Gaussian Elimination
Rule Rule
1 2 0 4 3 1 2 0 4 2 1 2 0 4
-1 2 1 3 0 4 1 7 0 1 0.25 1.75
1 1 3 -1 0 -1 3 -5 0 -1 3 -5
Rule Rule
1 0 -0.5 0.5 2 1 0 -0.5 0.5 3 1 0 0 0
0 1 0.25 1.75 0 1 0.25 1.75 0 1 0 2
0 0 3.25 -3.25 0 0 1 -1 0 0 1 -1
Rule Rule
1 2 4 0 3 1 2 4 0 1 1 2 4 0
-1 -2 1 0 0 0 5 0 0 -1 -2 0
1 1 2 0 0 -1 -2 0 0 0 5 0
Rule Rule
1 2 4 0 3 1 0 0 0 3 1 0 0 0
0 1 2 0 0 1 2 0 0 1 0 0
0 0 5 0 0 0 1 0 0 0 1 0
Rule Rule
1 1 2 0 3 1 1 2 0 2 1 1 2 0
-1 3 -4 0 0 4 -2 0 0 1 -0.5 0
1 -3 4 0 0 -4 2 0 0 4 -2 0
Rule
1 0 2.5 0 3
0 1 -0.5 0
0 0 0 0
Invert a matrix
Rule Rule
1 2 0 1 0 0 3 1 2 0 1 0 0 2
-1 2 1 0 1 0 0 4 1 1 1 0
1 1 3 0 0 1 0 -1 3 -1 0 1
Rule Rule
1 0 -0.5 0.5 -0.5 0 2 1 0 -0.5 0.5 -0.5 0 3
0 1 0.25 0.25 0.25 0 0 1 0.25 0.25 0.25 0
0 0 3.25 -0.75 0.25 1 0 0 1 -0.23 0.08 0.31
Rule
3
Rule
2
Rule
3
Rule
1 2 0 1 0 0 3
0 1 0.25 0.25 0.25 0
0 -1 3 -1 0 1
A C ELIM LINEQU
1 2 0 4 ### ### ### ### #NAME? ###
-1 2 1 3 ### ### ### ### #NAME? ###
0 1 -3 5 ### ### ### ### #NAME?
1 1 3 -1 ### ### ### ###
Err:502
Err:502
Err:502
Newton's Method
iter x iter 0 1
0 2 x 1 0.806824
1 1.238406 y 1 2.193176
2 0.858974 f(x,y) -1.718282 -0.047605
3 0.793598 g(x,y) -1 0
4 0.792061
5 0.79206 J -2.718282 1 -2.240781 1
6 0.79206 1 1 1 1
iter x x 0.79206
0 2 y 2.20794
1 7.25
2 5.349138
3 5.011394
4 5.000013
5 5
6 5
2 3 4
0.792135 0.79206 0.79206
2.207865 2.20794 2.20794
-0.000241 -6.21E-09 0
0 0 0
A I
11.60536 2.369643 -6.423214 -7.551786 1 0 0 0
2.369643 5.448214 -3.930357 -3.8875 0 1 0 0
-6.423214 -3.930357 5.233929 5.119643 0 0 1 0
-7.551786 -3.8875 5.119643 6.319643 0 0 0 1
Playoffs
Date Winner/tie H Loser/tie Pts W Pts L Diff Pred
Jan-05 Indianapolis Colts @ Houston Texans 21 7 14 -7.400205
Jan-05 Dallas Cowboys Seattle Seahawks 24 22 2 1.2994284
Jan-06 Los Angeles Chargers @ Baltimore Ravens 23 17 6 -3.413955
Jan-06 Philadelphia Eagles @ Chicago Bears 16 15 1 -7.283893
Jan-12 Kansas City Chiefs Indianapolis Colts 31 13 18 10.76055
Jan-12 Los Angeles Rams Dallas Cowboys 30 22 8 7.1735398
Jan-13 New England Patriots Los Angeles Chargers 41 28 13 5.8045539
Jan-13 New Orleans Saints Philadelphia Eagles 20 14 6 14.002749
Jan-20 Los Angeles Rams @ New Orleans Saints 26 23 3 -6.429494
Jan-20 New England Patriots @ Kansas City Chiefs 37 31 6 -0.615943
Feb-03 New England Patriots N Los Angeles Rams 13 3 10 0.7713284
MAE Tot Err Home Field 2.200466
3.8004153 2277.6084 Teams Pts
11.012166 Arizona Cardinals -7.773023
0.3369893 MAE Atlanta Falcons -0.353318
0.1453338 8.9317977 Baltimore Ravens 5.599786
0.0022756 Buffalo Bills -5.847589
12.670426 Carolina Panthers -1.82673
23.596928 Chicago Bears 4.729227
11.967085 Cincinnati Bengals -0.920841
30.352159 Cleveland Browns 1.53198
10.180901 Dallas Cowboys 2.245982
9.8722462 Denver Broncos -0.674559
14.174102 Detroit Lions -4.470773
4.6211127 Green Bay Packers -0.069699
3.5984603 Houston Texans 3.045517
36.033597 Indianapolis Colts -2.154223
5.538236 Jacksonville Jaguars -6.62329
15.320161 Kansas City Chiefs 6.405861
0.0011151 Los Angeles Chargers 4.386296
9.4721042 Los Angeles Rams 7.219056
3.3261216 Miami Dolphins -6.575542
4.2079601 Minnesota Vikings 2.129652
9.1165698 New England Patriots 7.990384
5.3937123 New Orleans Saints 11.44808
2.9665805 New York Giants -1.153331
14.608031 New York Jets -7.303904
4.1900616 Oakland Raiders -9.443175
0.0009179 Philadelphia Eagles -0.3542
16.807455 Pittsburgh Steelers 3.395457
9.9690819 San Francisco 49ers -3.672157
23.413208 Seattle Seahawks 3.14702
1.4002205 Tampa Bay Buccaneers -1.948378
3.2173263 Tennessee Titans -0.36291
7.0363497 Washington Redskins -1.746658
1.2784849
0.0004893 Mean 0
13.476493
8.7054227
2.9319009
11.399314
4.5251893
3.6009351
1.0599143
31.177707
6.9667745
7.8984959
8.3017839
26.260691
0.1433685
0.28987
3.7679895
0.0007271
16.11892
14.021644
0.808244
14.233608
29.121928
6.9172218
11.774688
5.7195765
8.2589201
4.5990519
11.996137
0.8799539
1.6549271
0.472933
0.7703822
2.1448334
18.050759
4.8673396
22.428879
4.2842133
10.200608
0.0299372
16.301332
0.1284305
1.7166147
6.159E-07
8.6047925
22.401335
3.7194616
12.104303
23.34615
10.949215
13.610272
2.1031409
1.2044738
4.8841683
4.0935721
2.6931484
17.237771
21.930261
0.7849891
2.8029245
30.102002
5.9496724
11.095698
7.6729969
5.9393096
26.106167
4.2798915
5.5316593
12.766911
2.6478315
20.309253
4.792174
25.472831
0.0004792
7.1784755
1.9313755
8.5826729
20.22605
0.2335974
9.7937932
0.228003
2.2808864
10.936057
8.9115143
7.4892211
4.900399
2.8820349
7.3624929
23.028517
11.677886
6.1991085
11.404795
24.807126
23.62365
13.326585
4.0711717
8.9611898
0.4803908
3.5705062
3.7394505
18.809358
23.577347
14.998746
4.3793502
0.599533
7.914236
26.831542
3.669534
31.744152
30.152828
2.3709953
10.293691
1.272502
6.6002845
3.6816398
2.4171854
5.7210931
2.601166
27.590847
0.5917084
1.4435769
0.0044868
3.8182808
8.2613215
5.870618
26.997251
0.1999583
0.0136607
0.0004655
1.8068935
0.0018675
0.9061784
14.747645
0.0238327
0.0004023
0.226716
0.2434263
14.075754
20.640215
8.8695493
3.6217853
2.6001827
11.391107
6.6820922
12.90379
6.2473626
15.954184
2.5274862
12.285997
4.5106372
4.9211816
8.2686015
6.6485695
5.1414602
5.9388016
17.980356
4.2096265
11.407075
12.539153
10.400205
0.4408238
2.8040049
0.0065419
25.607139
11.515915
13.36546
7.6567807
2.507604
6.7971323
12.898217
1.199352
13.638165
9.2893621
10.782166
5.2200311
1.148954
0.9939276
13.09434
0.0006072
1.7486298
16.379829
3.2772006
0.323834
0.1763497
18.410045
25.199739
7.6187112
9.3944612
16.773722
8.0743473
5.4157855
12.986977
0.9662617
0.6051735
3.1992499
3.3467127
14.727054
12.248215
0.1995747
13.600041
4.0384396
9.2083878
1.2009186
7.2530928
8.058375
19.568149
37.60154
2.6054062
5.1307269
0.198847
22.071581
34.47528
17.505246
13.600891
24.808008
10.120509
3.5167642
2.9083206
13.950498
4.2682721
11.139611
19.991779
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
Prime Numbers
0101101 01100
45 #NAME? 10101
101101 #NAME? 12 #NAME?
21 #NAME?
90 #NAME?
1011010 #NAME? 11101 #NAME?
22 #NAME? 11001 #NAME?
10110 #NAME? 100 #NAME?
Spearman's Rho
n 20
α 0.02 #NAME? #NAME?
α 0.05 #NAME? #NAME?
α-linear 0.025 #NAME? #NAME? #NAME?
α-log 0.025 #NAME? #NAME? #NAME?
α-harmonic 0.025 #NAME? #NAME?
#NAME?
#NAME?