Ie132 Excel Code

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Upper =Upper Boundary value1 + Number of

Boundary Classes

Class =Lower Boundary value1&"-"&Upper


Boundary Boundary value1

EXCEL COMMANDS: Frequency =COUNTIFS(array,">="&lower boundary


value 1,range,"<="&upper boundary
value 1)
MEASURES OF CENTRAL TENDENCY

Mean =AVERAGE(array)

Median =MEDIAN(array)

Mode =MODE(array)

MEASURES OF VARIABILITY

Range =MAX(array)-MIN(array)

IQR =QUARTILE(array,3)-QUARTILE(array,1)
Cumulative 1st: The 1st Frequency Value
Frequency 2nd: =CF value1 + Frequency Value 2
(CF)

Cumulative =CF/Sum of Frequency


relative
Frequency

Variance =VAR.P(array)

Standard
=STDEV.P(array)
deviation

MEASURES OF POSITION

75th =PERCENTILE(array,0.75)
Percentile

Rank =PERCENTRANK(Array,x)

X is the value you want to know the


Relative =First Frequency/Sum of Frequency
specific rank
Frequency

IMPORTANT VALUES FOR FDT

Range =MAX(array)-MIN(array)

Number of =1+(3.322*LOG10(COUNT(array)))
Classes

To round off =CEILING(value,1)

Class Size =RANGE/NUMBER OF CLASSES

Low =MIN(array)
Boundary Upper =Upper Boundary value1 + Number of
Boundary Classes
Class =Lower Boundary value1&"-"&Upper Cumulative 1st: The 1st RF value as your first CRF
Boundary Boundary value1 Relative value
frequency 2nd: CRF value1+RF value2

Frequency =COUNTIFS(array,">="&lower boundary


value 1,range,"<="&upper boundary
value 1)

BINOMIAL DISTRIBUTION (no cumulative)


Cumulative 1st: The 1st Frequency Value
Frequency 2nd: =CF value1 + Frequency Value 2
(CF)

Cumulative =CF/Sum of Frequency


Frequency

CUMULATIVE:
- logical value that could either be:

TRUE: Uses the cumulative distribution function


FALSE: Uses the probability mass function

Probability =BINOM.DIST(x,n,p,FALSE)

BINOMIAL DISTRIBUTION (with cumulative)


Relative =First Frequency/Sum of Frequency
Frequency

Probability =BINOM.DIST(k,n,p,TRUE)
(at most)

Probability =1 - Probability (at most)


(at least)
POISSON DISTRIBUTION CHI-SQUARE DISTRIBUTION (GTFT Preference)

STEPS FOR SOLVING THE STANDARDIZED TEST


STATISTICS.
1.) Create An Expected Table By Understanding The Logic
Of The Problem: In Preference Problems, The Expected
Distribution Is Flat, Meaning Each Category Will Have The
Same Frequency.

What is the probability that fewer than 3 accidents will 2.) Calculate Chisq Standardized Test Statistics (Labeled As
occur? Chisq Calc) Using The Formula.

3.) Get The Sum Of The Chisq Calc Column

STEPS FOR SOLVING THE CRITICAL VALUE.


1.) The Level Of Significance
2.) Get The Degrees Of Freedom (Number Of Categories -1)
3.) In A Designated Cell, Type <=Chisq.Inv.Rt>
-Assign "Probability" As Level Of Significance
-Assign "Deg_freedom" As Degrees Of Freedom
4.) Click Enter To Return The Value

Poisson =POISSON.DIST(probability,lambda,FAL
SE) CHI =((OBSERVED-EXPECTED)^2)/EXPECTED
SQUARE
HYPERGEOMETRIC DISTRIBUTION (no cumulative)

Hypergeo =HYPGEOM.DIST(k,n,M,N,FALSE) Standard =SUM(array of all chi square)


Test Statistic
HYPERGEOMETRIC DISTRIBUTION (with cumulative)
Critical =CHISQ.INV.RT(level of significance,df)
Value

CHI-SQUARE DISTRIBUTION (GTFT Expected Values)

STEPS FOR SOLVING THE STANDARDIZED TEST


STATISTICS.

1.) Create An Expected Table By Understanding The Logic


Of The Problem: In Problems With Given Expected Values
By Percentage, Solve The Frequency Per Category By
Hypergeo =HYPGEOM.DIST(k,n,M,N,TRUE) Multiplying The Percentage To The Total Number Of
(probability Observation.
equals to 1)
2.) Calculate Chisq Standardized Test Statistics (Labeled As
Chisq Calc) Using The Formula.
1.) The Level Of Significance
3.) Get The Sum Of The Chisq Calc Column 2.) Get The Degrees Of Freedom (Number Of Categories -1)
3.) In A Designated Cell, Type <=Chisq.Inv.Rt>
STEPS FOR SOLVING THE CRITICAL VALUE. -Assign "Probability" As Level Of Significance
1.) The Level Of Significance -Assign "Deg_freedom" As Degrees Of Freedom
2.) Get The Degrees Of Freedom (Number Of Categories -1) 4.) Click Enter To Return The Value
3.) In A Designated Cell, Type <=Chisq.Inv.Rt>
-Assign "Probability" As Level Of Significance Degrees of =(row-1)(column-1)
-Assign "Deg_freedom" As Degrees Of Freedom freedom
4.) Click Enter To Return The Value
Expected =(First sum of column*First sum of
Contingency row)/total sum of totaled column and
Table row

Expected If there is percentage:


frequency = n*%

Chi Square =((OBSERVED-EXPECTED)^2)/EXPECTED


Contingency
Table
(Standard
Test
Statistic)

Standard =((OBSERVED-EXPECTED)^2)/EXPECTED
Test Statistic
Then you sum of all array to get true test
statistic

CHI-SQUARE TEST FOR INDEPENDENCE

STEPS FOR SOLVING THE STANDARDIZED TEST


STATISTICS.
1.) Create An Expected Table By
-Getting The Total Of Each Column
-Getting The Total Of Each Row
-Get The Expected Value Of A Cell By Multiplying Critical =CHISQ.INV.RT(level of significance,df)
The Total Of Row It Belongs To And The Total Of Value
Column It Belongs To. Divide The Product To The
Grand Total Of The Observation.

2.) Calculate Chisq Standardized Test Statistics (Labeled As


Chisq Calc) Using The Formula.

3.) Get The Sum Of The Chisq Calc Column


STEPS FOR SOLVING THE CRITICAL VALUE.

You might also like