Excel Cheat Sheet
Excel Cheat Sheet
Sample x 65 57.5
Population Mean μ 50 57.5
Standard Deviation σ 5 10
Linear Regression
r2 0.7569 % of y explained by x
Correlation r 0.87 0.87
SD of x SX 17 17
SD of y SY 28 28
Mean of xi x̄ 31
Mean of yi ӯ 79
Box Plots
Minimum 0
Q1 25
Median 50
Q3 75
Maximum 100
IQR 50
σ 1
Q1 -0.6744897502 1.34897950039216
Median=mean 0
Q3 0.6744897502
Range 0.055437172
Means
Sample Mean x̄ 16.75
# in Sample n 24
SD of Population σ not normally given
SD of Sample s 2.4
Degree of Freedom DF 23
t star t* 2.06865761042
Margin of Error ME 1.01343111961 deviation of population
mean from sample mean
Interval
Minimum p 15.73656888
Maximum p 17.76343112
Range 2.026862239
Approximate σ Range/6
n is large
Range 0.1288
# of Pairs 15
Δ0 0
SD of Mean Differences 14.03788
Confidence Interval
0.050793651 (+) or (-) 0.074152056948915
-0.0233584062 0.124945707742565
# of observations n 17
Residual D.F. d.f. 15 n-2
SE of Regression s 13.0682
Sample Mean x̄ 76.5
SD of Sample s 8.8466
Intercept Beta 0 41.73079552
Slope Beta 1 0.433
Prediction at given x-value 70
Point Prediction 72.04079552
t-value t 2.13144954556
SE of Prediction SE 13.6596401704 Should be a bit larger than SE of Regression
Margin of Error ME 29.1148338337
Variable 1
Slope Beta 1 1.725
SD of B1 SD B1
Given value for pred. x 5
Variable 2
Slope Beta 1 15.389
Given value for pred. y 5
Z-Score -3 2
P(Left of Z) 0.00134989803
P(Right of Z) 0.99865010197
SD of sample mean = population SD / square root of n
SD of Sample Mean σx̄ 6
# of Successes x 150
Sample Size n 300
Population Proportion p 0.52
q 0.48
Sample Proportion p̂ 0.5 equal to x/n
Z-Score -0.69337524528
P(Left of Z) 0.24403704658
P(Right of Z) 0.75596295342
Z = (p̂ - p)/(p*q/n)^(0.5)
Hypothesis Testing
Proportions (z value)
Determine P value
H0: μ1- μ2 = 0
Ha: μ1- μ2 ≠ 0 P 5.26641364E-09
# of successes x1 250
Sample Proportion 1 p hat 1 0.7788162 0.778816199
q hat 1 0.2211838
# in sample n 321
P value
Ha: p1 - p2 > 0 P 0.00091354231
Chi-Squared Test
Independence
H0: There is no relationship between the variables
Ha: There is a relationship between the variables
Homogenity (similar to Independence)
slope b1 0.7
# in Sample n 66
Standard Error of the Slope SE(b1) 0.046
SD of Residuals Se 190.56
Alpha Level α 0.05
t stat 15.2173913
Critical Value One Tail t* 1.669013025
45.6 Critical Value Two Tail t* 1.997729654
51 d.f. 64
1376.41
37.1 P - Value
H0: B1 = 0
More often this Ha Ha: B1 =/0 6.09561243E-23
α
Ha: B1 > 0 3.04780621E-23 0.05
ME 0.0918955641
LCL ULC
0.608104436 0.7918955641
56
8 8
64 64
68
Sample Two
0.7714285714
0.2285714286
270
350
z* table
gression but not on test
USE 'INDIVIDUAL DATA POINT' FIRST
z-score
Probability left of z-score
Probability right of z-score
Corresponding z-score
Hypothesis Testing
Means (t value)
t stat t 6 -1
Degree of Freedom 35
Alpha Level α 0.05 1 - Confidence Level
2 tail t star value t* 2.0301079283 Probability of rejecting the
1 tail t star value t* 1.6895724578 H0 when the H0 is true.
If t* < |t-stat|, we reject the H0
Determine P-Value
abs value t-stat t 6
Ha: μ ≠ μ0 P 7.7209968E-07
2 Sample T-test
Unequal Variances
Degrees Freedom d.f. 182.272
t stat 6.1073422
# of successes x2 255
Sample Proportion 2 p hat 2 0.6728232 0.672823219
q hat 2 0.3271768
# in sample n 379
Chi-Squared Test
ng For Simple Linear Regression
# in Sample n 25
# of Variables k 4
[((Sigma residuals)^2)/(n-2)]^1/2 F stat 8.888
k d.f. 1 4
n-k-1 d.f. 2 20
P Value 0.0002707205
Alpha Level 0.05
F Stat F* 2.866081402
Normal Distribution Calculations Combining INDEPENDENT Random Variables
0.98
Mean 100
SD 15
2.05374891063 <Unstandardized x-value 130.8062337
10
1
Paired T-test 0
Degree of Freedom
Alpha Level α 1 - Confidence Level
t star value t* #DIV/0! Probability of rejecting the
t star value t* H0 when the H0 is true.
If t* < |t-stat|, we reject the H0 #DIV/0!
Ha: μ < μ0 P
Ha: μ ≠ μ0 P
SUBTRACTING RV's
New RV Mean 10
New RV SD 12.80624847
Significance α
Weak <.1
Moderate <.05
Strong <.01
Very Strong <.001
s does not equal 0
Statistics Made Simple
CI for Proportions
P-hat 0.33 N
# Success
Q-hat 0.67 Confidence
CI for Means
X-bar 41.52 N
DF
S 31.6035647692226 Confidence
Regression Line
X-bar 2.61673076923077 Sx
Y-bar 227512.044871795 Sy
R -0.86977
R-square 0.756497636600917
Predicting:
slope B1 = r*Sy/Sx -331151.76775 X-value
intercept B0 = ybar - B1*xbar 1094047.0648222 Y-predicted
Equation Y= -331151.77X + 1094047.06
T-Stat 2.37053674184655 DF
P-value 0.0226703193075243000 # Side
2.37053674184655
Alpha 0.05
Conclusion Reject Ho
CI for Difference of Two Means (Unpooled Variance)
X-bar 17 DF
Confidence
S 34.9857113690718
T-Stat 0.420724892888395 DF
P-value 0.746469977586447 # Side
0.4207248928884
Alpha 0.05
Conclusion Do Not Reject Ho
CI for Difference of Two Means (Paired)
D-bar 3.59259259259259 DF
S 12.0760460205841 Confidence
N 2
Mean -5
2.5 SD 4.2
266167.645453107 Var 17.64
Z -1.19047619047619
Probability 0.116929641346372
Comparing Two Proportions
98 N 300 N
18 # Success 185 # Success
324 P-hat 0.616666666666667 P-hat
21 Q-hat 0.383333333333333 Q-hat
SE 15139.6041482536
15.07043 T* 1.97548805823434 ME
15.0704334836654 Lower Bound -361059.8749 ME
Upper Bound -301243.6605
CI for Y (CI/PI)
0 Y-Predicted 266167.645453107 DF
CI or PI? CI Confidence
X-Test
Se 40001.90 X-bar
SE 3657.94780791221
1 T* 1.97548805823434 ME
2 Lower Bound 258941.4132 ME
<don’t touch this cell Upper Bound 273393.8777
Hypothesis Testing For Correlation Coefficient
Carton Probability
80 Mean 85 Mean
0 SD 15 SD
0 Var 225 Var
# Per Carton
Mean 2125 Min
SD 75 Max
Var 5625
Z -28.333333333333 Z2
Probability 0.99865010196837
Calculating Adjusted R2
200 R Squared R2
75
0.375 Adjusted R2 R2
0.625
-331151.76775 df regresssion 4
156 df residual 15
Confidence 95.00%
6.981233 F* (F-star) 3.05556827590659
154
2
154
95%
29908.107
29908.107
7226.232
7226.232
95%
0.05
95%
4.1
0
0
0
25
2350
<= actual R2
0.64
0.568
Reduced Models
sst/ssm
Chi-Square Test of Independence Number of Rows (R) 2
Number of Columns (C ) 4
INSTRUCTIONS
RxC Table Col 1
Row 1 82
Row 2 44
Enter the Number of Rows and
Columns
In the Crosstabulation Table in
Cells D2 and D3 (Yellow).
RESULTS*
Chi-square Statistic 24.792
P-value 0.000
Conclusion Reject Ho
*Min(npi)>=5, i=1,2,…,k
H0: p1 = p2 = p3 = p4 =… pn = 1/n
1.92
0
0 Totals
0 0 0 0 700
(O-E)^2/E
Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Row 7
Row 8
Row 9
Row 10
Col 1 Col 2 Col 3 Col 4 Col 5 Col 6 Col 7
62.28 61.78571429 154.7114286 67.22285714 0 0 0
63.72 63.21428571 158.2885714 68.77714286 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
126 125 313 136 0 0 0
Chi-sq 24.79151204
Col 8 Col 9 Col 10 Totals
0 0 0 346
0 0 0 354
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 700