Skip to content

J_Statistics

Douwe Horsthuis edited this page Feb 21, 2024 · 2 revisions

Statistics

The statistics are done in R.

Loading and setting up the structure {#loading-and-setting-up-the-structure}

Here we compute statistics using R and Rstudio. The script does the following. It imports data from .txt file, it creates factors and it randomly selects 200 trials per subject (so everyone has equal amounts of data)

Statistics (including mixed-effects models) {#statistics-including-mixed-effects-models}

First it creates a summary of the data, which includes mean and standard deviation. After that it plots the data in a violin/box plot.

You can design your mixed-effects model and, after that, create a summary with the results of your model computation.

Back to the home page
Back to the I_individual_trials_export page