Programming

Programming related posts

In this category you will find posts that are related to programming and should be interesting for psychologists, cognitive scientists, and neuroscientists. Well, almost every researcher would probably find some of the information useful at some time!

Every research psychologist, cognitive scientist, and neuroscientist, should know how to program.. Knowing how to program and write scripts will make many of a researchers everyday tasks much easier. For instance, instead of going through line after line of raw data you can write a Python script that runs through each cell in each column. Furthermore, you get the possibility to use more advanced, and cutting edge, statistical techniques by using R statistical programming environment.

Another example might be to create experiments using PsychoPy (either by coding using Python or using the drag-and-drop interface) and the cheap and open-source Arduino microcontroller. Also, coding is fun and relaxing!

ggplot center title

ggplot Center Title: A Guide to Perfectly Aligned Titles in Your Plots

In this R tutorial, you will discover how to use ggplot to center the title effectively. Centering the title is crucial to creating visually appealing plots, and, e.g., enabling better communication of insights. We will explore examples from hearing science and psychology to demonstrate the significance of centering titles in ggplot2 objects.

ggplot Center Title: A Guide to Perfectly Aligned Titles in Your Plots Read More »

Extract P-Values from lm() in R: Empower Your Data Analysis

In this blog post, we will learn how to extract P-values from the regression models in R. We will explore the process of fitting a regression model, and then dive into the methods of extracting P-values using the lm() function. Additionally, we will demonstrate how to extract P-values from all predictors and leverage the tidy() function for a tidy output. Unlock the power of statistical inference with the ability to extract P-values from lm() in R.

Extract P-Values from lm() in R: Empower Your Data Analysis Read More »

Update R: Keeping Your RStudio Environment Up-to-Date

Keeping your software tools up-to-date is essential for a seamless and efficient workflow, and the R programming language is no exception. In this blog post, we will explore the importance of updating R, discuss the circumstances that may necessitate an update, address the possibility of updating R within RStudio, and explore different methods for upgrading

Update R: Keeping Your RStudio Environment Up-to-Date Read More »

Mastering SST & SSE in R: A Complete Guide for Analysts

Learn to calculate and interpret SSE/SSR and SST in R. Understand their significance, generate fake data, fit a linear model, and calculate SST and SSR using different methods, including ANOVA. Gain insights into evaluating model performance and enhance your statistical analysis skills. A comprehensive guide for data analysts and researchers.

Mastering SST & SSE in R: A Complete Guide for Analysts Read More »

Report Correlation in APA Style using R: Text & Tables

In this post, you will learn how to report correlation according to APA. Adhering to APA (American Psychological Association) guidelines is crucial when reporting correlation analysis in academic research. Whether you are conducting research in psychology, cognitive hearing science, or cognitive science, APA style is often required by journals and conferences. This post will provide

Report Correlation in APA Style using R: Text & Tables Read More »

Scroll to Top