




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、How to Calculate Effect Sizes for Meta-analysis in RLoad, Prep, and Checklibrary(ggplot2)library(metafor)#load the datamarine - (, =c(NA, ., )#check variable typessummary(marine)Load, Prep, and Check N_Poly N_Avg_Mono Y_Avg_Mono SD_Avg_Mono LR VLR Min. : 2.000 Min. : 1.0 Min. : 0.001 Min. : 0.0005 M
2、in. :-Inf Min. :0.000028 1st Qu.: 4.000 1st Qu.: 15.0 1st Qu.: 0.091 1st Qu.: 0.0518 1st Qu.: 0 1st Qu.:0.013405 Median : 5.000 Median : 16.0 Median : 1.785 Median : 0.8323 Median : 0 Median :0.045711 Mean : 6.328 Mean : 28.9 Mean : 104.299 Mean : 46.1341 Mean :-Inf Mean :0.144216 3rd Qu.: 6.000 3rd
3、 Qu.: 28.0 3rd Qu.: 17.463 3rd Qu.: 8.0472 3rd Qu.: 0 3rd Qu.:0.151159 Max. :32.000 Max. :256.0 Max. :3225.600 Max. :873.1538 Max. : 3 Max. :5.976395 NAs :5 NAs :5 NAs :6 Y_Hedges V_Hedges Min. :-3.2847 Min. :0.03516 1st Qu.:-0.1709 1st Qu.:0.23034 Median : 0.2469 Median :0.28101 Mean : 0.5169 Mean
4、:0.31921 3rd Qu.: 0.8405 3rd Qu.:0.31712 Max. : 8.3140 Max. :2.32007 NAs :6 NAs :6 Calculating Effect Sizes by Hand#Log Ratiomarine$LR - log(marine$Y_Poly) log(marine$Y_Avg_Mono)marine$VLR - with(marine, SD_Poly2 / (N_Poly * Y_Poly2) + SD_Avg_Mono2 / (N_Avg_Mono * Y_Avg_Mono2) )Plotting#plot results
5、ggplot(marine, aes(x=Entry, y=LR, ymin=LR-sqrt(VLR), ymax=LR+sqrt(VLR) + geom_pointrange(size=1.4) + geom_hline(yintercept=0, color=red, lty=2, lwd=2)+ theme_bw(base_size=24)Introducing escalcescalc metaforR DocumentationCalculate Effect Sizes and Outcome MeasuresDescriptionThe function can be used
6、to calculate various effect sizes or outcome measures (and the corresponding sampling variances) that are commonly used in meta-analyses.Usageescalc(measure, formula, .)# Default S3 method:escalc(measure, formula, ai, bi, ci, di, n1i, n2i, x1i, x2i, t1i, t2i, m1i, m2i, sd1i, sd2i, xi, mi, ri, ti, sd
7、i, ni, data, slab, subset, add=1/2, to=only0, drop00=FALSE, vtype=LS, =c(yi,vi), append=TRUE, replace=TRUE, digits=4, .)Lots of Effect Size MeasurementsRR for the log relative risk. OR for the log odds ratio. RD for the risk difference. AS for the arcsine transformed risk difference (Ruecker et al.,
8、 2009). PETO for the log odds ratio estimated with Petos method (Yusuf et al., 1985). PBIT for the probit transformed risk difference as an estimate of the standardized mean difference. OR2D for transformed odds ratio as an estimate of the standardized mean difference. IRR for the log incidence rate
9、 ratio. IRD for the incidence rate difference. IRSD for the square-root transformed incidence rate difference.Lots of Effect Size MeasurementsMD for the raw mean difference. SMD for the standardized mean difference. SMDH for the standardized mean difference without assuming equal population variance
10、s in the two groups (Bonett, 2008, 2009). ROM for the log transformed ratio of means (Hedges et al., 1999). D2OR for the transformed standardized mean difference as an estimate of the log odds ratio.and many moreUsing escalchedges #whats wrong with row 18?marine18,N_Poly N_Avg_Mono Y_Avg_Mono7 42 NAescalc Generates Funny Obj
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 智慧校园人脸识别技术的学生接受度阈值研究论文
- 医疗AI器械审批新政对创新药企研发投入的影响论文
- 2024广西乐业宏乐产业发展集团有限公司社会招聘7人笔试参考题库附带答案详解
- 记叙类文章阅读分析 统编版 语文六年级下册
- 2025年小学英语毕业考试模拟卷(听力专项)-环保知识篇
- 2025年广告设计师专业知识考核试卷:2025年广告策划与执行案例分析试题
- 2025年小学语文毕业升学全真模拟卷(古诗词风格鉴赏试题)
- 2025年消防安全培训考试题库:消防队伍建设与管理消防安全演练试题集
- 2025年护士执业资格考试题库(外科护理学专项)护理操作技能考核
- 2025年征信信用修复流程试题库:信用修复流程与法规要点试题
- 2023年海南移动门户网站建设方案(含商城)
- 某高层住宅建设工程施工组织设计
- 2024版房屋市政工程生产安全重大事故隐患判定标准内容解读
- 《大学生创业导论》期末考试复习题库(含答案)
- 2024年国网公司企业文化与职业道德试考试题库(含答案)
- 年处理4万吨丙酮-水连续精馏塔设计
- 音乐鉴赏与实践教案:第一单元第四课2.音乐的力量(下)
- 创新创业实战学习通超星期末考试答案章节答案2024年
- 大学生职业素养训练(第六版)课件 第十一单元树立诚信意识
- 河南省2024年中考道德与法治真题试卷(含答案)
- DB34∕T 4010-2021 水利工程外观质量评定规程
评论
0/150
提交评论