Where do we grow things? This is an important question that can be answered in a few ways, but a more direct way is to just ask growers. This is what they did at a national scale in the 2017 United States’ Agriculture Census and here I am going to use R to load it, filter it, and plot the result.
To start we need to download the data and the shape file of the USA counties (or states).
I never liked public speaking. When I was in primary school, I remember getting my younger sister to buy things for me from shops so I could avoid talking to adults. Although less severe in my adult life, I still can’t say I particularly enjoy giving presentations for their own sake. But what I have realised is that communication is a hugely important skill in just about professional role, which motivated me to push passed the discomfort.
I don’t know why, but it took me a little while to properly make sense of these diagnostics, so I wanted to develop a very simple illustration of the logic behind these concepts. ROC stands for Receiver Operating Characteristics, while AUC is the area under this curve, which is used as a metric for model performance in a classification problem. Perfomance is measured as the ability to maximise true positives, while minimising false positives.
Soil structure and health is critical to water availability, nutrient cycling, and plant productivity. By extension, soils will have strong associations with invertebrate community assemblage, diversity, and abundance and is thus a invertebrate science.
Modern spatial datasets on soil are available to help us intergrate variation in soil characteristics in the prediction of invertebrate processes. In Austalia, one of the newer soil data sets is Soil and Landscape grid of Australia.
Proportions are a funny thing in statistics. Some people just seem to love percentages. But there is a dark side to modelling a response variable as a percentage.
For example, I might be tempted to fit a linear model to mortality data on some insects exposed to heat stress for some time. To prove the point I will simulate some data.
library(tidyverse) time = rep(0:9, 10) n = 100 a = -1 b = 0.