The UN data fileatthebookswebsitehasUnitedNationsdatafor42nationsonper capita grossdomesticproduct(GDP,inthousandsofdollars),ahumandevelopment index (HDI,whichhascomponentsreferringtolifeexpectancyatbirth,educational attainment,andincomepercapita),agenderinequalityindex(GII,acompositemeasure reflecting inequalityinachievementbetweenwomenandmeninreproductivehealth, empowerment,andthelabormarket),fertilityrate(numberofbirthsperwoman), carbondioxideemissionspercapita(CO2,inmetrictons),ahomiciderate(number of homicidesper100,000people),prisonpopulation(per100,000people),andpercent using theInternet.

Question:

The UN data fileatthebook’swebsitehasUnitedNationsdatafor42nationsonper capita grossdomesticproduct(GDP,inthousandsofdollars),ahumandevelopment index (HDI,whichhascomponentsreferringtolifeexpectancyatbirth,educational attainment,andincomepercapita),agenderinequalityindex(GII,acompositemeasure reflecting inequalityinachievementbetweenwomenandmeninreproductivehealth, empowerment,andthelabormarket),fertilityrate(numberofbirthsperwoman), carbondioxideemissionspercapita(CO2,inmetrictons),ahomiciderate(number of homicidesper100,000people),prisonpopulation(per100,000people),andpercent using theInternet.

(a) Conductadescriptive statisticalanalysisoftheprisonrates.Summarizeyourcon-
clusions, highlightinganyunusualobservations.

(b) Usingacommandlike cor(cbind(GDP, HDI,GII,…,Internet)) in R, con-
struct a correlationmatrix showingthecorrelationforeachpairofvariables.Which pair hasthestrongestassociation?

(c) ConductcorrelationandregressionanalysestostudytheassociationbetweenCO2 use andGDP.ShowhowthepredictedCO2variesasGDPgoesfromitsminimum to itsmaximumvalueinthissample.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: