Psy2R: Developing an R package for better inference in multivariate statistical analysis
Kelly Garner Github: @kel-github Mattermost: @kels
Kevin Bird,
Melanie Gleitzman,
Sonny Li,
Christopher Nolan Github: @crnolan Mattermost: @cnolan
Brainhack Australasia
We consistently use massive data sets across neuroscience and psychology. The routine gathering of big data requires that we are well equipped with tools that allow us to conduct appropriate multivariate statistics.
Multivariate statistical analysis typically follows a two stage procedure, an omnibus test of the global null hypothesis followed by post-hoc tests of specific effects. It is not well known that under certain circumstances this leads to a drastically inflated rate of type 1 error. It is even less well known that this procedure can also lead to an even lessor known type IV error (incorrect interpretation of a correctly rejected hypothesis)!
It is possible to avoid these dragons by using an alternative procedure where all inferences are derived from simultaneous confidence intervals (SCIs) on contrasts of interest. This approach provides interval inferences on effect sizes and it also ensures that the familywise type 1 error rate associated with directional inferences (the inferences usually derived from tests of null hypotheses) is controlled at alpha. One piece of software (PSY) can produce SCIs appropriate for planned analyses (where contrasts are defined independently of the data) and for more flexible analyses where contrasts are defined on a post hoc basis. However, this software is only available for use on windows and cannot be scripted into reproducible workflows.
Our goal is to build an R package that implements the functions of PSY, and to make this method of statistical inference available to the masses!
TBC
Milestones
Implement analyses that can be done in PSY in R
Document existing PSY software functions
Investigate the R world for a comprehensive list of packages that share some functionality with PSY
Create project management board (e.g. trello) to keep us on track!
Create github repo for the project
https://mattermost.brainhack.org/brainhack/channels/psy2r
No response
You’ll learn more about statistical analysis of big datasets, collaborative coding using R and github, and hopefully a bit about package development and coding for other users.
No response
more
Project contributors will be listed on the github repository’s README.md
coding_methods, data_management, documentation, method_development
0_concept_no_content
reproducible_scientific_methods, statistical_modelling
other
C++, documentation, R
, other
behavioral, DWI, ECOG, EEG, eye_tracking, fMRI, MEG, MRI, PET
1_commit_push
No response
Hi @brainhackorg/project-monitors my project is ready!