Blog Archives

afex_plot(): Publication-Ready Plots for Factorial Designs

September 25, 2018
By
afex_plot(): Publication-Ready Plots for Factorial Designs

I am happy to announce that a new version of afex (version 0.22-1) has appeared on CRAN. This version comes with two major changes, for more see the NEWS file. To get the new version including all packages used in the examples run: install.packages("afex", dependencies = TRUE) First, afex does not load or attach package

Read more »

Diffusion/Wiener Model Analysis with brms – Part III: Hypothesis Tests of Parameter Estimates

September 6, 2018
By
Diffusion/Wiener Model Analysis with brms – Part III: Hypothesis Tests of Parameter Estimates

This is the third part of my blog series on fitting the 4-parameter Wiener model with brms. The first part discussed how to set up the data and model. The second part was concerned with (mostly graphical) model diagnostics and the assessment of the adequacy (i.e., the fit) of the model. This third part will

Read more »

Diffusion/Wiener Model Analysis with brms – Part II: Model Diagnostics and Model Fit

January 7, 2018
By
Diffusion/Wiener Model Analysis with brms – Part II: Model Diagnostics and Model Fit

This is the considerably belated second part of my blog series on fitting diffusion models (or better, the 4-parameter Wiener model) with brms. The first part discusses how to set up the data and model. This second part is concerned with perhaps the most important steps in each model based data analysis, model diagnostics and

Read more »

Diffusion/Wiener Model Analysis with brms – Part I: Introduction and Estimation

November 26, 2017
By
Diffusion/Wiener Model Analysis with brms – Part I: Introduction and Estimation

Stan is probably the most interesting development in computational statistics in the last few years, at least for me. The version of Hamiltonian Monte-Carlo (HMC) implemented in Stan (NUTS, ) is extremely efficient and the range of probability distributions implemented in the Stan language allows to fit an extremely wide range of models. Stan has

Read more »

ANOVA in R: afex may be the solution you are looking for

June 5, 2017
By
ANOVA in R: afex may be the solution you are looking for

Prelude: When you start with R and try to estimate a standard ANOVA , which is relatively simple in commercial software like SPSS, R kind of sucks. Especially for unbalanced designs or designs with repeated-measures replicating the results from such software in base R may require considerable effort. For a newcomer (and even an old

Read more »

Mixed models for ANOVA designs with one observation per unit of observation and cell of the design

May 29, 2017
By
Mixed models for ANOVA designs with one observation per unit of observation and cell of the design

Together with David Kellen I am currently working on an introductory chapter to mixed models for a book edited by Dan Spieler and Eric Schumacher (the current version can be found here). The goal is to provide a theoretical and practical introduction that is targeted mainly at experimental psychologists, neuroscientists, and others working with experimental

Read more »

rtdists 0.7-2: response time distributions now with Rcpp and faster

May 26, 2017
By
rtdists 0.7-2: response time distributions now with Rcpp and faster

It took us quite a while but we have finally released a new version of rtdists to CRAN which provides a few significant improvements. As a reminder, rtdists rovides response time distributions (density/PDF, distribution function/CDF, quantile function, and random generation): (a) Ratcliff diffusion model based on C code by Andreas and Jochen Voss and (b)

Read more »

New Version of rtdists on CRAN (v. 0.4-9): Accumulator Models for Response Time Distributions

April 3, 2016
By
New Version of rtdists on CRAN (v. 0.4-9): Accumulator Models for Response Time Distributions

I have just submitted a new version of rtdists to CRAN (v. 0.4-9). As I haven’t mentioned rtdists on here yet, let me simply copy it’s description as a short introduction, a longer introduction follows below: Provides response time distributions (density/PDF, distribution function/CDF, quantile function, and random generation): (a) Ratcliff diffusion model based on C

Read more »

Hierarchical MPT in Stan I: Dealing with Convergent Transitions via Control Arguments

March 5, 2016
By
Hierarchical MPT in Stan I: Dealing with Convergent Transitions via Control Arguments

I have recently restarted working with Stan and unfortunately ran into the problem that my (hierarchical) Bayesian models often produced divergent transitions. And when this happens, the warning basically only suggests to increase adapt_delta: Warning messages: 1: There were X divergent transitions after warmup. Increasing adapt_delta above 0.8 may help. 2: Examine the pairs() plot

Read more »

Installing R-devel on Linux (Ubuntu/Mint)

October 24, 2015
By

This post has been updated: 1. March 2018: Removed `bash ./tools/rsync-recommended` and  `bash ./tools/link-recommended`. They should not be needed anymore. 15. November 2017: Removed installing of recommended packages from build script. Those packages are now simply installed in the local library path which is also added to the `LIB_SITE`. This also allows that checked packages

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)