Tuesday, September 26, 2017

Assignment 1: Different Kinds of Data and Mapping

Part 1

To distinguish between the different types of data: nominal data generally relates to non-numerical, non-ranked qualitative data, i.e. names of places. In a map created by the author of this blog for a separate class, Figure 1 would be considered a map representing nominal data, because of the use of names as a subject matter, which is both non-numerical and not ranked on any sort of scale.
Figure 1: Reference Map of Africa




























Ordinal data refers to qualitative data that's ranked on some sort of scale. In ordinal data, data can either be strongly ordered--where data is given a concrete, individual rank--or weakly ordered--where data is placed into a category, then ranked. Figure 2 would be an example of an ordinal data map. Taken from realtor.com, the author of this map displayed the top 10 cities for working moms, which represents ordinal data (and also strongly ordered data) because the cities are ranked on a specific scale.
Figure 2: Map of Top 10 Cities for Working Moms
Interval data is data that change continuously over the course of a map, and can take on a multitude of different values. Interval data cannot have the number zero as a starting point, because there can be negative values. The map in Figure 3 is an example of a person displaying interval data on a map.Taken from the Eastern Geographic Science Center, the map in Figure 3 displays elevation. Elevation is considered to be interval data, because the data can either be positive or negative, and changes continuously over the course of the map.
Figure 3: Elevation map of the United States
Ratio data is quantitative data that has a starting point at zero. The theory behind ratio data is because it starts at zero, one could make assumptions about the data like "San Francisco has twice as many people as Portland because San Francisco has 600,000 people while Portland has 300,000." In Figure 4, this map depicts the density of the white-tailed deer in 1988. Created by the people from the Southeastern Cooperative Wildlife Disease Study, the reason this map represents ratio data is because it has a starting point of zero, and the data is quantitative.

Figure 4: White-tailed deer population density in 1988


Part 2


In answering the question "Where the company should concentrate the message to increase farming USDA Certified Farms in Wisconsin," three maps depicting the number of farms per county in 2012 were created. The three maps all utilize the same data, however they differ in their classification methods, with the overall goal of determining which classification method is the best for mapping this kind of data. The first map Figure 1 depicts the quantile method. The goal of the quantile method is to divide the number of observation by the number of classes desired. So for example, in Wisconsin there are 72 counties mapped, each with their own number of organic farms. In the quantile method, one would divide 72 by 4 in order to ensure each class has the same number of observations (so 18 observations each).
Figure 1: Quantile map depicting the number of organic farms per county in 2012

The second map Figure 2 depicts the equal interval method. The goal of the equal interval method is to take the range of the data, then divide it by the number of classes. So for example, in Wisconsin there are 72 observations in the data. For the equal interval method, one would subtract the lowest observation from the highest (233 - 0) , then divide it by the number of classes one desires (in this example, 4 classes).

Figure 2: Equal interval map depicting the number of organic farms per county in 2012
The third map Figure 3 depicts the natural breaks method. The goal of the natural breaks method according to George Jenks (inventor of the natural breaks method) is to take certain gaps in the data, then map them in a way that "maximizes the variance between the classes, and minimizes the variance in the class itself." So for example, in Wisconsin there are 72 observations. With the natural breaks method, one takes the natural breaks in the 72 observations, then creates a map based of where those breaks occurred.
Figure 3: Natural breaks map depicting the number of organic farms per county in 2012
Based off the three maps, the best map to show potential clients on where to put organic farms is the natural breaks map Figure 3. In showing this map to clients, clients probably would want to choose a county where there are a good proportion of organic farms, because it shows that previous farm owners have had success there. Figure 3 is the best for displaying the number of organic farms because the data has the lowest variance in the classes themselves. Figure 2 has too much variance in the classes; 71 out of the 72 counties possess under 65 organic farms, so having a "59-117" and "118-175" class creates confusion because there are little to no counties that fall between the two classes. Also with Figure 2, 70 out of the 72 counties fall within the first class, so with the map reader it creates confusion because it is not clear whether the counties have 0 farms, or 58; it's too large of a disparity.

Figure 1 isn't the best map because the largest class is between "21-233" farms. With that large of a class, it isn't clear to the map reader whether or not a county has 21 farms or 233; again, like Figure 2 it's too large of a disparity. Figure 1 also has a "0-4," a "5-10," and a "10-20" class, which seems unnecessary given farmers want land where they know other farmers have had success, and it's confusing for the reader especially in the "10-20" class because it makes it look like there are more farms then there actually are.

Figure 3, while having a large class in "66-233" farms, exhibits the variance that is best for potential clients because it shows where the farms are, and it also shows where the farms are not (clients probably won't want to invest in land where there are 0-12 organic farms because it shows there probably isn't a lot of farm-able land there). If I'm telling clients to invest in land, I'm showing Figure 3 and I am telling them to invest in either southwestern or western Wisconsin, because it is proven that other organic farmers have had success there (given the fact there are actually farms there), and there isn't a great proportion of organic farms in the area except for one county.











Assignment 6: Linear Regression

Part 1 Introduction : The goal of this assignment is to understand how to use regression to determine correlations between two variables....