Skip to content

Commit

Permalink
Push MLM
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasHarrer committed Jan 3, 2019
1 parent 06e14ec commit f3259ea
Show file tree
Hide file tree
Showing 15 changed files with 462 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
289 changes: 289 additions & 0 deletions 11-multilevel-meta-analysis.Rmd

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion 11-Effectsizeconverter.Rmd → 12-Effectsizeconverter.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ library(esc)
6. [Calculating Hedges' *g* from a correlation](#f)
7. [Calculating Hedges' *g* from an independent t-test](#g)
8. [Calculating Hedges' *g* from Cohen's *d*](#h)
9. [Calculating effect sizes for studies with multiple comparisons](#i)

<br><br>

Expand Down Expand Up @@ -245,7 +246,7 @@ This can be done in R using the `hedges_g` function with the following parameter
hedges_g(d = 0.75, totaln = 50)
```

## Calculating effect sizes for studies with multiple outcomes {#i}
## Calculating effect sizes for studies with multiple comparisons {#i}

![](stack.jpg)

Expand Down
File renamed without changes.
File renamed without changes.
Binary file added _pcurve/.DS_Store
Binary file not shown.
52 changes: 52 additions & 0 deletions book.bib
Original file line number Diff line number Diff line change
Expand Up @@ -609,3 +609,55 @@ @article{labbe
year={1987},
publisher={Am Coll Physicians}
}

@article{pastor2018multilevel,
title={On the multilevel nature of meta-analysis: a tutorial, comparison of software programs, and discussion of analytic choices},
author={Pastor, Dena A and Lazowski, Rory A},
journal={Multivariate behavioral research},
volume={53},
number={1},
pages={74--89},
year={2018},
publisher={Taylor \& Francis}
}

@article{cheung2014modeling,
title={Modeling dependent effect sizes with three-level meta-analyses: a structural equation modeling approach.},
author={Cheung, Mike W-L},
journal={Psychological Methods},
volume={19},
number={2},
pages={211},
year={2014},
publisher={American Psychological Association}
}

@article{assink2016fitting,
title={Fitting three-level meta-analytic models in R: A step-by-step tutorial},
author={Assink, Mark and Wibbelink, Carlijn JM},
journal={The Quantitative Methods for Psychology},
volume={12},
number={3},
pages={154--174},
year={2016}
}

@article{hedges2009statistical,
title={Statistical considerations},
author={Hedges, Larry V},
journal={The handbook of research synthesis and meta-analysis},
pages={38--47},
year={2009},
publisher={Russell Sage Foundation New York}
}

@article{lme4,
title = {Fitting Linear Mixed-Effects Models Using {lme4}},
author = {Douglas Bates and Martin M{\"a}chler and Ben Bolker and Steve Walker},
journal = {Journal of Statistical Software},
year = {2015},
volume = {67},
number = {1},
pages = {1--48},
doi = {10.18637/jss.v067.i01},
}
Binary file added dats.xlsx
Binary file not shown.
Binary file added mlm.
Binary file not shown.
Binary file added mlm.data.RData
Binary file not shown.
Binary file added multilevel-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added multilevel-model2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added multilevel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions packages.bib
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,150 @@ @Manual{R-base
year = {2017},
url = {https://www.R-project.org/},
}
@Manual{R-bindrcpp,
title = {bindrcpp: An 'Rcpp' Interface to Active Bindings},
author = {Kirill Müller},
year = {2018},
note = {R package version 0.2.2},
url = {https://CRAN.R-project.org/package=bindrcpp},
}
@Manual{R-bookdown,
title = {bookdown: Authoring Books and Technical Documents with R Markdown},
author = {Yihui Xie},
year = {2018},
note = {R package version 0.7},
url = {https://CRAN.R-project.org/package=bookdown},
}
@Manual{R-dplyr,
title = {dplyr: A Grammar of Data Manipulation},
author = {Hadley Wickham and Romain François and Lionel Henry and Kirill Müller},
year = {2018},
note = {R package version 0.7.6},
url = {https://CRAN.R-project.org/package=dplyr},
}
@Manual{R-forcats,
title = {forcats: Tools for Working with Categorical Variables (Factors)},
author = {Hadley Wickham},
year = {2017},
note = {R package version 0.2.0},
url = {https://CRAN.R-project.org/package=forcats},
}
@Manual{R-ggplot2,
title = {ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics},
author = {Hadley Wickham and Winston Chang},
year = {2016},
note = {R package version 2.2.1},
url = {https://CRAN.R-project.org/package=ggplot2},
}
@Manual{R-kableExtra,
title = {kableExtra: Construct Complex Table with 'kable' and Pipe Syntax},
author = {Hao Zhu},
year = {2018},
note = {R package version 0.9.0},
url = {https://CRAN.R-project.org/package=kableExtra},
}
@Manual{R-knitr,
title = {knitr: A General-Purpose Package for Dynamic Report Generation in R},
author = {Yihui Xie},
year = {2018},
note = {R package version 1.20},
url = {https://CRAN.R-project.org/package=knitr},
}
@Manual{R-lme4,
title = {lme4: Linear Mixed-Effects Models using 'Eigen' and S4},
author = {Douglas Bates and Martin Maechler and Ben Bolker and Steven Walker},
year = {2017},
note = {R package version 1.1-13},
url = {https://CRAN.R-project.org/package=lme4},
}
@Manual{R-Matrix,
title = {Matrix: Sparse and Dense Matrix Classes and Methods},
author = {Douglas Bates and Martin Maechler},
year = {2017},
note = {R package version 1.2-10},
url = {https://CRAN.R-project.org/package=Matrix},
}
@Manual{R-meta,
title = {meta: General Package for Meta-Analysis},
author = {Guido Schwarzer},
year = {2018},
note = {R package version 4.9-2},
url = {https://CRAN.R-project.org/package=meta},
}
@Manual{R-metafor,
title = {metafor: Meta-Analysis Package for R},
author = {Wolfgang Viechtbauer},
year = {2017},
note = {R package version 2.0-0},
url = {https://CRAN.R-project.org/package=metafor},
}
@Manual{R-png,
title = {png: Read and write PNG images},
author = {Simon Urbanek},
year = {2013},
note = {R package version 0.1-7},
url = {https://CRAN.R-project.org/package=png},
}
@Manual{R-purrr,
title = {purrr: Functional Programming Tools},
author = {Lionel Henry and Hadley Wickham},
year = {2018},
note = {R package version 0.2.5},
url = {https://CRAN.R-project.org/package=purrr},
}
@Manual{R-RColorBrewer,
title = {RColorBrewer: ColorBrewer Palettes},
author = {Erich Neuwirth},
year = {2014},
note = {R package version 1.1-2},
url = {https://CRAN.R-project.org/package=RColorBrewer},
}
@Manual{R-readr,
title = {readr: Read Rectangular Text Data},
author = {Hadley Wickham and Jim Hester and Romain Francois},
year = {2017},
note = {R package version 1.1.1},
url = {https://CRAN.R-project.org/package=readr},
}
@Manual{R-readxl,
title = {readxl: Read Excel Files},
author = {Hadley Wickham and Jennifer Bryan},
year = {2017},
note = {R package version 1.0.0},
url = {https://CRAN.R-project.org/package=readxl},
}
@Manual{R-rmarkdown,
title = {rmarkdown: Dynamic Documents for R},
author = {JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone},
year = {2018},
note = {https://rmarkdown.rstudio.com,
https://github.com/rstudio/rmarkdown},
}
@Manual{R-stringr,
title = {stringr: Simple, Consistent Wrappers for Common String Operations},
author = {Hadley Wickham},
year = {2018},
note = {R package version 1.3.1},
url = {https://CRAN.R-project.org/package=stringr},
}
@Manual{R-tibble,
title = {tibble: Simple Data Frames},
author = {Kirill Müller and Hadley Wickham},
year = {2018},
note = {R package version 1.4.2},
url = {https://CRAN.R-project.org/package=tibble},
}
@Manual{R-tidyr,
title = {tidyr: Easily Tidy Data with 'spread()' and 'gather()' Functions},
author = {Hadley Wickham and Lionel Henry},
year = {2018},
note = {R package version 0.8.1},
url = {https://CRAN.R-project.org/package=tidyr},
}
@Manual{R-tidyverse,
title = {tidyverse: Easily Install and Load the 'Tidyverse'},
author = {Hadley Wickham},
year = {2017},
note = {R package version 1.2.1},
url = {https://CRAN.R-project.org/package=tidyverse},
}
Binary file added ~$dats.xlsx
Binary file not shown.

0 comments on commit f3259ea

Please sign in to comment.