Exercise

# Random intercept model

"How does relative humidity influence the abundance of orchids?"

Since you are more interested in answering a question about the wider population of sites rather than the particular sites we have sampled, you will move from a GLM to a random intercept model to examine how variable the intercept coefficient is across sites.

Recall that a random intercept model can be built using:

```
lme(y ~ x, random = ~1|randomEffect, data = myData)
```

Note that the `orchids`

data set and `nlme`

library have been preloaded.

Instructions

**100 XP**

- Look at the research question and build a random intercept model to evaluate how
`site`

effects the intercept of the model. - Look at the output of the model.