Repository navigation
Expand file tree
/
Copy pathSubgroupAnalysis.qmd
More file actions
70 lines (50 loc) · 2.56 KB
/
Copy pathSubgroupAnalysis.qmd
File metadata and controls
70 lines (50 loc) · 2.56 KB
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
---
title: "亚组分析"
---
亚组分析只是meta回归的一个特例
先验定义
在亚组分析中,我们假设荟萃分析中的研究不是来自一个总体人群。 相反,我们假设它们属于不同的子组,每个子组都有自己的真实整体效应。 目的是拒绝亚组之间效应大小没有差异的零假设。
## 固定效应(复数)模型
The Fixed-Effects (Plural) Model
固定效应(复数)模型包含随机效应(子组内)和固定效应(因为子组被假设为固定的),因此在文献中也称为混合效应模型。
添加“复数”一词是因为我们必须将其与标准固定效应模型区分开来。固定效应(复数)模型可以看作是一种混合生物,包括固定效应模型和随机效应模型的特征。与随机效应模型一样,我们假设存在多个真实效应大小,因为我们的数据中有子组。
子组分析的计算由两部分组成:首先,我们将每个子组中的效应合并。随后,使用统计测试来比较亚组的效果
Pooling the Effect in Subgroups
- a pooled effect $\hat μ_g$ for each subgroup $g$ .
- share a common estimate of the between-study heterogeneity $\tau^2$ that was pooled across subgroups
Comparing the Subgroup Effects using a statistical test
- Q test :自由度为G-1的卡方分布
::: callout-caution
**子组分析:注意 事项**
1. 子组分析取决于统计功效,因此它通常 当研究数量很少时进行一次研究是没有意义的 (即K\< 10)。
2. 如果未发现子组之间的效应大小存在差异, 这**并不意味着**子组 产生**等效**的结果。
3. 亚组分析纯粹是**观察性的**,因此,我们应该始终牢记,效果差异也可能是由混杂变量引起的
4. 在亚组分析中使用汇总研究信息是一个坏主意,因为这可能会引入系统偏差。
:::
## R
```{r}
# Show first entries of study name and 'RiskOfBias' column
head(dmetar::ThirdWave[,c("Author", "RiskOfBias")])
```
```{r}
library(meta)
m.gen <- metagen(TE = TE,
seTE = seTE,
studlab = Author,
data = dmetar::ThirdWave,
sm = "SMD",
common = FALSE,
random = TRUE,
method.tau = "REML",
method.random.ci = "HK",
prediction = TRUE,
title = "Third Wave Psychotherapies")
```
```{r}
update(m.gen,
subgroup = RiskOfBias,
tau.common = FALSE)
```
```{r}
update(m.gen, subgroup = RiskOfBias, tau.common = TRUE)
```