The analysis of mean values can be applied to single vectors of data, to pairs of data, and to a multitude of observed measurements.

The Data

For this homework, we are looking at the data from the Rice Rivers Center. Here we will be testing individual, pairs, and complete sets of mean values using t.test and aov values. Start by loading in the raw data using the function that you’ve already made to format it properly.

Questions

For the following questions, answer using statistics, graphs, tables, or whatever you need to properly address the question being asked. Make sure to specifically state which \(H_O\) you are actually testing.

  1. Test the null hypothesis that the average overnight air temperatures (say between 7am & 7pm) on all Mondays in January & February were above freezing. Describe your results verbally with the aid of the statistics, visualization, or whatever you feel will help you make your point.

  2. Are weekend water temperatures in February warmer than weekend air temperatures? Describe your results verbally with the aid of the statistics, visualization, or whatever you feel will help you make your point.

  3. Are there differences in the average rain recorded each weekeay at the Rice Rivers Center? Describe your results verbally with the aid of the statistics, visualization, or whatever you feel will help you make your point.

LS0tCnRpdGxlOiAiQW5hbHlzaXMgb2YgTWVhbiBWYWx1ZXMiCm91dHB1dDogaHRtbF9ub3RlYm9vawotLS0KPGNlbnRlcj4KIVtdKGh0dHBzOi8vbGl2ZS5zdGF0aWNmbGlja3IuY29tLzY1NTM1LzUwNjA5NTcwMDkxXzY2MWZlYWY4MTFfY19kLmpwZykKPC9jZW50ZXI+CgpUaGUgYW5hbHlzaXMgb2YgbWVhbiB2YWx1ZXMgY2FuIGJlIGFwcGxpZWQgdG8gc2luZ2xlIHZlY3RvcnMgb2YgZGF0YSwgdG8gcGFpcnMgb2YgZGF0YSwgYW5kIHRvIGEgbXVsdGl0dWRlIG9mIG9ic2VydmVkIG1lYXN1cmVtZW50cy4gIAoKIyBUaGUgRGF0YQoKRm9yIHRoaXMgaG9tZXdvcmssIHdlIGFyZSBsb29raW5nIGF0IHRoZSBkYXRhIGZyb20gdGhlIFJpY2UgUml2ZXJzIENlbnRlci4gIEhlcmUgd2Ugd2lsbCBiZSB0ZXN0aW5nIGluZGl2aWR1YWwsIHBhaXJzLCBhbmQgY29tcGxldGUgc2V0cyBvZiBtZWFuIHZhbHVlcyB1c2luZyBgdC50ZXN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