Spatial Analysis Grid cell counts. Grid Methods Data are recorded as coming from a particular area, but we do not have exact coordinates Screened artifacts.

Slides:



Advertisements
Similar presentations
Summary of A Spatial Scan Statistic by M. Kulldorff Presented by Gauri S. Datta Mid-Year Meeting February 3, 2006.
Advertisements

Geography 360 Principles of Cartography May 15~17, 2006.
Hurricane Tracking LAB. Procedures 1.Plot the coordinates of each hurricane on the map provided. 2.The Start point should be marked with the hurricane.
GIS Presentation and Output --charts --maps. Presentation: Charts charts can be used to display tabular data. the types of charts available in ArcView.
Graphic representations in statistics (part II). Statistics graph Data recorded in surveys are displayed by a statistical graph. There are some specific.
SPATIAL DATA ANALYSIS Tony E. Smith University of Pennsylvania Point Pattern Analysis Spatial Regression Analysis Continuous Pattern Analysis.
Customizing Graphs Base graphics options. plot() The workhorse plotting function plot(x) plots values of x in sequence or a barplot plot(x, y) produces.
Graphical Display 1 Pictures of Data. Edward Tufte Visual Display of Quantitative Information Using graphics for –Data –Concepts –Instruction –Finding.
Spatial Analysis Maps, Points, and Grid Counts. Maps in R Simple maps and profiles can be constructed using basic R functions Basic uses –Grid map with.
Spatial Statistics Point Patterns. Spatial Statistics Increasing sophistication of GIS allows archaeologists to apply a variety of spatial statistics.
GIS Geographic Information System
Types of Data Displays Based on the 2008 AZ State Mathematics Standard.
Thematic Mapping ArcView_module_3 May 12, 1:30 PM.
Lab 5: Thematic Maps & workspaces You have a parcel file that contains a field containing property values. How do you see the property value patterns throughout.
Maps and images - distances between tube stops (BBC)
Why Geography is important.
Lecture 07: Terrain Analysis Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California, Santa Barbara.
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Slope and Aspect Calculated from a grid of elevations (a digital elevation model) Slope and aspect are calculated at each point in the grid, by comparing.
INFORMATION TECHNOLOGY IN BUSINESS AND SOCIETY SESSION 19 – GETTING DATA AND VISUALIZING IT SEAN J. TAYLOR.
Thematic Maps Choropleth, Proportional/Graduated Symbol, Digital Image, Isoline/Isopleth and Dot Distribution Maps.
Human Settlement: Spatial Patterns. Choropleth Maps Choropleth maps p. 10 P. 10 #1-3.
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
September 18-19, 2006 – Denver, Colorado Sponsored by the U.S. Department of Housing and Urban Development Using Geographic Information Systems (GIS) as.
Spatial Statistics Applied to point data.
Basic Geographic Concepts GEOG 370 Instructor: Christine Erlien.
Spatial Analysis.
Health Datasets in Spatial Analyses: The General Overview Lukáš MAREK Department of Geoinformatics, Faculty.
Our objectives: We will consider four thematic map types choropleth proportional symbol dot density cartograms understand decisions involved in classifying.
An Introduction to R graphics Cody Chiuzan Division of Biostatistics and Epidemiology Computing for Research I, 2012.
Advanced GIS Using ESRI ArcGIS 9.3 3D Analyst part 2.
Cartography GEO381/550 Final Review December, 2 nd 2004.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Manipulations interpolation/extrapolation line intersections points in polygon line and polygon intersections union/intersection of polygon areas buffering.
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),
GEOG 370 Christine Erlien, Instructor
Thematic Data & Spatial Symbology.
How to Read, Develop, and Interpret GRAPHS! OBSERVATIONS: often are recorded in a data table. We INTERPRET our data table by making INFERENCES and PREDICTIONS.
R (3) Introduction to Graphics. The main guide R in Action Data Analysis and Graphics with R Robert I. Kabacoff
L15 – Spatial Interpolation – Part 1 Chapter 12. INTERPOLATION Procedure to predict values of attributes at unsampled points Why? Can’t measure all locations:
Integrating Geographic Information Systems (GIS) into your Curriculum Teaching American History Meg Merrick & Heather Kaplinger Year 2 GIS Inservices.
Data Distribution Investigation Variability in Categorical Data 2 Types of Data Categorical (Month Born, Favorite Band) Numerical (State Populations)
Methods for point patterns. Methods consider first-order effects (e.g., changes in mean values [intensity] over space) or second-order effects (e.g.,
Point Pattern Analysis
Exploratory Spatial Data Analysis (ESDA) Analysis through Visualization.
Extra Vocabulary-Thinking Geographically. Reference Maps vs. Thematic Maps Reference Maps A highly generalized map type designed to show general spatial.
Thematic Maps Unlike general purpose maps, thematic maps are intended for one specific purpose: to communicate a particular topic or theme.
Project 5: Thematic Maps Matt Prindible and Christina Steltz.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
2/24/2016 A.Aruna/Assistant professor/IT/SNSCE 1.
How to Read, Develop, and Interpret GRAPHS!  OBSERVATIONS: often are recorded in a data table  INTERPRET (make inferences of) your  DATA TABLE by performing.
Modeling the Impacts of Forest Carbon Sequestration on Biodiversity Andrew J. Plantinga Department of Agricultural and Resource Economics Oregon State.
Geography Texas History.
Chapter 2 Mapping GIS Data.
Mapping Population Density
Summary of Prev. Lecture
Lecture 02 The Basics pf Creating a GIS Map
Maps.
Map Projections.
Types of Thematic Maps.
Choropleth Maps An easy to draw map, easy to interpret map of distribution patterns, often used to show population statistics (A shaded map)
Maps and images - distances between tube stops (BBC)
Special Topics in Geo-Business Data Analysis
How many ways can we visualize data?
Goodness of Fit.
Mapping Quantities: Choropleth Maps Gary Christopherson
Guidelines to visualise statistical information: Tables, graphs and maps THE CONTRACTOR IS ACTING UNDER A FRAMEWORK CONTRACT CONCLUDED WITH THE COMMISSION.
Mapping GIS Data.
UNIT 1 REVIEW GEOGRAPHY.
Presentation transcript:

Spatial Analysis Grid cell counts

Grid Methods Data are recorded as coming from a particular area, but we do not have exact coordinates Screened artifacts from an excavation unit, census data (population counts from survey tracts, incidence of disease or other characteristic

Spatial Clusters Null hypothesis is that the data are distributed according to a Poisson distribution Variance/mean ratio (VMR) provides a rough indication of clustering where VMR = 1 is a Poisson distribution, 1 clustered

Visualizing Counts Choropleth maps represent quantity or category by shading polygons Dot density maps represent quantity/density by randomly or regularly spaced symbols within the polygon

Package sp Definitions for spatial objects SpatialPolygons are an object that contains a set of places (e.g. grid cells, states, counties) each of which can include multiple polygons and/or holes Perfect for choropleth and dot density maps

# Create a Spatial Polygons object source("GridUnits3a.R") # Append first line of coordinates to the bottom so # first-coord = last-coord Quads <- lapply(Quads, function(x) rbind(x, x[1,])) # Load package sp for spatial classes library(sp) # Create Polygon list (one from each unit) QuadsList <- lapply(Quads, function(x) Polygon(x, hole=FALSE)) # Areas3a <- sapply(QuadsList, function(x) to get areas # Create a Polygons list Units <- lapply(1:20, function(x) Polygons(QuadsList[x], UnitLbl[x])) # Create a Spatial Polygons list SPUnits <- SpatialPolygons(Units, 1:20) # sapply(1:20, function(x) # to get areas from SpatialPolygons

opar <- par(mfrow=c(2, 2), mar=c(0, 0, 0, 0)) plot(SPUnits, col=gray(1:20/20)) plot(SPUnits, col=rainbow(20)) plot(SPUnits, col=rainbow(20, start=0, end=4/6)) plot(SPUnits, density=c(6:25), angle=c(45, -45)) plot(SPUnits, density=c(6:25), angle=c(-45, 45), add=TRUE) par(opar)

# Load FlkSize3a FlkDen3a <- round(sweep(FlkSize3a[,c("TCt", "TWgt")], 1, FlkSize3a$Area, "/"), 1) FlkDen3a <- data.frame(East=FlkSize3a$East, North=FlkSize3a$North, FlkDen3a) var(FlkDen3a$TCt)/mean(FlkDen3a$TCt) # Cut into 4 groups TCtGrp1 <- cut(FlkDen3a$TCt, quantile(FlkDen3a$TCt, c(0:4/4)), include.lowest=TRUE, dig=4) # TCtGrp2 <- cut(FlkDen3a$TCt, quantile(FlkDen3a$TCt, c(0:4/4)), # labels=1:4, include.lowest=TRUE) # TCtGrp3 <- cut(FlkDen3a$TCt, 0:4* , include.lowest=TRUE, # dig=4) Colors <- rev(rainbow(4, start=0, end=4/6)) Gray <- rev(gray(1:4/4)) Hatch <- c(5, 10, 15, 20)

opar <- par(mfrow=c(2, 2), mar=c(0, 0, 0, 0)) plot(SPUnits, col=Colors[as.numeric(TCtGrp1)]) text(985, , "Total Flakes", cex=1.25) legend(985.5, 1022, levels(TCtGrp1), fill=Colors) plot(SPUnits, col=Gray[as.numeric(TCtGrp1)]) text(985, , "Total Flakes", cex=1.25) legend(985.5, 1022, levels(TCtGrp1), fill=Gray) plot(SPUnits, angle=45, density=Hatch[as.numeric(TCtGrp1)]) plot(SPUnits, angle=-45, density=Hatch[as.numeric(TCtGrp1)], add=TRUE) text(985, , "Total Flakes", cex=1.25) legend(985.5, 1022, levels(TCtGrp1), angle=45, density=Hatch) legend(985.5, 1022, levels(TCtGrp1), angle=-45, density=Hatch) par(opar)

library(maptools) opar <- par(mfrow=c(2, 2), mar=c(0, 0, 0, 0)) for (i in 1:4) { dots <- dotsInPolys(SPUnits, as.integer(round(FlkDen3a$TCt/50, 0))) # 1 dot = 50 flakes plot(SPUnits, lty=0) points(dots, pch=20, col="red") polygon(c(982,982,983,983,984.5,985,985,987,987,986.2,985,985, 984.5,984,983.5,983,982.7,982.5),c(1015.5,1021,1021,1022, 1022,1021.3,1018,1018,1017.6,1017,1017,1016.9,1016.8,1016.6, ,1016,1015.6,1015.5), lwd=2, border="black") } par(opar) dots <- dotsInPolys(SPUnits, as.integer(round(FlkDen3a$TCt/50, 0)), f="regular") plot(SPUnits, lty=0) points(dots, pch=20, cex=.75, col="red") polygon(c(982,982,983,983,984.5,985,985,987,987,986.2,985,985,984.5, 984,983.5,983,982.7,982.5),c(1015.5,1021,1021,1022,1022,1021.3, 1018,1018,1017.6,1017,1017,1016.9,1016.8,1016.6,1016.3, 1016,1015.6,1015.5), lwd=2, border="black") text(985, , "Total Flakes \n(Each dot = 50 flakes)", cex=1.25)

Countour Mapping We fit a model to the data to interpolate between the observations and smooth them –Trend surface models with polynomials –Kriging – developed in geophysics to interpolate and extrapolate

library(geoR) # load FlkDen3a.RData FlkDen3a$East <- FlkDen3a$East +.5 FlkDen3a$North <- FlkDen3a$North +.5 FlkDen3a$AvWgt <- FlkDen3a$TWgt/FlkDen3a$TCt columns <- names(FlkDen3a) Flakes3a <- as.geodata(FlkDen3a, 1:2, 3:5, c("TCt", "TWgt", "AvWgt")) GridPts <- expand.grid(East=seq(982, 987,.25), North=seq(1015.5, 1022,.25)) Border3a <- cbind(c(982,982,983,983,984.5,985,985,987,987,986.2, 985,985,984.5,984,983.5,983,982.7,982.5),c(1015.5,1021,1021, 1022,1022,1021.3,1018,1018,1017.6,1017,1017,1016.9,1016.8, ,1016.3,1016,1015.6,1015.5)) V <- variog(Flakes3a, data=Flakes3a$data[,"TCt"]) plot(V, type="b") vf <- variofit(V) TCtKv <- krige.conv(Flakes3a, data=Flakes3a$data[,"TCt"], locations=GridPts, krige=krige.control(cov.pars=c( ,.824))) contour(TCtKv, borders=Border3a, xlab="East", ylab="North") contour(TCtKv, borders=Border3a, axes=FALSE) contour(TCtKv, borders=Border3a, filled=TRUE) persp(TCtKv, borders=Border3a, xlab="East", ylab="North", zlab="Total Flakes", expand=.5)

Unconstrained Clustering Proposed by Robert Whallon Take grid data and computer percentages (areas defined by relative abundance, not density) Cluster grids and plot the distribution of the clusters to identify activity areas