This repository stores files related to statistical analyses for a visuospatial working memory study. The link to the article will be updated here after this publication is available online.
R libraries used:
library(tidyverse)
library(simr) #power analysis
library(reshape2)
library(foreign) # read sav data
library(psych) # descriptive statistics
library(splithalf) #reliability
library(lme4) #linear mixed model
library(rstatix) #chi-squared tests for mixed model
library(effectsize) # effect size for mixed model
library(BayesFactor)
Main Functions:
- Power Analysis - Simulation
- Load Experiment 1 Data
- Experiment 1 Data Cleaning
- Accuracy Descriptive Statistics
- Response Time Descriptive Statistics
- d' Calculation
- d' Descriptive Statistics
- Bias Calculation
- Bias Descriptive Statistics
- Spatial Ability
- Spatial Ability Descriptive Statistics
- Linear Regression
- Bayes Factor