Beruflich Dokumente
Kultur Dokumente
MeasuresofCentralTendency
Thischapterlooksatthreedifferentconceptsofhowwe describeatypicalelementofadataset. Mean Median Mode
Thereisnoonebestconceptforallcases;wewill discusstheadvantagesanddisadvantagesofeach.
Mean
EXAMPLE:
Therearethreecountriesin NorthAmerica(N=3) Theirlandareasare: Canada 9,093,507km2 Mexico 1,923,040km2 U.S. 9,161,923km2 Total 2,017,840km2 Averagelandarea: 2,017,840/3=6,726,157km2
Source:2005CIAWorldFactbook
i= N
X i X 1 X 2 X N N= N i=1
Meansamplemean
Example:
X i X 1 X 2 X n n= n i=1
i=n
Advantagesofthesamplemean
1. Ittakesallvaluesinthesampleintoaccount. 2. Itisunique:Eachsampleandpopulationhasonly onemean. 3. ThesumofXminusthemeaniszero,sothe meanactsasabalancingpoint.
DisadvantagesoftheMean
1.Itonlyexistsforquantitativedata
Whatisthemeanbetweengood,fair,poor? Betweenred,yellow,andblue?
2.Itcanbeaffectedstronglybyoutliers.
Example:InWhoville,thereare10peoplewhoearn $10,000ayearandonepersonwhoearns$1,000,000 Whatisthemean?Isitatypicalincome?
WeightedMean
Weightedmeansoccurwhenwehavesome observationsthatwewishtoplacemoreimportanceon thanothers.
Theyrequireaweightingvariablethatindicatesthe importancetoplaceonagivenobservation.
WedenotetheoriginalvariablebyXiandtheweighting
variablebyWi.
WeightedMeanFormula
Formulafortheweightedmean:
W i Xi
i =1
i =n
Wi
i =1
i =n
W 1 X 1 W 2 X 2 W n X n W 1W 2 W n
WeightedMeanExample
LifeExpectancyinagroupofnorthernAfricancountries:
Country Algeria Egypt Libya Morocco Nigeria Sudan Tunisia Sum Mean LifeExpectancy 68 66 73 67 41 55 72 442 442/7=63.14
WeightedMeanExample(cont'd)
LifeExpectancyinagroupofnorthernAfricancountries:
Country Algeria Egypt Libya Morocco Nigeria Sudan Tunisia Sum Mean LifeExpectancy 68 66 73 67 41 55 72 442 442/7=63.14 Population(mil) 31 70 5 29 126 31 10 302
WeightedMeanExample(cont'd)
LifeExpectancyinagroupofnorthernAfricancountries:
Country Algeria Egypt Libya Morocco Nigeria Sudan Tunisia Sum Mean WeightedMean: LifeExpectancy 68 66 73 67 41 55 72 442 442/7=63.14 16627/302=55.05 Population(mil) 31 70 5 29 126 31 10 302 LExPopn 2108 4620 365 1943 5166 1705 720 16627
Median
Median
AdvantagesofMedian
1.
AdvantagesofMedian(cont'd)
2.
Medianisunaffectedbyoutliers:
Thereare11peopleinWhoville;tenmake$10,000per yearandonemakes$1millionperyear.Whatisthe medianincome?
3. Medianisunique:Asamplehasonlyone.
DisadvantageofMedian
Disadvantage:Notaffectedbychangesindataaway fromcenter.
Mode
Askswhichvalueisobservedmost. Example:20OpinionsofHillwoodCafe
Excellent: Good: Fair: Poor: 3 6 7 4
Here,Fairisthemostcommonresponse.
ModeAdvantage
Advantage:Worksoncategorydata. Example:EthnicgroupsinEthiopia(millions)
Amharic/Tigray Oromo Shankella Sidamo Somali Other
Source:2005CIAWorldFactbook
DisadvantagesofMode
DisadvantagesofMode(cont'd)
Maynotevenexistinameaningfulwayon continuousdata.Considerlifeexpectancydata:
LifeExpectancy 68 66 73 67 41 55 72
Onecouldsaythateveryvalueisamode,orthat noneis.
DisadvantagesofMode(cont'd)
Themodalresponseisnotatypicalone.
GeometricMean