Empirical Distribution Function (EDF) in Excel Tutorial
Empirical Distribution Function (EDF) in Excel Tutorial
Background
Theempiricaldistributionfunction(EDF)orempiricalcdfisastepfunctionthatjumpsby1/Natthe occurrenceofeachobservation: Where
EDF ( x)
1 N
I {x
i 1
x}
I {A} istheindicatorofaneventfunction
1 xi x I {xi x} 0 xi x
Bydefinition,theEDFfunctioncomputesthecumulativedistributionoftheunderlyingrandomnumber.
Why do we care?
TheEDFestimatesthetrueunderlyingcumulativedensityfunctionofthepointsinthesample;itis virtuallyguaranteedtoconvergewiththetruedistributionasthesamplesizegetssufficientlylarge.
Process
First,letsorganizeourinputdata.Wecanstartbyplacingthevaluesofthesampledatainaseparate column.Thesamplemaycontainoneormoremissingvalues.
EmpiricalDistributionFunction(EDF)Tutorial
SpiderFinancialCorp,2013
TheEDFWizardpopsup.
EmpiricalDistributionFunction(EDF)Tutorial 2 SpiderFinancialCorp,2013
Selectthecellsrangeforthevaluesoftheinputvariable. Notes:
Now,clickontheMissingValuestab.
EmpiricalDistributionFunction(EDF)Tutorial
SpiderFinancialCorp,2013
EmpiricalDistributionFunction(EDF)Tutorial 4 SpiderFinancialCorp,2013
Notes:
Conclusion
Inthistutorial,wedemonstratedtheprocesstogenerateanempiricaldistributionfunctioninExcel usingNumXLsaddinfunctions.
EmpiricalDistributionFunction(EDF)Tutorial
SpiderFinancialCorp,2013
EmpiricalDistributionFunction(EDF)Tutorial
SpiderFinancialCorp,2013