-
Notifications
You must be signed in to change notification settings - Fork 0
/
06-appendix.Rmd
78 lines (60 loc) · 4.08 KB
/
06-appendix.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# (APPENDIX) Appendix {-}
# Appendix
(ref:manipulated-costs) Participants answers which were declared as extreme outliers for reported expenses and their number of colonies wintered. (A) Before manipulation of expenses. (B) After calculating new expenses based on reported expenses divided by the number of colonies wintered.
```{r manipulated-costs, out.width="100%", include=T, fig.cap="(ref:manipulated-costs)"}
include_custom("output/figs/manipulated-costs.png")
```
(ref:extrapolation-estimate) Multiplication of the mean estimated treatment expenses per colony with the total number of honey bee colonies wintered from the survey participants and extrapolation for Austria with the number of colonies as reported from the Austrian beekeeping federation 'Biene Österreich'. Confidence intervals for point estimates are calculated with 1,000 bootstrap resamples. Two methods applied arithmetic mean and geometric mean. Basis of the calculation are the estimated mean expenses for one colony.
```{r extrapolation-estimate, out.width="100%", include=T, fig.cap="(ref:extrapolation-estimate)"}
include_custom("output/figs/extrapolation-estimate.png")
```
(ref:size-permutation) Median difference null distribution (gray bars) based on 5,000 permutations. Red line is the point estimate for the median difference with yellow area as the 95% confidence interval. Red shadow indicating the calculated two-sided *p*-value range on the null distribution.
(ref:size-permutation2) The *p*-values reported as "\*\*\*" would need more permutation to calculate a precise *p*-value.
```{r size-permutation, out.width="100%", include=T, fig.cap="Two level factor analysis statistical test results for 'Operation Size'. (ref:size-permutation) (ref:size-permutation2)"}
include_custom("output/figs/size-permutation.png")
```
```{r organic-permutation, out.width="100%", include=T, fig.cap="Two level factor analysis statistical test results for 'Certified Organic Beekeeper'. (ref:size-permutation)"}
include_custom("output/figs/organic-permutation.png")
```
```{r migratory-permutation, out.width="100%", include=T, fig.cap="Two level factor analysis statistical test results for 'Migratory Beekeeper'. (ref:size-permutation)"}
include_custom("output/figs/migratory-permutation.png")
```
```{r model-qq-residuals, out.width="80%", include=T, fig.cap="Distribution as QQ-plot for the model residuals after fitting the selected best model 'Base + Treatment Methods' on the training dataset."}
include_custom("output/figs/model-qq-residuals.png")
```
```{r motivation-state-rank, include=T}
cn <- c("State", "Category", "Answers [%]", "Rank")
c <- "Top 7 motivation answers for choosing \\textit{Varroa} control method for each state separately. Participants could select out of a pool of 21 categories and where able to pick up to 5 categories maximum. 'Answers' is the relative amount the corresponding category was picked. Rank simply the decreasing order of the relative value in each state."
tab <- knitr::kable(
r_motivation$state_rank,
align = c("l", "l", "r", "c"),
booktabs = TRUE,
row.names = FALSE,
col.names = cn,
caption = c
) %>%
kable_styling(latex_options = "scale_down") %>%
kableExtra::collapse_rows(
1,
valign = "top",
latex_hline = "major",
)
tab
rm(tab, c, cn)
```
```{r motivation-comb-full, include=T}
cn <- c("Motivation", "Answers", "Motivations")
c <- "Top 25 motivation answers combinations for choosing \\textit{Varroa} control method given by participants. Participants could select out of a pool of 21 categories and where able to pick up to 5 categories maximum. 'Answers' is the total number this combination was picked and 'Motivations' are the number of different categories in this combination, whereas 1 would indicate a single answer."
tab <- knitr::kable(
r_motivation$comb_list %>% select(motivation, n, motivations) %>% dplyr::slice_max(n, n = 25),
align = c("l", rep("r", 2)),
booktabs = TRUE,
row.names = FALSE,
col.names = cn,
# format = "markdown",
caption = c
) %>%
kable_styling(latex_options = "scale_down")
tab
rm(tab, c, cn)
```