library(tidyr)
library(dplyr)
library(ggplot2)
library(forcats)
library(readr)
## theme for ggplot
theme_set(theme_classic())
theme_update(text = element_text(size = 14))Day 8
Freie Universität Berlin @ Theoretical Ecology
Question: How does the probability of seed germination vary with the density (= seeds per pot)?
lm()The probability of getting exactly k successes in N independent Bernoulli trials (with the same success probability p)
Bernoulli trial: Event with two potential outcomes: “success” (p), or “failure” (1 – p)
Question: How does the number of beech seedlings vary with soil moisture in the plots?
lm()The probability of a given number of events (= seedlings) in a fixed interval of time or space if these events occur with a constant mean rate.
Explore the shapes of the Poisson and binomial distribution!
Intro to Generalized Linear Models