In a study on a bird, breeding territories were mapped in 1990 and controlled in 2017. Each territory is one sample with the dependent variable territory abandoned (possible values: "yes" and "no"). I also sampled temperature, precipitation and forest cover both in 1990 and in 2017 and I want to find out if these have a effect on territory abandonment.
So, I'd like to carry out a multivariate analysis like GLMM (the territories were mapped in several patches) to analyse the effect of absolute veriable values as well as variable changes over time on territory abandonment. However, I am quite unsure about the statistical design I should be using. Any help?
I have attached some example data to illustrate the issue.
> Example.Data
1 ID abandoned temp.1990 temp.2017 prec.1990 prec.2017 forest.1990 forest.2017
2 1 n 3.4 5.97 1754 1611 33 61
3 2 n 3.5 6.08 1632 1699 56 66
4 3 n 6.1 8.71 1890 1610 46 49
5 4 n 4.5 6.33 1662 1894 32 48
6 5 n 5.5 8.18 1638 1716 60 67
7 6 n 5.2 7.16 1765 1660 50 54
8 7 n 3.6 5.78 1745 1674 54 42
9 8 n 4.3 7.22 1806 1727 65 52
10 9 n 4.1 6.11 1733 1618 48 61
11 10 n 4.8 6.34 1756 1665 43 52
12 11 n 5.1 7.96 1741 1788 39 66
13 12 n 3.9 5.60 1878 1613 52 64
14 13 n 4.2 5.91 1814 1692 70 67
15 14 n 3.5 5.38 1805 1798 61 61
16 15 n 3.6 5.58 1955 1641 45 56
17 16 n 4.5 5.83 1757 1815 31 43
18 17 n 5.6 6.98 1910 1649 65 41
19 18 n 5.1 7.66 1924 1714 52 62
20 19 n 2.9 5.85 1960 1736 55 58
21 20 n 3.8 6.79 1747 1594 49 56
22 21 n 5.7 7.59 1602 1689 43 62
23 22 n 4.7 7.24 1976 1565 34 66
24 23 n 3.5 5.08 1684 1648 38 66
25 24 n 3.7 5.29 1778 1700 52 44
26 25 y 3.7 6.59 1746 1694 50 35
27 26 y 6.3 8.52 1681 1634 52 97
28 27 y 4.4 8.12 1762 1740 35 54
29 28 y 6 10.30 1962 1584 45 96
30 29 y 6.3 9.82 1811 1709 36 77
31 30 y 5.4 8.27 1666 1727 49 95
32 31 y 5 6.45 1779 1720 61 78
33 32 y 6.3 9.22 1804 1587 59 91
34 33 y 6.5 9.33 1727 1673 58 56
35 34 y 6.3 9.42 1822 1693 33 59
36 35 y 5 6.55 1887 1562 65 91
37 36 y 4.1 7.71 1727 1618 49 81
38 37 y 4.9 6.15 1896 1691 60 82
39 38 y 5 6.45 1837 1592 39 78
40 39 y 3.8 7.99 1788 1745 66 38
41 40 y 5.3 7.57 1964 1606 35 97