ArcGIS10回归分析教程

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Analyzing911responsedatausingRegressionThistutorialdemonstrateshowregressionanalysishasbeenimplementedinArcGIS,andexploressomeofthespecialconsiderationsyou’llwanttothinkaboutwheneveryouuseregressionwithspatialdata.Regressionanalysisallowsyoutomodel,examine,andexplorespatialrelationships,tobetterunderstandthefactorsbehindobservedspatialpatterns,andtopredictoutcomesbasedonthatunderstanding.OrdinaryLeastSquaresregression(OLS)isaglobalregressionmethod.GeographicallyWeightedRegression(GWR)isalocal,spatial,regressionmethodthatallowstherelationshipsyouaremodelingtovaryacrossthestudyarea.BothofthesearelocatedintheSpatialStatisticsTools-ModelingSpatialRelationshipstoolset:Beforeexecutingthetoolsandexaminingtheresults,let’sreviewsometerminology:•Dependentvariable(Y):whatyouaretryingtomodelorpredict(residentialburglaryincidents,forexample).•Explanatoryvariables(X):variablesyoubelieveinfluenceorhelpexplainthedependentvariable(like:income,thenumberofvandalismincidents,orhouseholds).•Coefficients(β):values,computedbytheregressiontool,reflectingtherelationshipandstrengthofeachexplanatoryvariabletothedependentvariable.•Residuals(ε):theportionofthedependentvariablethatisn’texplainedbythemodel;themodelunderandoverpredictions.Thesign(+/-)associatedwiththecoefficient(oneforeachexplanatoryvariable)tellsyouwhethertherelationshipispositiveornegative.IfyouweremodelingresidentialburglaryandobtainanegativecoefficientfortheIncomevariable,forexample,itwouldmeanthatasmedianincomesinaneighborhoodgoup,thenumberofresidentialburglariesgoesdown.Outputfromregressionanalysiscanbealittleoverwhelmingatfirst.Itincludesdiagnosticsandmodelperformanceindicators.Allofthesenumbersshouldseemmuchlessdauntingonceyoucompletethetutorialbelow.Importantnotes:1.ThestepsinthistutorialdocumentassumethedataisstoredatC:\SpatialStats.Ifadifferentlocationisused,substituteC:\SpatialStatswiththealternatelocationwhenenteringdataandenvironmentpaths.2.ThistutorialwasdevelopedusingArcGIS10.0.Ifyouareusingadifferentversionofthesoftware,thescreenshotsandhowyouaccessresults,maybeabitdifferent.TutorialEstimatedtime:1.5hoursIntroduction:Inordertodemonstratehowtheregressiontoolswork,youwillbedoingananalysisof911EmergencycalldataforaportionofthePortlandOregonmetropolitanarea.Supposewehaveacommunitythatisspendingalargeportionofitspublicresourcesrespondingto911emergencycalls.Projectionsaretellingthemthattheircommunity’spopulationisgoingtodoubleinsizeoverthenext10years.Iftheycanbetterunderstandsomeofthefactorscontributingtohighcallvolumesnow,perhapstheycanimplementstrategiestohelpreduce911callsinthefuture.Step1GettingStartedOpenC:\SpatialStats\RegressionExercise\RegresssionAnalysis911Calls.mxd(thepathmaybedifferentonyourmachine)InthismapdocumentyouwillnoticeseveralDataframescontaininglayersofdataforthePortlandOregonmetropolitanstudyarea.EnsurethattheHotSpotAnalysisdataframeisactiveInthemap,eachpointrepresentsasinglecallintoa911emergencycallcenter.Thisisrealdatarepresentingover2000calls.Step2ExamineHotspotAnalysisresultsExpandthedataframeandclickthe+signtotherightoftheHotSpotAnalysisgroupedlayerEnsurethattheResponseStationslayerischeckedonResultsfromrunningtheHotspotAnalysistoolshowuswherethecommunityisgettinglotsof911calls.Wecanusetheseresultstoassesswhetherornotthestations(fire/police/emergencymedical)areoptimallylocated.Areaswithhighcallvolumesareshowninred(hotspots);areasgettingveryfewcallsareshowninblue(coldspots).Thegreencrossesaretheexistinglocationsforthepoliceandfireunitstaskedwithrespondingtothese911calls.Noticethatthe2stationstotherightofthemapappeartobelocatedrightover,orverynear,callhotspots.Thestationinthelowerleft,however,isactuallylocatedoveracoldspot;wemaywanttoinvestigatefurtherifthisstationisinthebestplacepossible.Thecommunitycanusehotspotanalysistodecideifaddingnewstationsorrelocatingexistingstationsmightimprove911callresponse.Step3ExploringOLSRegressionThenextquestionourcommunityisprobablyaskingis,“Whyarecallvolumessohighinthosehotspotareas?”and“Whatarethefactorsthatcontributetohighvolumesof911calls?”Tohelpanswerthesequestions,we’llusetheregressiontoolsinArcGIS.ActivatetheRegressionAnalysisdataframebyrightclickingandchoosingActivateExpandtheSpatialStatisticstoolstoolboxRightclickinaopenspaceinArcToolboxandsetyourenvironmentasfollows:Disablebackgroundprocesses(GeoprocessingGeoprocessingOptions).WithArcGIS10,geoprocessingtoolscanruninthebackgroundandallresultsareavailablethroughtheResultswindow.Bydisablingbackgroundprocessing,wewillseetoolresultsinaprogresswindow;thisisoftenbestwhenyouareusingtheRegressiontools:Inthedataframe,checkofftheData911CallslayerInsteadoflookingatindividual911callsaspoints,wehaveaggregatedthecallstocensustractsandnowhaveacountvariable(Calls)representingthenumberofcallsineachtract.RightclicktheObsData911CallslayerandchooseOpenAttributeTableThereasonweareusingcensustractleveldataisbecausethisgivesusaccesstoarichsetofvariablesthatmighthelpexplain911callvolumes.NoticethatthetablehasfieldssuchasEducationalstatus(LowEd),Unemploym

1 / 24
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功