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.

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

Image may be NSFW.
Clik here to view.

Mindfulness and pain: new research review hints at unique mechanism for pain...

IntroductionEven though the effectiveness of mindfulness to reduce pain has been proven in numerous empirical studies its efficacy still remain unclear. Meaning that the effectiveness of mindfulness...

View Article

Image may be NSFW.
Clik here to view.

The (Un)disputed Champion of Psychotherapy – Clinical psychologists and their...

Clinical Psychologists Theoretical Orientations 1960–2010A recent study by Norcross & Karpiak (2012) looked at survey data from members of APA Division 12 (Society of Clinical Psychology). In their...

View Article


Image may be NSFW.
Clik here to view.

An R Script to Automatically download PubMed Citation Counts By Year of...

BackgroundI believe there’s some information to be gained from looking at publication trends over time. But it’s really troublesome to do it by hand; fortunately it’s not so troublesome to do it in R...

View Article


Image may be NSFW.
Clik here to view.

Meditation, mindfulness, and executive control: results from a new EEG study

IntroductionIt's not really surprising that meditation might aid in executive control, since the act of meditation is basically an exercise in executive control. Take mindfulness, for example, I would...

View Article

Image may be NSFW.
Clik here to view.

Short R script to plot effect sizes (Cohen's d) and shade overlapping area

Update: I have created an interactive effect size visualization hereIntroduction to effect sizesMany times you read in a study that “x and y were significantly different, p< .05”, which is another...

View Article

Image may be NSFW.
Clik here to view.

Further evidence that mindfulness meditation might bolster creativity

IntroductionI recently wrote an article about if mindfulness could aid in insight problem solving. The problem with the study, I referenced to in my article, was that it did not strictly investigate...

View Article

Image may be NSFW.
Clik here to view.

More PubMed data mining: looking at top 20 CBT journals

IntroductionContinuing from what I wrote in my article An R Script to Automatically download PubMed Citation Counts By Year of Publication, I’ve now looked at article counts for journals. I did this by...

View Article


Image may be NSFW.
Clik here to view.

How to download complete XML records from PubMed and extract data

IntroductionMy first PubMed script (An R Script to Automatically download PubMed Citation Counts By Year of Publication) extracted yearly counts for any number of search strings, by using PubMed’s...

View Article

Image may be NSFW.
Clik here to view.

PubMed publications in 2011 by 202 world countries: who’s the winner?

IntroductionI had this idea that it’d be fun to look at all PubMed's articles from 2011 and extract country affiliation for each individual country. So I set out to do just that, but in addition to...

View Article


Image may be NSFW.
Clik here to view.

Effect of sample size on the accuracy of Cohen's d estimates (95 % CI)

IntroductionI've been incredibly busy the last month, amongst other things I've moved about 400 miles from Umeå, in the north of sweden, to Stockholm. However, I've been working a lot with R and...

View Article

Image may be NSFW.
Clik here to view.

The Higgs boson: 5-sigma and the concept of p-values

Today’s announcement at CERN of the latest research on the Higgs boson was truly extraordinary. Not only was the scientific achievement remarkable, but medias reporting of 5-sigma as a measure of...

View Article


Image may be NSFW.
Clik here to view.

How to tell when error bars correspond to a significant p-value

IntroductionBelia, Fidler, Williams, and Cumming (2005) found that researchers in psychology, behavior neuroscience and medicine are really bad at interpreting when error bars signify that two means...

View Article

Image may be NSFW.
Clik here to view.

Cognitive behavioral therapy outperformed psychodynamic therapy on all...

The dodo bird might be extinct in the real world but in the world of psychotherapy research it refuses to die. However, a group of German researchers recently put forward an article were they had...

View Article

Image may be NSFW.
Clik here to view.

Analytical and simulation-based power analyses for mixed-design ANOVAs

In this post I show some R-examples on how to perform power analyses for mixed-design ANOVAs. The first example is analytical — adapted from formulas used in G*Power (Faul et al., 2007), and the second...

View Article
Browsing all 108 articles
Browse latest View live