Below you will find a two tasks, similar to exercises we have done in class. Your task is to produce a document answering the numbered questions below using the tools you’ve learned in unit 1. Please produce a word/PDF document or similar with the answers organised by Task and question. If figures or tables are requested, you can embed them in this document. Note that figures and tables should be near publication quality - proper use of colours, labeled axes, units included, etc.
Please do not embed code in this document unless specifically asked to do so. Instead, please save your code in a separate R file. You can mark the task and question number using comments in the code. Turn in the code along with the writeup.
You may work on this individually or in small groups (maximal 3 students). Please turn this in to Lauren (lauren.talluto@uibk.ac.at) by February 14, 2025 at the latest. If you are stuck, please get in touch by email to make an appointment well in advance.
We will use a dataset (from Fandos et al. 2022) of dispersal distances of European birds. One important question is whether birds overall have greater dispersal requirements when first leaving the nest where they hatched (natal dispersal) or when dispersing as adults among different breeding sites (breeding dispersal).
Here is some code to load the data (which is located in
vu_datenanalyse_students/unit_1/data/
):
# assumes your working directory is already unit_1
bird_disp = read.csv("data/birddisp.csv")
Note that, because we don’t have breeding and natal values for all species, we will have slightly different sample sizes for each.
This dataset has three columns:
species
: The species under considerationtype
: Whether the dispersal distance concerns breeding
or natal dispersaldisp_dist
: The dispersal distance, in km.The original paper details many important factors that might influence dispersal distance, but we will focus on a relatively simple hypothesis: Averaging across all species, natal dispersal exceeds breeding dispersal.
With that in mind, please do the following:
Load the environmental values dataset (Pinder et al, 2020).
env = read.csv("data/env_values.csv")
University students in Australia were asked various questions about their environmental values, desires for conservation careers, and educational background. We will examine two variables to address the hypothesis that students from families that value the environment rate more highly the quality of their education about environmental values.
The data has two variables:
env_education
contains responses to the question,
“Thinking back to your schooling overall, how adequate was your
education about environmental problems?”, ranging from 0 (extremely
inadequate) to 5 (extremely adequate).value_of_env_protection
has responses for, “How
important is protecting the environment in your family?”, ranging from 0
(not important) to 7 (very important)… note that one student indicated
-1 – you might have to deal with this somehow.