-
Notifications
You must be signed in to change notification settings - Fork 0
/
MSM4PCoD_Task3C_Results_2023-10-24.Rmd
156 lines (91 loc) · 2.96 KB
/
MSM4PCoD_Task3C_Results_2023-10-24.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
title: "MSM4PCoD Task 3C Results"
output: pdf_document
date: "2023-10-24"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, message = FALSE)
library(knitr)
source("./Scripts/combinePower.R")
source("./Scripts/plotPower.R")
```
# Does a calf ratio submodel improve power?
```{r, fig.align = "center", out.width = "75%", fig.cap = "Comparison of results from a realistic simualation with and without a calf ratio observational submodel"}
include_graphics("./Figures/ComparePowerPlots_wCalfRatio_Real.png")
```
\newpage
# Results with calf ratio submodel
## Ideal Scenario
```{r}
type <- "IdealWCalf"
ids <- c("NULL_Ideal_wCalfData_2023-10-10", "D50AB_Ideal_wCalfData_2023-10-12")
for (i in 1:length(ids)){
plotPower(ids[i])
}
combinePower(ids, type)
load(paste0("./Results/CombinedPower_", type, ".RData"))
kable(tdata, digits = 2)
```
```{r, fig.align = 'center', out.width = '75%', fig.cap = "Predicted power for ideal scenario"}
include_graphics(paste0("./Figures/CombinedPowerPlots_", type, ".png"))
```
\newpage
## 20-yr Ideal
```{r}
type <- "20yrIdealWCalf"
ids <- c("NULL_20yrIdeal_wCalfData_2023-10-20", "D50AB_20yrIdeal_wCalfData_2023-10-23")
for (i in 1:length(ids)){
plotPower(ids[i])
}
combinePower(ids, type)
load(paste0("./Results/CombinedPower_", type, ".RData"))
kable(tdata, digits = 2)
```
```{r, fig.align = 'center', out.width = '75%', fig.cap = "Predicted power for 20 year ideal scenario"}
include_graphics(paste0("./Figures/CombinedPowerPlots_", type, ".png"))
```
\newpage
## Frequent Surveys Scenario
```{r}
type <- "FreqWCalf"
ids <- c("NULL_Freq_wCalfData_2023-10-12", "D50AB_Freq_wCalfData_2023-10-12")
for (i in 1:length(ids)){
plotPower(ids[i])
}
combinePower(ids, type)
load(paste0("./Results/CombinedPower_", type, ".RData"))
kable(tdata, digits = 2)
```
```{r, fig.align = 'center', out.width = '75%', fig.cap = "Predicted power for frequent survey scenario"}
include_graphics(paste0("./Figures/CombinedPowerPlots_", type, ".png"))
```
\newpage
## Optimistic Surveys Scenario
```{r}
type <- "OptWCalf"
ids <- c("NULL_Opt_wCalfData_2023-10-10", "D50AB_Opt_wCalfData_2023-10-12")
for (i in 1:length(ids)){
plotPower(ids[i])
}
combinePower(ids, type)
load(paste0("./Results/CombinedPower_", type, ".RData"))
kable(tdata, digits = 2)
```
```{r, fig.align = 'center', out.width = '75%', fig.cap = "Predicted power for optimistic scenario"}
include_graphics(paste0("./Figures/CombinedPowerPlots_", type, ".png"))
```
\newpage
## Realistic 20-yr Scenario
```{r}
type <- "20yrRealwCalf"
ids <- c("NULL_20yrReal_wCalfData_2023-10-20", "D50AB_20yrReal_wCalfData_2023-10-23")
for (i in 1:length(ids)){
plotPower(ids[i])
}
combinePower(ids, type)
load(paste0("./Results/CombinedPower_", type, ".RData"))
kable(tdata, digits = 2)
```
```{r, fig.align = 'center', out.width = '75%', fig.cap = "Predicted power for 20 yr realistic scenario"}
include_graphics(paste0("./Figures/CombinedPowerPlots_", type, ".png"))
```