-
Notifications
You must be signed in to change notification settings - Fork 1
/
08-fixed-effects.Rmd
80 lines (57 loc) · 3.42 KB
/
08-fixed-effects.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
# Sensitivity analysis using fixed effects {#fixed-effects}
The primary analyses presented in this manuscript pooled across individual studies using random effects. Inferences about estimates from fixed effects models are restricted to only the included studies.[^1] The random effects approach was more conservative in the presence of study heterogeneity, as evidenced by larger confidence intervals around each point estimates. Overall, the inference from results produced by each method was similar.
The pooled estimates using random effects vs. fixed effects differed in some cases, indicating the presence of heterogeneity in underlying cohort-specific estimates. For example, stunting incidence at ages peaked at ages 0-3 months in Latin America using random effects models, but in fixed effects models, incidence was similar at ages 0-12 months. However, overall, our scientific inferences from results produced by each method were similar.
```{r setup, include=FALSE}
library(knitr)
knitr::opts_chunk$set(echo = TRUE)
source(paste0(here::here(), "/0-config.R"))
```
<!-- ##################################################################################### -->
## Age-specific prevalence
### Random effects
```{r prev-re, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-prev-overall_region--allage-primary.png"))
#include_graphics("figure-copies/fig-stunt-2-prev-overall_region--allage-primary.png")
```
### Fixed effects
```{r prev-fe, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-prev-overall_region--allage-fe.png"))
#include_graphics("figure-copies/fig-stunt-2-prev-overall_region--allage-fe.png")
```
<!-- ##################################################################################### -->
## Age-specific incidence
### Random effects
```{r inc-re, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-inc-overall_region--allage-primary.png"))
#include_graphics("figure-copies/fig-stunt-2-inc-overall_region--allage-primary.png")
```
### Fixed effects
```{r inc-fe, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-inc-overall_region--allage-fe.png"))
#include_graphics("figure-copies/fig-stunt-2-inc-overall_region--allage-fe.png")
```
<!-- ##################################################################################### -->
## Changes in stunting status by age
### Random effects
```{r bar-re, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-flow-overall--allage-re.png"))
#include_graphics("figure-copies/fig-stunt-2-flow-overall--allage-re.png")
```
### Fixed effects
```{r bar-fe, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-flow-overall--allage-fe.png"))
#include_graphics("figure-copies/fig-stunt-2-flow-overall--allage-fe.png")
```
<!-- ##################################################################################### -->
## Linear growth velocity
### Random effects
```{r vel-re, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-vel-overall--allage-primary.png"))
#include_graphics("figure-copies/fig-stunt-2-vel-overall--allage-primary.png")
```
### Fixed effects
```{r vel-fe, echo = FALSE}
include_graphics(paste0(fig_dir, "/stunting/fig-stunt-2-vel-overall--allage-fe.png"))
#include_graphics("figure-copies/fig-stunt-2-vel-overall--allage-fe.png")
```
[^1]: Hedges, L. V. & Vevea, J. L. Fixed- and random-effects models in meta-analysis. Psychol. Methods 3, 486–504 (1998).