Saturday, November 11, 2017

Assignment 4

Introduction:

Assignment 4 is all about testing hypotheses. It involves distinguishing between a z or t test, calculating a z and t test, using steps of hypothesis testing, making decisions about the null and alternative hypotheses, and lastly taking real-world data and associating stats and geography.

Methods:

Part I: t and z tests

For the first section, complete the given chart by filling in the columns labeled α (the significant level for the given test), z or t (deciding whether the example is a z or t test), and lastly z or t Value (the Critical Value for the given significance level).

In the second section the Department of Agriculture and Live Stock Development organization in Kenya estimate that yields in a specific district should approach the given amounts in metric tons per hectare. Test the hypothesis of Ground Nuts, Cassava, and Beans, assuming they are 2 tailed with a 95% Level of Confidence. Next, present the null and alternative hypotheses for each and there conclusions. Figure out the probabilities values for each crop as well as the similarities and differences in the results.

The third and final section for Part I is testing a researchers hypothesis who suspects that the level of a certain stream's pollutant is larger than the allowable limit of 4.2 mg/I. Create conclusions, following the hypothesis testing steps, on a sample of n=17 that revels a 6.8 mg/I mean pollutant level, with a 4.2 standard deviation. Assume the sample is a one-tailed test with a 95% Significance Level, and find the corresponding probability value of the calculated answer.

Part II

Using appropriate Hypothesis Testing, find the answer to the question: is the average value of homes for the city of Eau Claire block groups significantly different from the block groups for Eau Claire County? In order to figure this out, use the two shape files provided in the Assignment 4 folder to create a projected map that shows the average house prices for the county as a whole.

To figure out if the average value of houses per block are the same in Eau Claire city as Eau Claire county, use the given shapefile data to create a hypothesis test. Analyze the values in ArcMap, and use the statistics function in order to determine the difference for average block group value between Eau Claire City and County. 

Results:

Part I: t and z tests


Figure 1 shows the completed chart from the first question in part 1. The right three columns were newly filled in.


Figure 2 shows the t-chart I used to fill in the table in Figure 1.


Figure 3 shows the z-chart I used to fill in the table in Figure 1.

Department of Agriculture

For this problem, a T-test will be conducted because N is less than 30. Since there is 95 percent significance level and a 2 tailed test, use the T-chart to find the T probability. Divide the excess 5 percent by 2, to get 0.25 in the column section, and n-1 to get 23 for the row section. The critical value will be 2.074. Then compare each product's T-value to the critical value to see if it rejects or fails to reject the Null Hypothesis.

T-value for Ground Nuts is -0.67, so it fails to reject the Null Hypothesis.
T-value for Cassava is -2.67, so it rejects the Null Hypothesis.
T-value for Beans is 1.67, so it fails to reject the Null Hypothesis.

As you can see, the Ground Nuts and Beans are similar because they both fail to reject the Null Hypothesis. Whereas Cassava is different because it actually rejects the Null Hypothesis.

Stream Pollutants

 Again, a T-test will be used to solve this problem. Using the t-shirt locate the critical value by looking at row 16, and the column classified by 0.05. The critical value will be 1.746.

The T-value for the pollutant stream level is 2.35, therefore it rejects the Null Hypothesis proving that the stream is significantly polluted.

Part II:

After comparing the average block household value between Eau Claire City, 151876.50, and Eau Claire County, 169,438.12, one will find that the average house is close to 18,000 dollars more for the county than the city. The Map shown in Figure 4 shows the difference the average value of houses in Eau Claire City and County block groups.

Figure 4. Map of the average Value of Homes for Eau Claire County

Conclusion:

After completing various Hypothesis tests and creating a map, it is evident that the majority of the block groups within Eau Claire city are much lighter than the surrounding block groups in county. The lightest block groups are located near the center of the city, and the darkest block groups are in the South central block groups.

Sources:

All data was found in the shared folder labeled: Q:\StudentCoursework\RWeichelt\GEOG.370.001.2181\Share\Assignment4 

No comments:

Post a Comment