Week 6 Lab Exercise

In this exercise, we’re going to conduct a (very brief) data analysis including some hypothesis testing and document it using a Quarto document. For this analysis, you will use data from the Tree Inventory data (TS3_Raw_tree_data.csv) file.

There will be four headers in this document:

First header: About the project

  • Some text noting the study is about differences among Willow oak trees in different urban settings, and that the data come from a collection of tree inventories that can be found here.

  • An image of a Willow oak tree (ideally a street tree).

Second header: Modifying the data

  • Some text describing what you’re doing to the data.

  • A code chunk where you read the data in as a tibble and perform the following subsetting operations

    • create a subset from the original that only includes Willow oak trees

    • create a subset of that data that only includes trees from Charleston, SC and Charlotte, NC

Third header: Visualizing Willow oak heights

  • Some text describing which variables are being plotted and what sort of pattern you see

  • A code chunk that produces a plot demonstrating variability in tree heights among trees in each city (think about what kind of data this is before deciding on a plot type)

Fourth header: Testing Willow oak heights

  • Some test that states a hypothesis, identifies the data, conducts a test, and interprets the p-value.

  • A hypothesis test for a differences in height between Willow oak trees

  • If appropriate, assess whether the assumptions of the test are met.

When you’re done, save your .qmd file and submit it to Canvas.