-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eaa96e1
commit 1082fa8
Showing
24 changed files
with
244 additions
and
3,563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,6 @@ | |
[1,"\u001B[1mpandoc \u001B[22m\n to: html\n output-file: >-\n /Users/eduardklapwijk/ownCloud/2020_Samplesizes\n (Projectfolder)/reproducible-paper/index.html\n standalone: true\n section-divs: true\n html-math-method: mathjax\n wrap: none\n default-image-extension: png\n number-sections: true\n toc: true\n \n\u001B[1mmetadata\u001B[22m\n \n document-css: false\n link-citations: true\n date-format: long\n lang: en\n manuscript:\n article: index.qmd\n notebooks:\n - notebook: notebooks/figures-cohens_d.qmd\n title: Code to create Figures 1 and 2\n - notebook: notebooks/figures-correlations.qmd\n title: Code to create Figures 3 and 4\n mecaFile: index-meca.zip\n notebook-preview-options:\n back: true\n theme: litera\n title-block-style: manuscript\n lightbox: auto\n comments:\n hypothesis: true\n title: Sample size estimation for task-related functional MRI studies using Bayesian updating\n author:\n - name: Eduard T. Klapwijk\n orcid: 0000-0002-8936-0365\n corresponding: true\n email: [email protected]\n roles:\n - Data curation\n - Formal analysis\n - Software\n - Visualization\n - Writing - original draft\n - Writing - review & editing\n affiliations:\n - 'Erasmus University Rotterdam, Netherlands'\n - name: Joran Jongerling\n orcid: 0000-0001-5697-1381\n corresponding: false\n roles:\n - Methodology\n - Software\n - Validation\n - Visualization\n - Writing - review & editing\n affiliations:\n - 'Tilburg University, Netherlands'\n - name: Herbert Hoijtink\n orcid: 0000-0001-8509-1973\n corresponding: false\n roles:\n - Conceptualization\n - Methodology\n - Software\n - Supervision\n - Visualization\n - Writing - review & editing\n affiliations:\n - 'Utrecht University, Netherlands'\n - name: Eveline A. Crone\n orcid: 0000-0002-7508-6078\n corresponding: false\n roles:\n - Conceptualization\n - Funding acquisition\n - Investigation\n - Methodology\n - Supervision\n - Writing - review & editing\n affiliations:\n - 'Erasmus University Rotterdam, Netherlands'\n - 'Leiden University, Netherlands'\n keywords:\n - power analysis\n - region of interest\n - effect size\n - R package\n - sample sizes\n - Bayesian updating\n abstract: |\n Task-related functional MRI (fMRI) studies need to be properly powered with an adequate sample size to reliably detect effects of interest. But for most fMRI studies, it is not straightforward to determine a proper sample size using power calculations based on published effect sizes. Here, we present an alternative approach of sample size estimation with empirical Bayesian updating. First, this method provides an estimate of the required sample size using existing data from a similar task and similar region of interest. Using this estimate researchers can plan their research project, and report empirically determined sample size estimations in their research proposal or pre-registration. Second, researchers can expand the sample size estimations with new data. We illustrate this approach using four existing fMRI data sets where Cohen’s d is the effect size of interest for the hemodynamic response in the task condition of interest versus a control condition, and where a Pearson correlation between task effect and age is the covariate of interest. We show that sample sizes to reliably detect effects differ between various tasks and regions of interest. We provide an R package to allow researchers to use Bayesian updating with other task-related fMRI studies.\n date: last-modified\n bibliography:\n - references.bib\n google-scholar: true\n toc-location: left\n clear-hidden-classes: none\n remove-hidden: all\n unroll-markdown-cells: true\n \n"] | ||
[1,"Output created: _manuscript/index.html\n\n\u001B[32mWatching files for changes\u001B[39m\n"] | ||
[1,"\u001B[32mGET: /\u001B[39m\n"] | ||
[1,"\u001B[1m\u001B[34mRendering notebook previews\u001B[39m\u001B[22m\n\u001B[1m\u001B[34m[1/2] figures-cohens_d.qmd\u001B[39m\u001B[22m\n"] | ||
[1,"\u001B[1m\u001B[34m[2/2] figures-correlations.qmd\u001B[39m\u001B[22m\n"] | ||
[1,"\u001B[32mGET: /\u001B[39m\n"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"activeTab": 1 | ||
"activeTab": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"entries":[{"caption":"Mean estimates (with credible interval in brackets) of Cohen’s d for five different sample sizes (starting with n=20, then 1/5th parts of the total dataset) of the 1000 HDCI’s. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens.","order":{"number":2,"section":[3,1,0,0,0,0,0]},"key":"tbl-2"},{"caption":"Estimates of task effects for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset). For each sample size 10 randomly chosen HDCI’s out of the 1000 HDCI’s computed are displayed (in light blue, permutation numbers used are displayed to the right of each subfigure). The average estimate with credible interval summarizing the 1000 HDCI’s for each sample size are plotted in reddish purple. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens.","order":{"number":1,"section":[3,1,0,0,0,0,0]},"key":"fig-1"},{"caption":"Estimates of Pearson’s correlation between age and the task effect for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset). For each sample size 10 randomly chosen HDCI’s out of the 1000 HDCI’s computed are displayed (in green, permutation numbers used are displayed to the right of each subfigure). The average estimate with credible interval summarizing the 1000 HDCI’s for each sample size are plotted in orange. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens. Age is modeled as linearly increasing or decreasing.","order":{"number":3,"section":[3,2,0,0,0,0,0]},"key":"fig-3"},{"caption":"Mean estimates (with credible interval in brackets) of Pearson’s correlation between age and the task effect for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset) of the 1000 HDCI’s. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens.","order":{"number":3,"section":[3,2,0,0,0,0,0]},"key":"tbl-3"},{"caption":"For each task, for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset), the proportion of intervals not containing the value 0 is plotted inorange. Age is modeled as linearly increasing or decreasing.","order":{"number":4,"section":[3,2,0,0,0,0,0]},"key":"fig-4"},{"caption":"For each task, for five different sample sizes (starting with n=20, then 1/5th parts of the total dataset), the proportion of intervals not containing the value 0 is plotted in reddish purple.","order":{"number":2,"section":[3,1,0,0,0,0,0]},"key":"fig-2"},{"caption":"Overview of tasks processed in the current study.","order":{"number":1,"section":[2,0,0,0,0,0,0]},"key":"tbl-1"}],"headings":["introduction","bayesian-updating","the-highest-density-credible-interval-hdci","sample-size-determination","neuroup-r-package","method-materials","data-and-processing","braintime-study","feedback-task","gambling-task","self-concept-study","self-evaluations-task","vicarious-charity-task","fmri-analysis","regions-of-interest","results","task-effects-using-cohens-d","pearson-correlations-between-task-effects-and-age","discussion","practical-recommendations","acknowledgments","references"]} | ||
{"headings":["introduction","bayesian-updating","the-highest-density-credible-interval-hdci","sample-size-determination","neuroup-r-package","method-materials","data-and-processing","braintime-study","feedback-task","gambling-task","self-concept-study","self-evaluations-task","vicarious-charity-task","fmri-analysis","regions-of-interest","results","task-effects-using-cohens-d","pearson-correlations-between-task-effects-and-age","discussion","practical-recommendations","acknowledgments","references"],"entries":[{"key":"tbl-1","order":{"number":1,"section":[2,0,0,0,0,0,0]},"caption":"Overview of tasks processed in the current study."},{"key":"fig-3","order":{"number":3,"section":[3,2,0,0,0,0,0]},"caption":"Estimates of Pearson’s correlation between age and the task effect for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset). For each sample size 10 randomly chosen HDCI’s out of the 1000 HDCI’s computed are displayed (in green, permutation numbers used are displayed to the right of each subfigure). The average estimate with credible interval summarizing the 1000 HDCI’s for each sample size are plotted in orange. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens. Age is modeled as linearly increasing or decreasing."},{"key":"tbl-3","order":{"number":3,"section":[3,2,0,0,0,0,0]},"caption":"Mean estimates (with credible interval in brackets) of Pearson’s correlation between age and the task effect for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset) of the 1000 HDCI’s. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens."},{"key":"fig-4","order":{"number":4,"section":[3,2,0,0,0,0,0]},"caption":"For each task, for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset), the proportion of intervals not containing the value 0 is plotted inorange. Age is modeled as linearly increasing or decreasing."},{"key":"fig-1","order":{"number":1,"section":[3,1,0,0,0,0,0]},"caption":"Estimates of task effects for five different sample sizes (starting with N=20, then 1/5th parts of the total dataset). For each sample size 10 randomly chosen HDCI’s out of the 1000 HDCI’s computed are displayed (in light blue, permutation numbers used are displayed to the right of each subfigure). The average estimate with credible interval summarizing the 1000 HDCI’s for each sample size are plotted in reddish purple. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens."},{"key":"fig-2","order":{"number":2,"section":[3,1,0,0,0,0,0]},"caption":"For each task, for five different sample sizes (starting with n=20, then 1/5th parts of the total dataset), the proportion of intervals not containing the value 0 is plotted in reddish purple."},{"key":"tbl-2","order":{"number":2,"section":[3,1,0,0,0,0,0]},"caption":"Mean estimates (with credible interval in brackets) of Cohen’s d for five different sample sizes (starting with n=20, then 1/5th parts of the total dataset) of the 1000 HDCI’s. DLPFC = dorsolateral prefrontal cortex; mPFC = medial prefrontal cortex; NAcc = nucleus accumbens."}]} |
Oops, something went wrong.