s

Job: Part-time research assistant in experimental research

Post

Part-time research assistant position to help recruit participants and conduct an EEG experiment on language learning and multilingualism at UiT The Arctic University of Norway.

rscopus_plus: An extension of the rscopus package

Post

Extension of the rscopus R package with functions that manage search quotas, retrieve DOIs for reference managers, search for additional DOIs, compare publication counts across topics, and visualize bibliometric comparisons over time.

How to end trial after timeout in jsPsych

Post

I would like to ask for advice regarding a custom plugin for a serial reaction time task, that was created by @vekteo, and is available in Gorilla, where the code can be edited and tested. By default, trials are self-paced, but I would need them to time out after 2,000 ms. I am struggling to achieve this, and would be very grateful if someone could please advise me a bit.

A session logbook for a longitudinal study using conditional formatting in Excel

Post

An Excel workbook template with conditional formatting to facilitate planning, registration, and tracking of sessions in longitudinal studies involving multiple session conductors.

Motivating a preregistration (especially in experimental linguistics)

Post

The best argument to motivate a preregistration may be that it doesn’t take any extra time. It just requires frontloading an important portion of the work. As a reward, the paper will receive greater trust from the reviewers and the readers at large. Preregistration is not perfect, but is a lesser evil that reduces the misuse of statistical analysis in science.

Do you speak a Scandinavian language(s) and English, but no other languages? Delta i et EEG-eksperiment

Post

Recruitment announcement in Norwegian for participants who speak a Scandinavian language and English (but no other languages) to participate in a paid EEG experiment at UiT The Arctic University of Norway in Tromsø.

Learning how to use Zotero

Post

Learning Zotero requires approximately 10 hours of investment that will pay off through time savings in formatting and correcting references.

FAQs on mixed-effects models

Post

Frequently asked questions about mixed-effects models, covering the necessity of random slopes, appropriate p-value calculation methods, parallelization limitations, convergence issues, and optimizer selection.

FAIR standards for the creation of research materials, with examples

Post

In the fast-paced world of scientific research, establishing minimum standards for the creation of research materials is essential. Whether it's stimuli, custom software for data collection, or scripts for statistical analysis, the quality and transparency of these materials significantly impact the reproducibility and credibility of research. This blog post explores the importance of adhering to FAIR (Findable, Accessible, Interoperable, Reusable) principles, and offers practical examples for researchers, with a focus on the cognitive sciences.

Two-second delay after logger in OpenSesame

Post

The result shows a varying delay of around 2 seconds on average. It would be very helpful for us if we could cut down this delay, as it adds up. To try to achieve this, I reduced the number of variables logged, from the default 363 to 34 important variables. Unfortunately, this change did not result in a reduction of the delay.

Preprocessing the Norwegian Web as Corpus (NoWaC) in R

Post

An R script for preprocessing frequency list data from the Norwegian Web as Corpus (NoWaC), including instructions for downloading and preparing the corpus data.

A Python inline script for OpenSesame to send EEG triggers via serial port

Post

Python inline script for OpenSesame that sends EEG triggers via serial port for event-related potential experiments, adapting solutions from various platforms to work with serial rather than parallel ports.

How to correctly encode triggers in Python and send them to BrainVision through serial port (useful for OpenSesame and PsychoPy)

Post

I'm sending the triggers in a binary format because Python requires this. For instance, to send the trigger 1, I run the code serialport.write(b'1'). I have succeeded in sending triggers in this way. However, I encounter two problems. First, the triggers are converted in a way I cannot entirely decipher. For instance, when I run the code serialport.write(b'1'), the trigger displayed in BrainVision Recorder is S 49, not S 1 as I would hope (please see Appendix below). Second, I cannot send two triggers with the same code one after the other. For instance, if I run serialport.write(b'1'), a trigger appears in BrainVision Recorder, but if I run the same afterwards (no matter how many times), no trigger appears. I tried to solve these problems by opening the parallel port in addition to the serial port, but the problems persist.

ggplotting power curves from the simr package

Post

A custom R function to create ggplot2 visualizations of power curves generated by the simr package's powerCurve function for mixed-effects models.

How to discretise the colour variable in sjPlot::plot_model into equally-sized intervals

Post

Custom functions that extend sjPlot to discretise continuous variables in interaction plots into equally-sized intervals (deciles or sextiles) that include minimum and maximum values, with legend counts showing sample sizes per level.

How to map more informative values onto fill argument of sjPlot::plot_model

Post

Custom function that extends sjPlot to display original categorical variable values in interaction plot legends instead of transformed values, facilitating clearer communication when using sum-coded or other transformed predictors.

How to visually assess the convergence of a mixed-effects model by plotting various optimizers

Post

A custom R function to create ggplot2 visualizations of fixed effects from models refitted with multiple optimizers using lme4's allFit function, enabling visual assessment of convergence validity in mixed-effects models.

Intermixing stimuli from two loops randomly in OpenSesame

Post

Solution for randomly intermixing stimuli from two different loops in OpenSesame by distributing sentence words across columns and using conditional Run if statements to control presentation.

Simultaneously sampling from two variables in jsPsych

Post

Implementation using position indices in a for-of loop to simultaneously sample from two variables in jsPsych, enabling parallel presentation of prime and target words with synchronized trial indexing.

Table joins with conditional “fuzzy” string matching in R

Post

Implementation of fuzzy string matching in R using fuzzyjoin::stringdist_join with controlled fuzziness via max_dist argument, demonstrated with food name matching and frequency-based code selection.