Monday, April 24, 2017

Assignment 5

Part One:

For the first part of the assignment, correlation between various census tracts and population data in Milwaukee, WI were measured.  Correlation measures the association between pairs of variables. If we look at the Pearson Correlation, or how two variables change together, we can find strength, directions, or probability.  Strength of a correlation between two variables, or the Pearson's r value, ranges from 1, indicating the strongest correlation, to 0, indicating no correlation.  Picking out examples from the table above, if we look at the number of retail employees and the Hispanic population, the Pearson's Correlation is .058.  Because this value is in the 0 to .29 range, we can say that there is no correlation between the Hispanic population in the area and the number of retail workers.  This also means that it has no direction because there is no correlation, or a null relationship (Figure 1 below).  A null relationship means no difference in changing values of Retail Employee numbers and Hispanic population.  If we look at the relationship between retail employees and white population, the Pearson value is .722 indicating a high strength correlation, with the direction of the scatter plot being positive (Figure 2 below).  The significance level of .000 for this variable shows that it is highly significant because it is basically 100% and the two stars in the table indicate that in order to be significant, it must have 99%.  This significance means that we can reject the null, stating that there is a difference between the values for retail and white population.  So from this we can conclude that there is a significant strong correlation between numbers of retail employees and white population in census tracts in Milwaukee, or that higher numbers of retail employees are present in areas with higher white populations.  Another example we could look at is the relationship between median household income and black population.  The Pearson value for this is -.417 indicating a low, negative correlation as the scatter plot shows (Figure 3).  It is also given that this value is highly significant as well so we can reject the null and show that there is a changing difference between the variables.  This means that there is a low correlation, or slight negative change as median household increases, black population in the tract decreases. 




Figure1: Relationship between the number of retail employees and Hispanic population
Figure 2: Relationship between the number of retail employees and the white population

Figure 3: Relationship between Median household income and the black population

Part 2:



Introduction:


Testing for spatial autocorrelation illustrates how a variable correlates spatially with itself and can determine patterns in distribution and likeness.  Spatial autocorrelation determines the independence or randomness of spatial observations.  This information can be useful for analyzing patterns of voter turnout.  The Texas Election Commission has given data for 1980 and 2016 presidential elections, specifically democratic votes and turnout.  The goal is to analyze patterns from the elections and determine if there are any patterns of clustering for voting data.  This information will be used to determine how patterns have changed, if they have at all, over the 36 years.  We will also take a look at the patterns of clustering as related to variables in population, such as the Hispanic population correlation.  To do this, online correlation software including GeoDa and SPSS were used. 



Methodology:



To begin this task, data had to be collected from the U.S. census bureau website.  From the website, a shapefile of counties in Texas and a shapefile of Hispanic population 2015 data in each Texas county were downloaded.  Because the Hispanic population shapefile contained data that was not necessary for the analysis, the ID row was deleted and all columns but the column containing percent of Hispanics in each county were deleted.  Voting data with voter turnout for 1980 and 2016 and percent democratic vote for 1980 and 2016 for the state of Texas was provided for this task.  Next, the data was then imported into GIS as Excel tables, joined with the Texas counties shapefile, and exported as another shapefile in order to use all the information collectively in GeoDa.  Once in GeoDa, a spatial weight had to be created to determine spatial autocorrelation for the election data and Hispanic Populations.  With the weight determined, the Moran's I scatter plot and LISA cluster maps could be created.  The Moran's I plot compares the value of the variable at one location with the value at other locations.  It can vary between -1 and 1, with positive values being closer to 1, meaning more clustered and a higher strength coefficient.  Negative values mean data is less clustered.  It is broken down into four quadrants with positive and negative numbers for comparisons.  The LISA (local indicators of spatial autocorrelation) maps provide a way of visualizing this spatially.  Both of these are used to measure what one place has in common with a neighboring place. 



Results:


From the LISA maps, we can see that in the 1980 elections, there was a cluster of counties in the very southern portion of the state that had low voter turnout and were surrounded by other counties with low turnout as well.  It can also be seen that counties slightly further north around the San Antonio area, and counties in the very northern portion of the state had clusters of high voter turnout (Figure 1).  There was also a cluster of counties with low voter turnout surrounded by other low turnout counties along the middle, eastern side of the state. Compared to voter turnout in the 2016 election, results were somewhat similar.  In 2016, the cluster of high-high voters in the very northern portion of the state got smaller by several counties.  The low-low cluster on the eastern side disappeared.  Comparing the Moran's I values, the 1980 value was .468 and the 2016 value was .2875.  On the scatter plots, the points in 2016 also appeared more loosely associated.  This means that in 1980 voter turnout was more positive, or clustered and 2016 was less clustered in comparison.







    Figure 1:(1980 on left, 2016 on right)



Next we can compare the percent of democratic votes in the counties between the two years 1980 and 2016.  In 1980, the percent of Democratic voters had low-low clusters in the north-west portion of the state and in the San Antonio region.  The very southern portion and various counties in the west, including a few around Dallas, had occurrences of high values surrounded by other high values.  There were very few high-low and low-high relationships.  In 2016, the percent of democratic voters had low-low clusters in the north central portion of the state, and the San Antonio region gained more white counties, or counties with no significance.  The very southern portion of the state gained a few more counties with high-high values, and the very western portion of the state went from counties with no significance to a few larger counties with high-high values (Figure 2).  The Moran's I value in 1980 was .5752 and the value in 2016 was .6855.  This means that in 2016 the percent democratic voter patterns became more clustered, therefore the coefficient is higher.  We can see this on the scatter plot in 2016 because the points fall closer to the middle of the chart Figure 3).  This also shows that there is a higher clustering of low-low values, as most of the points fall in the bottom left corner, which indicates (-,-) values. 
Figure 2: Percent Democratic Vote in 1980 on left, 2016 on right


Figure 3: Moran's I for 2016 Democratic Vote
Lastly, we can compare both of the above results to make conclusions about how the Hispanic population has an effect on voter turnout and percent democratic vote.  Looking at the LISA cluster map of percent Hispanic population in each county, the state is mainly divided up into two regions.  The southwest portion has high values of Hispanic people surrounded by counties with other high values, and the northeast portion has low-low values.  The Moran's I value is .7787, which indicates a positive relationship with a high amount of clustering.  (Figure 4)
Figure 4


Conclusion:

From the results, we can see that voter turn out lost clusters of high values neighboring other areas of high values.  We can also compare to Hispanic population clustering to note that the counties with high spatial correlation of Hispanic people have lower percentages of voter turnout.  Running the data in SPSS, we can see that the Pearson Correlation value, which measures how two variables change together, is stronger in 2016 (-.637) than in 1980 (-.407) and both of these values are significant.  This means that we can reject the null stating there is no difference and conclude that as percentage if Hispanic population gets higher, voter turnout gets lower, it is a negative relationship.  The governor of the state can then conclude that as Hispanic populations rise in certain counties in the Southwest, voter turnout will decrease.  We can also compare Hispanic population to percent Democratic vote in each county as well.  From the maps in figure two, it appears that percent of non democratic votes has shifted east ward in the state and percent democratic vote has gathered become more clustered in the south west.  We can also see that in 2015, the south west had high clusters of Hispanic population.  If we look at the correlation in SPSS, we can see that the Pearson Correlation for percent democratic votes and Hispanic population is .721, indicating a strong positive correlation.  As the chart shows below, however, most points occur in the low-low range because of poorer voter turnout.  But it is significant, so we can reject the null and state that there is a difference, as percent democratic vote rises, so does the percent of Hispanic population in each county.  It can also be said by looking at the maps that voter turnout is lower in areas with higher percentages of democratic voters.  The 2016 Pearson correlation value for % democratic votes and voter turnout is -.564.  This is a positive, moderate correlation, indicating that as democratic votes go up, voter turn goes down. 

Correlation between voter turnout and Hispanic Population

Correlations
 
VTP80
VT16
HD02_S02
PRes16D
Pres80D
VTP80
Pearson Correlation
1
.525**
-.407**
-.530**
-.612**
Sig. (2-tailed)
 
.000
.000
.000
.000
N
254
254
254
254
254
VT16
Pearson Correlation
.525**
1
-.637**
-.564**
-.286**
Sig. (2-tailed)
.000
 
.000
.000
.000
N
254
254
254
254
254
HD02_S02
Pearson Correlation
-.407**
-.637**
1
.721**
.093
Sig. (2-tailed)
.000
.000
 
.000
.139
N
254
254
254
254
254
PRes16D
Pearson Correlation
-.530**
-.564**
.721**
1
.391**
Sig. (2-tailed)
.000
.000
.000
 
.000
N
254
254
254
254
254
Pres80D
Pearson Correlation
-.612**
-.286**
.093
.391**
1
Sig. (2-tailed)
.000
.000
.139
.000
 
N
254
254
254
254
254
**. Correlation is significant at the 0.01 level (2-tailed).






















Tuesday, April 18, 2017

Assignment 4

Part 1

Question 1:


Interval Type
Confidence Level
N
α
Z or t
Z or t value
A
Two-tailed
90
45
.05
Z
1.64, -1.64
B
Two-tailed
95
12
.025
t
2.201, -2.201
C
One-tailed
95
36
.05
Z
1.64
D
Two-tailed
99
180
.005
Z
2.57, -2.57
E
One-tailed
80
60
.2
Z
.84
F
One-tailed
99
23
.01
t
2.508
G
Two-tailed
99
15
.005
t
2.977, -2.977

Question 2:
-2 tailed t test, a (significance level)=.025

Ground Nuts:
        a) μ=.52   σ=.3     n=23   Î¼h=.57
               t test statistic=.011
          b) Null Hypothesis:  There is no significant difference between the sample mean of ground nuts and the hypothesized mean of yields for the whole country.
              Alternative Hypothesis: There is a difference between the sample mean of ground nuts and the hypothesized mean of yields for the whole country.
              In this case because the t test statistic falls (.011) falls between the critical values (-2.074 and 2.074), we fail to reject the null hypothesis, stating that the result falls within a normal distribution or that there is little or no difference between the sample and hypothesis means.
         c) Probability Value: .54 or 54%.  This value is still below the confidence level of 97.5% so we can verify that it is true that we fail to reject the null.

Cassava:
          a)  μ=3.3   σ=.75   n=23   Î¼h=3.7
                t test statistic=.099
         b)Null Hypothesis:  There is no significant difference between the sample mean of Cassava and the hypothesized mean of yields for the whole country.
            Alternative Hypothesis: There is a difference between the sample mean of Cassava and the hypothesized mean of yields for the whole country.
            The test statistic (.099) falls between the critical values (-2.074 and 2.074), we fail to reject the null hypothesis, meaning there is little or no difference between the sample and hypothesis means.
         c)Probability Value: .54 or 54%.  This value is still below the confidence level of 97.5% so we can verify that it is true that we fail to reject the null.

Beans:
         a)  μ=.34   σ=.12   n=23   Î¼h=.29
              t test statistic=.049
         b) Null Hypothesis: There is no significant difference between the sample mean of Beans and the hypothesized mean of yields for the whole country.
             Alternative Hypothesis: There is a difference between the sample mean of Beans and the hypothesized mean of yields for the whole country.
            The test statistic (.049) falls between the critical values (-2.074 and 2.074), we fail to reject the null hypothesis, meaning there is little or no difference between the sample and hypothesis means.
         c)Probability Value: .54 or 54%.  This value is still below the confidence level of 97.5% so we can verify that it is true that we fail to reject the null.

d) The similarities for each crop as the results show are that all of the sample means for each fall very close to the actual mean for each.  We can expect this also because the standard deviations for each are quite small.  In each case there is little or no difference between means so we fail to reject the Null.

Question 3:

μ=6.4   σ=4.4   n=17   Î¼h=.4.2
1)Null Hypothesis: There is no difference between the sample mean pollutant level of a stream and the hypothesized mean pollutant level.
2)Alternative Hypothesis: There is a difference between the sample mean pollutant level of a stream and the hypothesized mean pollutant level.
3)t test
4)Significance Level of .05
5)t test statistic=2.075
6) We reject the Null Hypothesis, stating that there is a difference between the sample and hypothesized stream pollutant levels because the test statistic falls outside the critical value of 1.746.
Probability Value: .97403 or about 97.4%.  This is over the 95% Significance Level so this is another indicator that we reject the null, or that there is a difference between the means.

Part 2

Looking at two different shapefiles, one of block groups for the City of Eau Claire and the other for block groups in Eau Claire County, the question we want to answer is if the average value of homes in the city blocks groups is significantly different from average home value in the block groups for the whole county.  To do this we can use the Steps for Hypothesis Testing:
1)Null Hypothesis:  There is no difference between the average home value of the city of Eau Claire block groups and the average home value of the Eau Claire County block groups.
2)Alternative Hypothesis:  There is a difference between the average home value in the City of Eau Claire and the average home value in Eau Claire County. 
3) Z Test
4)Level of Significance: .05
5)Test Statistic=  -2.57
      μ=151876.5   σ=49706.92  n=53  μh=169438.1
6)In this case we would fail to reject the null hypothesis, which means that there is little or no difference.  The test statistic (-2.57) fell below the critical value of 1.64.  We can then use this to answer the original question:  The average value of homes for the City of Eau Claire block groups is not significantly different from the block groups for Eau Claire County.  The map below differentiates which block groups out of the county belong to the City of Eau Claire and also shows the how each block groups average home value deviates from the average for the County.  Although it appears that some of the block groups in the City of Eau Claire are below average, it is not enough to make the difference statistically significant or fail to reject the null.








Wednesday, March 8, 2017

Assignment 3

Introduction:
There has been concern among county officials about the increase in foreclosures in Dane County, WI from 2011 to 2012.  Looking at the foreclosures geographically, one can analyze spatial patterns of how the foreclosures have changed from one year to the next.  To analyze, the z scores of 3 census tracts within the county for each year were found.  The research will explain patterns of foreclosure and predictions using Z scores about the foreclosure patterns in the following year, 2013.  It will also answer questions about the chances of increase in foreclosure and be visualized with the aid of maps.  Specifically, what the number of foreclosures will be exceed 70% and 20% of the time in the future, 2013. 

Methodology:
Data was used from the U.S. Census for Dane County in 2011 and 2012.  For the first part of the issue at hand, a map of the differences of observation of foreclosures at each track between the years 2011 and 2012 was made.  To do this, a field was added to the attribute table of the census track data in ArcMap by subtracting the differences in the 2012 field from the 2011 field.  A graduated symbols map was then made based off of standard deviations of this new field of differences (map 1).  The standard deviations show how tightly the differences values in each track are clustered around the mean of foreclosures.  Standard deviations farther from zero mean that those tracks have greater outlier numbers of foreclosures, either much higher or much lower differences between the two years, than the average of the differences.  The next part of the assignment involved calculating z scores for three tracks from each year of data using the z score equation.  The Z score shows the number of deviations on a standard deviation chart a foreclosure observation is above or below the mean.  The Z scores can then be used to find probability of future foreclosure patterns by using a z score chart probability chart.  To predict foreclosures for 2013, the differences field was added to 2012 track field to estimate foreclosure numbers in 2013 if current trends like those between 2011 and 2012 continue.  Working the z score equation in reverse after finding the z score which aligned with the percentage on the z score chart for the tracks in 2013 estimate field, the observation number which the tracks had to be over to exceed either 70% or 20% of the time was found. 

Results:
As indicated in map 1 below, most county track differences (all but 4 tracks) between 2011 and 2012 fell between -2.5 and 2.5 standard deviations above or below the mean.  This means that these tracks had greater or lesser difference values than the average number of differences between the years 2011 and 2012.  The tracks deviating most from the average seemed to occur along the outside of the county.  The inner square area of the county had the most tracks with -.5 to .5 deviations.  The results obtained from z score calculations using the mean and standard deviation for all tracks in both the 2011 and 2012 fields are as follows:
Tracks in 2011:
122.01: z score of -.61
31: z score of 1.44
144.01: z score of 2.35
Tracks in 2012:
122.01: z score of -.63
31: z score of .57
114.01 z score of 2.69
These indicated the placement of each tracks distance above or below the average on the standard deviation curve.  The deviation in each of these particular tracks from the average number of foreclosures can be determined.  Track 144.01 deviates the most and has a greater number of foreclosures than the others.  Also, tracks 144.01 and 31 had the greatest amount of difference between the two study years, indicating that the deviation from the average number of foreclosures in track 31 decreased and the increased in track 114.01.  The mean also increased from 11.39 in 2011 to 12.29 in 2012.  Using the patterns in 2012, the number of foreclosures estimated in 2013 to exceed 70% need to be above 6.23.  As shown in map 2, this included about half of all tracks, found mainly in the northern part of the county.  The number of foreclosures to be exceeded 20% of the time, needed to be above 20.61, and included fewer tracks.  A map was made by selecting for counties with greater numbers than 7.14 or 20.61.

Map 1




Map 2

Conclusions:
The results show that the concern for an increase in foreclosures in Dane County is valid.  As map 2 shows, the number of foreclosures can be exceeded in the following year the majority of the time.  For example, 70% of the time in 2013, there are many tracks in the country that will exceed the number of observations given.  This is a fairly high amount. 

Monday, February 20, 2017

Quant Assignment 2

Part 1:

In trying to decide which cycling team to invest money behind, either Team ASTANA or Team Tobler it is helpful to consider each teams range, mean, median, mode, Kurtosis, Skewness, and Standard Deviation.  Definitions of each of these are below:
  • Range: the difference between the highest and the lowest values in a set of data
  • Mean: the average or central value of a set of data found by adding all values up and dividing by the total number of values
  • Median: the middle or midpoint of a distribution of ranked values 
  • Mode: the value that occurs most frequently in a set of data
  • Kurtosis: how flat or peaked a curve of data is compared to the normal distribution.      -negative kurtosis (platykurtic): curve is flatter, is a negative number less than -1                  -positive kurtosis (leptokurtic): curve is more peaked, is a positive number greater than 1
  • Skewness: measures deviation of symmetry from the mean, can be either positive (longer tail to the right of the line for the mean) or negative (longer tail to the left)
  • Standard Deviation: statistical measure of how closely data values are to the mean in a set, a higher standard deviation means the data are spread out farther from the average
The data and calculations for each team are shown below:
Standard Deviation Calculations:


If the entire team that has the better race times gets more money per winning (400,000) and the team owner gets a higher percentage of those winnings (35%) then I would choose Team ASTANA.  Team ASTANA has the lower (fastest) average race time (37 hours and 57 minutes), beating Tobler (38 hours and 5 minutes) by 8 minutes.  The team also has the lowest sum for all its riders 34150 compared to 34282 on team Tobler.  Looking at Kurtosis, team ASTANA is relatively less peaked or close to 0, meaning the data for that team fall closer to the normal distribution.  Team ASTANA is also less skewed than Tobler.  This means that they have data that falls equally to both sides of the mean, indicating that they have riders that are really fast, but also slow.  However, this evens out to give a smaller mean, which means an overall faster team.  The fastest riders are carrying the weight for the team.  A more negative skewness shows that the data leans more to the right and there are relatively few lower numbers, which is what we don't want since low numbers means a faster score.  Lastly, although team ASTANA has a higher standard deviation, meaning it has numbers that fall farther from the mean, its fastest riders are causing the mean to be smaller.  It has riders that deviate more in each direction, which is also showed in the range, but generally it evens out to be a faster team.  Looking at the mean is the bests statistic to support Team ASTANA. 

Part 2:
For this part, population data for Wisconsin Counties was used to find the Geographic Mean Center and the weighted mean center for population in the years 2000 and 2015.  Geographic mean center finds the center of concentration of features using x and y coordinates.  The weighted mean center adjusts for the frequencies of data that are grouped together.  The map produced is shown below:
From the map, it can be seen that the geographic mean center at the county level is located almost exactly in the middle in the state in Wood County.  This is the central tendency, or the average of the x and y coordinates are located at this position.  After weighting the mean center with population data from 2000 and 2015, the mean center moved slightly to the south east to Green Lake County.  Taking the frequency of population into consideration changed the location.  Between the years 2000 and 2015 the mean center shifted very slightly to the west but is still found in the same county, Green Lake.  This could indicate that the population of counties to the west of the coordinate points for the 2000 mean center of population rose in a very small amount, or counties with a higher frequency of greater populations occurred to the west.


Wednesday, February 1, 2017

Quantitative Methods Assignment 1

Part One:

Nominal Data: this is data that is distinguished by a naming system to label variables.  This data is not usually measurable or quantifiable.  The map below contains nominal data because it uses names to differentiate the distinct climate zones across the globe and the variables do not contain numbers.
Source: http://esdac.jrc.ec.europa.eu/projects/RenewableEnergy/Images/Climate_Zone%2011_s.jpg

Ordinal Data: data that can be put into a ranking order or category based on position on an established scale.  The difference between rank can not be measured.  The map below shows an example of ordinal data because it is ranked into order in three categories with no way measuring the difference between each ranking.

Source: http://aldf.org/wp-content/uploads/2015/12/ALD-127-US-Protection-laws-rankings-map-2015-Large2.png

Interval Data: data that can be measured along a scale with each point being equal distance from one another.  Interval data can not have zero as a starting point and can not be multiplied or divided by.  The map below shows interval data because elevation does not have a starting point and each increment on the map goes up equally.

Source: http://topocreator.com/ned-jpg/city_a/600/mn.jpg

Ratio Data: Data that is measured along a scale with each point being equal distance from one another.  Unlike interval data, ratio data have a known starting point of zero.  The map below shows ratio data because the starting point is zero and progresses by intervals of 8 million.
Image result for equal interval map
Source: http://support2.dundas.com/OnlineDocumentation/RSMap/Images/DesigningMaps1.bmp

Part 2
In an effort to visualize where the numbers of female farm operators in Wisconsin are located and where there needs to be an increase in farming among females I have created the following maps.  Each map has a different classification method, therefore changing the look of the map.
The first map, shown below, uses equal interval classification.  Equal interval uses the range of data from highest to lowest and divides that by the number of classes desired, in this case 4.  Each interval will be the same size but might not have the same number of data in them.

Equal Interval


The next map was classified by Jenks Natural Breaks.  Natural Breaks finds the minimum variance in data by finding class breaks based off of differences in size of numbers in a set of data.
Jenks Natural Breaks

The last map is classified using the Quantile method.  This method places an equal amount of units in each class, unlike the equal interval method.

Quantile Method
The company should be targeting counties that are lightest in color, or have the fewest number of female farm operators, since these are the places which would benefit the most for marketing and have the most need to increase their numbers.  The map with the best classification method for the job is the Natural breaks map because it groups similar values the best to give a more accurate representation of the numbers of female farmers in each county.  It also keeps the intervals of classes with fewer female farmers smaller so it is easier to differentiate sizes and target these counties for marketing.  The last class can have a larger grouping because we are not interested in the counties with the highest numbers of female farmers.  From this map it is clear to see that counties in the northern portion make up the largest portion of the state lacking female farmers. 

Sunday, May 15, 2016

GIS Final Project

Goals and Background:
My spatial question for this project was: what areas provide suitable habitat for deer in La Crosse County Wisconsin?  Deer live in areas an appropriate distance away from major roads and urban areas, near water sources like rivers, streams and lakes, and in land cover types like forests, woody wetlands, and herbaceous cover.  Using tools like buffer, intersect, erase, and dissolve I will narrow down areas that have all the criteria in common. This information could potentially benefit hunters, wildlife enthusiasts, or members of the DNR who are tracking deer numbers in the county.  This project is important because it could be used for both recreation and ecological purposes.  Looking at the map, one will be able to easily identify exactly where the largest populations of deer should be or where their population needs to be controlled to go.

Methods:
I used the standard set of Esri data provided by ArcGIS that had been preloaded on the department server and added the cities, urban areas, highways, water bodies, rivers and streams, and county layers. I also found the vegetation layer on the Geospatial Data Gateway website entitled National Land Cover Dataset by State.  I then selected La Crosse County from the counties layer and used this to clip all the other layers.  I changed the coordinate system of the data frame to NAD 1983 State Plane Wisconsin South FIPS 4803 and projected all the other layers to match it.  Because my vegetation layer was a raster dataset, I had to use Raster tools to select the vegetation types of interest, which consisted of forest, herbaceous land, and woody wetlands and then clipped and projected it to match to other layers.  Then I used the raster to polyline tool because unlike the raster to polygon, it kept the cover types distinct and converted it to vector format so I could later intersect it.  I dissolved the internal boundaries that were in the urban and water bodies layers so it would not cause conflicts with the buffer later on.  I then used the buffer tool to buffer areas within 500 meters of rivers and streams and intersected that with the vegetation layer.  From this, I got a layer which showed suitable vegetation areas within a desired distance from water sources.  Next I made a 1000 meter buffer of the highways layer since this was an advisable distance from heavy traffic areas to avoid accidents, and erased it from my suitable vegetation layer and named the new layer Away From Roads.  I also made a 2000 meter buffer away from urban areas because deer should not be near cities and erased that from the Away From Roads layer.  This gave me my final layer of suitable habitat.  See figure one for work flow.




Figure 1: Work Flow for the Project with the final layer resulting in suitable habitat for Deer in La Crosse County, Wisconsin.





Results:
The result of my work shows area in La Crosse County that can be easily and safely inhabited by deer (figure 2).  The final layer shows land area near streams and rivers, in the proper vegetation types for deer, and away from highways and urban areas.   This area is the proper area for deer to live and avoid dangerous encounters with humans like car accidents


Figure 2: Final Map of Suitable Habitat for deer in La Crosse County, WI




References:
 Esri data base. USA Data. 2013., 5/2/2016.
  Geospatial Data Gateway. National Land Cover Dataset by State. 2011., 5/2/2016



Monday, May 2, 2016

GIS 1 Lab 5

Goals and Background:
The goal of this lab is to determine which vector geoprocessing tool to use in a given situation and apply that tool correctly.  In this lab, we will use the tools to find suitable habitats for bears in Marquette County Michigan. We will use GPS locations of black bears and fit their locations with a suitable forest habitat.  Other criteria like proximity to streams will also be used to determine the best habitat for bears.  The lab will also introduce basic scripting in python for ArcGIS with vector geoprocessing tools.

Methods:
To start, I downloaded the data and created a feature class for bear locations based off of XY coordinates from an excel sheet.  I then used the intersect tool with the bear locations and landcover feature classes to combine the bear ID and habitat type fields to find the three most popular habitat types the bears were found in.  Then I found how many bears were found within 500 meters of streams to determine if that was a popular location for them.  I buffered the streams and intersected that outcome with the bears locations.  The majority of bears were found near streams.  I then used the popular land cover types and the proximity to streams to find general suitable habitat for the bears.  I made a layer by selecting the bears three most popular landcover types and intersected that with the proximity to streams layer.  After dissolving the boundaries within the layer, I got a map of suitable bear habitat (figure 1).  The next objective was to find suitable habitat that was on DNR management land.  I used dnr_mgmt layer and used the clip tool to get it only within the study layer and not the whole county, and then the dissolve tool to get rid if the internal units.  Next I intersected the modified dnr_mgmt layer with the previous suitable bear habitat layer and got suitable land within dnr boundaries (figure 2).  The next step involved changing the suitable bear habitat layer to exclude areas within 5 kilometers of Urban or Built Up lands.  I selected Urban from the landcover feature class and dissolved it.   I then applied the 5 km buffer using the Buffer tool and used the Erase tool to erase it from the suitable bear habitat (figure 3).  For the second part of the lab, I used python scripting to find areas in Wisconsin that are suitable for the development of resorts (figure 5).  I created a 10 miles buffer around cities and wrote code to select by attribute for lakes greater than 5 sq. mi.  For the second task of part 2, I wanted to create potential impact zones of air pollution around interstates in Wisconsin.  In python scripting, I used code for a multiple ring buffer around interstates and created a graduated colors map (figure 6).

Results:


Figure 1: All suitable habitat for bear within the study area of Marquette county





Figure 2: Suitable land for bears within DNR management land in the study area


Figure 3: Suitable habitat for bear with a 5 km buffer from urban land




Figure 4: Final product showing suitable area and area with DNR management land



 Figure 5: python code for a buffer are lakes to find areas suitable for a resort


Figure 6: Air Pollution hazard index around interstates in Wisconsin using a graduated colors map.

Sources:
 Michigan Department of Natural Resources (DNR). 5.1.2016
 Price, Maribeth. 2016.  Mastering ArcGIS. 7th Edition data. McGraw Hill.
 Wilson, Cyril 2012, A comprehensive Lake features for Wisconsin, Unpublished data.