Skip to content

Power & effect size error calculations -- materials for Kirby & Sonderegger paper under review

Notifications You must be signed in to change notification settings

mlml/jphon_designanalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5cb50d9 · Mar 17, 2018

History

18 Commits
Mar 17, 2018
Mar 16, 2018
Mar 16, 2018
Mar 17, 2018
Mar 17, 2018
Mar 17, 2018
Mar 17, 2018
Sep 26, 2017
Mar 16, 2018
Mar 16, 2018
Mar 17, 2018

Repository files navigation

jphon_designanalysis

Power & effect size error calculations -- materials for Kirby & Sonderegger paper (under review)

powerEs.R: core functions to fit models, run simulations using simR functionality.

roettgerEtAlData.csv: dataset from Roettger et al. (2014), J. Phonetics

runSimsJphon.R: script to run actual simulations described in article, resulting in RDS file. (Warning: takes several days!)

summarizeVisualizeRuns.R: script to generate plots from submitted article.

pwr_examples.Rmd: examples of using pwr package for simple power calculations mentioned in article text.

analysisExample.Rmd/html: explains how to carry out the kind of analysis shown in the main paper, demonstrating component functions in more user-friendly fashion than the R files.

To actually run simulations generated in paper:

  • source(runSimsJphon.R).

Because this takes several days, the resulting data file is included (runs_16Mar18_nRuns1500.rds), and you can do data summary and visualizaton reported in the paper by just running:

  • source(summarizeVisualizeRuns.R)

About

Power & effect size error calculations -- materials for Kirby & Sonderegger paper under review

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published