Quantcast
Channel: R Psychologist RSS feed (last 10 posts)
Browsing all 108 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Working with shapefiles, projections and world maps in ggplot

In this post I will show some different examples of how to work with map projections and how to plot the maps using ggplot. Many maps that are shown using their default projection are in the...

View Article


Image may be NSFW.
Clik here to view.

Creating a typical textbook illustration of statistical power using either...

A common way of illustrating the idea behind statistical power in null hypothesis significance testing, is by plotting the sampling distributions of the null hypothesis ($ H_0 $) and the alternative...

View Article


Image may be NSFW.
Clik here to view.

Are the Current Criteria for Empirically Supported Treatments Too Lenient?

The practice of classifying treatments as empirically supported (ESTs) has been widely debated for a long time. Recently Jessica Nasser published an article in the Journal of Contemporary Psychotherapy...

View Article

Visualizing a One-Way ANOVA using D3.js

A while ago I was playing around with the JavaScript package D3.js, and I began with this visualization—that I never really finished—of how a one-way ANOVA is calculated. I wanted to make the...

View Article

Image may be NSFW.
Clik here to view.

Calculating the Overlap of Two Normal Distributions Using Monte Carlo...

I read this post over at the blog Cartesian Faith about Probability and Monte Carlo methods. The post describe how to numerically intregate using Monte Carlo methods. I thought the results looked cool...

View Article


Image may be NSFW.
Clik here to view.

New d3.js visualization: Interpreting Cohen’s d effect size

I have created a new visualization in D3. The purpose is to aid in the interpretation of Cohen’s d. The visualization presents Cohen’s d in the following ways: Visually, Cohen’s U3, Probability of...

View Article

Image may be NSFW.
Clik here to view.

Expected overestimation of Cohen’s d under publication bias

Earlier this week I read this article about “Why Publishing Everything Is More Effective than Selective Publishing of Statistically Significant Results” by Mercal et al (2014). The authors simulated...

View Article

Image may be NSFW.
Clik here to view.

New d3.js visualization: Understanding Significance Testing and Statistical...

Here is a new visualization created in the same manner as my Cohen’s d vizualisation. This new visualization is an interactive display of classical null hypothesis significance testing and statistical...

View Article


Image may be NSFW.
Clik here to view.

Some exploratory evidence that wait-list conditions may act as a nocebo in...

The double-blinded placebo-controlled randomized trial have long been held as the gold standard in pharmacological research. Unfortunately, this design is impossible to mimic in clinical psychology....

View Article


Image may be NSFW.
Clik here to view.

New d3.js visualization: Interpreting Correlations

Here is a new visualization done in d3js. In this visualization I show a scatter plot of two variables with a given correlation. The variables are samples from the standard normal distribution, which...

View Article

Image may be NSFW.
Clik here to view.

Interpreting Confidence Intervals – new d3.js visualization

I just published a new interactive visualization in my series of basic statistical concepts and techniques. This time I have tried to explain confidence intervals for means. This visualization shows a...

View Article

Image may be NSFW.
Clik here to view.

Visualization the distribution of p-values using d3.js

I just published a new interactive visualization in my series of basic statistical concepts and techniques. This time I am trying to show how p-values are distributed. Check it out here:...

View Article

Image may be NSFW.
Clik here to view.

Using R and lme/lmer to fit different two- and three-level longitudinal models

I often get asked how to fit different multilevel models (or individual growth models, hierarchical linear models or linear mixed-models, etc.) in R. In this guide I have compiled some of the more...

View Article


Image may be NSFW.
Clik here to view.

New d3.js visualization: the t-distribution and its normal approximation

I just published a new interactive visualization in my series of basic statistical concepts and techniques. This time I am trying to show how the t-distribution and the normal distribution differs, and...

View Article

Image may be NSFW.
Clik here to view.

Monty Hall Simulations

The Monty Hall ProblemThere've been many simulations of the Monty Hall-problem done in R. But since I'm trying to learn R, I wanted to try to simulate the paradox over many different trails and plot...

View Article


Image may be NSFW.
Clik here to view.

Using Ggplot2 to plot last.fm top 100 albums

I found out that last.fm had made data files available for their Best of 2011 artist list, and I thought it’d be a great opportunity to learn some more about data management in R and Ggplot2. I began...

View Article

Image may be NSFW.
Clik here to view.

Ggplot2, PubMed citation frequency and DSM-IV Axis I disorders by year

IntroductionI an earlier post I used ggplot2 to plot publication count by year for different psychotherapy orientations. I'm using an updated version of that R-code in this post to plot publication...

View Article


Image may be NSFW.
Clik here to view.

Simple data mining and plotting data on a map with ggplot2

IntroductionA Facebook group for psychologists in Sweden created a document where each member could type in were they live and what they work with. At the moment 192 psychologists have added their...

View Article

Image may be NSFW.
Clik here to view.

Does mindfulness aid insight problem solving? New study suggest so

A new study (Ostafin, B. D., & Kassman, K. T, In Press) examined whether mindfulness meditation could help improve participants' insight problem solving skills. Their hypothesis was that...

View Article

Image may be NSFW.
Clik here to view.

How to work with Google n-gram data sets in R using MySQL

IntroductionGoogle Ngram is a corpus of n-grams compiled from data from Google Books. Here I’m going to show how to analyze individual word counts from Google 1-grams in R using MySQL. I’ve also...

View Article
Browsing all 108 articles
Browse latest View live