1 Introduction

Welcome to the CSCN R Statistics manual. In time, this will become a centralized repository with snippets of code for some of the stuff we do at the Center for Social and Cognitive Neuroscience - CSCN. Its primary intention is to become an (open) internal resource for training, learning and increase our efficiency. As such, it is bound to be full of inacurate information and horrible bugs. Use at your own risk, but do tell us about the horrors you find. Right now, there are tons of things TODO.

Suggestions and contributions can be sent to:

1.1 For USERS

The folder R - Statistics Manual can be copied and it should work as it is. Just open the index.html file in a modern browser.

1.2 For Developers and Statisticians

Please, do contribute your code, examples, ideas, criticisms, improvements, simplifications, etc.

If you want to contribute code:

1.3 Contributors

Gorka Navarrete, Nicolas Carvajal-Sanchez, Alvaro Rivera, David Huepe, Roberto Garcia


1.4 TODO

MOVE THE STUFF BELOW THIS TO ITS PLACE!

1.4.1 Inferential analysis

Here you will find a number of inferential analysis in alphabetical order, and a table showing which ones would work depending on what kind of IV / DV you have.
In the analysis’ page you (normally) will find both the frequentist and the Bayesian versions.

1.4.1.1 Which analysis / graficos / tablas / should I use (?)

DV/IV Continuous IV Categorical IV Dichotomous IV Nominal IV
Continuous DV
Categorical DV
Dichotomous DV AST
Nominal DV AST

Analysis

Para cada analisis * Assumptions * Alternatives if failed assumptions * How to interpret results * How to report results

  • Association test AST - WIP: Comparison of two groups. Continuous DV
  • ANOVA WIP

Plots

Plots
Asymmetric beanplots
Show smothed histograms for an easy comparison between conditions.
Pirate plots
Show all the data points, smothed histogram, mean/median and SD/CI.
Density plot
Publication ready density plots.
Scatter plot
Scatter plots with confidence interval.
Correlation plot
Correlatons!
Scatter plot
Relationship between 3 variables

1.4.1.2 Learn more about Data visualization

http://r4ds.had.co.nz/data-visualisation.html