Professional Documents
Culture Documents
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
Real Statistics Using Excel - Examples Workbook Basics
Charles Zaiontz, 14 May 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)
Sort using data analysis tool (Example 3)
Sequence (SEQ)
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, 6-10)
Column variance and standard deviation (Examples 3)
Combining two samples (Example 4)
Combining two or more samples (Example 5)
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
Rank and Percentile data analysis tool (Example 5)
PERCENTRANK vs. PERCENTRANK.EXC (Example 7)
PERCENTILE vs. PERCENTILE.EXC (Example 9)
Histogram
Histogram data analysis tool (Example 1)
Real Statistics Frequency Table 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
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
COUNTU #NAME?
COUNTAU #NAME?
Sort and Extract Unique
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
Reformat data in a range
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
=CountRowsUnique(A3:B14)
#NAME?
Sort Rows =QSORTRows(T3:W14,4)
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.5 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?
51 #NAME?
Real Statistics Step Chart
Revenue
15
6 14 25 20
10
0
0 1 2 3 4 5 6
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
MODE 5 5 #VALUE!
MODE.SNGL 5 5 #VALUE!
MODE.MULT 5 5 #VALUE!
5 2 #VALUE!
Data 1 Data 2 Data 3
5 5 5
2 2 2
-1 -1 -1
3 3 3
7 7 7
5 5 8
0 0 0
2 6
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 and PERCENTRANK.EXC PERCENTILE
S1 S2 S1 - S2 RANK.AVGRANK_AVG
34.1 21.7 12.4 1 #NAME? #NAME? #NAME?
36.7 31.2 5.5 5 #NAME? #NAME? #NAME?
12.1 15.9 -3.8 10 #NAME? #NAME? #NAME?
15.8 11.3 4.5 8 #NAME? #NAME? #NAME?
22.9 17.4 5.5 6.5 #NAME? #NAME? #NAME?
40.0 30.4 9.6 2 #NAME? #NAME? #NAME?
22.9 20.5 2.4 9 #NAME? #NAME? #NAME?
19.5 10.2 9.3 3 #NAME? #NAME? #NAME?
28.8 20.0 8.8 4 #NAME? #NAME? #NAME?
30.6 25.1 5.5 6.5 #NAME? #NAME? #NAME?
12.4 7 #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.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?
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
#NA
Real Statistics data analysis tool
Bin Frequency
20 6 Histogram
40 10
12
60 2 10
Frequency
80 3 8
6 Frequency
More 1 4
2
0
20 40 60 80 More
Bin
Using FREQTABLE with bin size 15 Using Frequency Table data analysis tool
Frequency
#NAME? #NAME? #NAME? 30 8 13 5
#NAME? #NAME? #NAME? 45 5 18 4
3
60 0 18
2
75 3 21 1
90 1 22 0
15
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 2
100 1 22
Histogram
9
8
7
6
Frequency
5
4
3
2
1
0
15 30 45 60 75 90
Bin
Histogram
9
8
7
6
Frequency
5
4
3
2
1
0
10 25 40 55 70 85 100
Bin
Boxplot (aka box and whiskers plot) Using QUARTILE
0
Brand A
Box Plot
400
200
0
Brand A
Using QUARTILE
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
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)
Box Plot
Brand A Brand B Brand C
1020 840 1430 Brand A Brand B Brand C Bo
1560 940 1750 Min 380 300 430
2000
560 780 870 Q1-Min 142.5 185 342.5
1800
780 650 920 Med-Q1 202.5 220 132.5
1600
990 720 1300 Q3-Med 237.5 120 332.5
1400
670 430 890 Max-Q3 597.5 115 512.5
1200
510 1850 740 Mean 784 756 1010
1000
490 300 720
800
380 360 430 Min 380 300 430
600
880 690 1050 Q1 522.5 485 772.5
400
Median 725 705 905
200
Q3 962.5 825 1237.5
0
Max 1560 940 1750 Brand A
Mean 784 756 1010
Grand Min 0
Outliers 1850
Box Plot
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 1
Fail-Pred
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
rue Positive Rate
0.7
0.6
0.5
0.4
0.3
0.2
1
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
A B C D E Total
freq 5 8 6 2 4 25 freq
p 0.2 0.32 0.24 0.08 0.16 p
log p -0.69897 -0.49485 -0.619789 -1.09691 -0.79588 log p
0.287276
0.69897
0.410999
Brillouin’s Index of Diversity
A B C D E Total A
freq 12 14 1 2 3 32 freq 6
log freq! 8.680337 10.94041 0 0.30103 0.778151 35.42017 log 2.857332
H 0.460008 H 0.607604
k 5 k 5
c 6 c 6
d 2 d 2
max H 0.607604 max H 0.607604
J 0.757085 J 1
Diversity Indices
# of eleme 32
# of catego 5
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
-4.5 20.25 10
5
-4.4 19.36 0
-4.3 18.49 y-axis -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 0 1 2 3 4
-4.2 17.64 00
0 0
-4.1 16.81 00
0
-4 16 00
5 00
-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
Histogram
freq prob
0 #DIV/0! 1
0.9
#NAME? #NAME?
0.8
#NAME? #NAME? 0.7
#NAME? #NAME? Frequency 0.6
#NAME? #NAME? 0.5
0.4
#NAME? #NAME?
0.3
#NAME? #NAME? 0.2
0 #DIV/0! 0.1
0
#NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
Bin
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
2
1
0
5 5.16 5.32 5.48 5.64 5.8
6
5
Frequency
4
3
1 2 2
3 5 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.741495 17 2 24 #NAME?
5 0.374253 6 5 12 #NAME?
7 0.593865 1 7 11 #NAME?
8 0.656092 20 8 19 #NAME?
9 0.845597 2 9 10 #NAME?
11 0.649204 21 11 10 #NAME?
15 0.195148 15 #NAME?
17 0.785658 17 #NAME?
20 0.011216 20 #NAME?
21 0.799245 21 #NAME?
1 0.34022 1 #NAME?
3 0.159377 3 #NAME?
6 0.434806 6 #NAME?
10 0.804076 10 #NAME?
12 0.284633 12 #NAME?
24 0.136185 24 #NAME?
16 0.247799 16 #NAME?
18 0.839705 18 #NAME?
19 0.838631 19 #NAME?
22 0.743742 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
T
√A A 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 A2 A3
1 1 0 3 -3 6
-1 2 -3 3 -6 3
A A2 A3
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
#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?