# Articles by Richard Morey

### Numerical pitfalls in computing variance

May 3, 2016 |

One of the most common tasks in statistical computing is computation of sample variance. This would seem to be straightforward; there are a number of algebraically equivalent ways of representing the sum of squares $$S$$, such as $S = \sum_{k=1}^n ( x_k - \bar{x})^2$ or \[ S = \sum_{k=1}^... [Read more...]

### Numerical pitfalls in computing variance

May 3, 2016 |

One of the most common tasks in statistical computing is computation of sample variance. This would seem to be straightforward; there are a number of algebraically equivalent ways of representing the sum of squares (S), such as [ S = sum_{k=1}^n ( x_k - bar{x})^2 ] or [ S = sum_{k=1}^... [Read more...]

### How to check Likert scale summaries for plausibility

March 30, 2016 |

Suppose you are reading a paper that uses Likert scale responses. The paper reports the mean, standard deviation, and number of responses. If we are -- for some reason -- suspicious of a paper, we might ask, "Are these summary statistics possible for this number of responses, for this Likert ... [Read more...]

### How to check Likert scale summaries for plausibility

March 30, 2016 |

Suppose you are reading a paper that uses Likert scale responses. The paper reports the mean, standard deviation, and number of responses. If we are -- for some reason -- suspicious of a paper, we might ask, "Are these summary statistics possible for t... [Read more...]

### BayesFactor version 0.9.12-2 released to CRAN

September 24, 2015 |

I've released BayesFactor 0.9.12-2 to CRAN; it should be available on all platforms now. The changes include:Added feature allowing fine-tuning of priors on a per-effect basis: see new argument rscaleEffects of lmBF, anovaBF, and generalTestBFFixed bug... [Read more...]

### BayesFactor version 0.9.12-2 released to CRAN

September 24, 2015 |

I've released BayesFactor 0.9.12-2 to CRAN; it should be available on all platforms now. The changes include:Added feature allowing fine-tuning of priors on a per-effect basis: see new argument rscaleEffects of lmBF, anovaBF, and generalTestBFFixed bug... [Read more...]

August 10, 2015 |

One of my papers that has attracted a lot of attention lately is "The Fallacy of Placing Confidence in Confidence Intervals," in which we describe some of the fallacies held by the proponents and users of confidence intervals. This paper has been discussed on twitter, reddit, on blogs (eg, here ... [Read more...]

August 10, 2015 |

One of my papers that has attracted a lot of attention lately is "The Fallacy of Placing Confidence in Confidence Intervals," in which we describe some of the fallacies held by the proponents and users of confidence intervals. This paper has been discussed on twitter, reddit, on blogs (eg, here ... [Read more...]

### BayesFactor updated to version 0.9.11-1

March 23, 2015 |

The BayesFactor package has been updated to version 0.9.11-1. The changes are:  CHANGES IN BayesFactor VERSION 0.9.11-1CHANGES  * Fixed memory bug causing importance sampling to fail.  CHANGES IN BayesFactor VERSION 0.9.11CHANGES  *... [Read more...]

### The frequentist case against the significance test, part 2

March 9, 2015 |

The significance test is perhaps the most used statistical procedure in the world, though has never been without its detractors. This is the second of two posts exploring Neyman's frequentist arguments against the significance test; if you have not read Part 1, you should do so before continuing (“The frequentist case ... [Read more...]

### How to shoot yourself in the foot with various statistical philosophies

March 6, 2015 |

I've long been a fan of "How to shoot yourself in the foot" jokes. Having shot myself in the foot with different programming languages -- particularly with C -- I was thinking about how one might shoot oneself in the foot with various statistical ... [Read more...]

### At the APS Observer: a profile of JASP

March 2, 2015 |

The APS Observer has just published a profile of JASP, a graphical user interface designed to make statistics easier. It includes Bayesian procedures by means of the R and the BayesFactor package. From the article: JASP distinguishes itself from S... [Read more...]

### BayesFactorExtras: a sneak preview

February 10, 2015 |

Felix Schönbrodt and I have been working on an R package called BayesFactorExtras. This package is designed to work with the BayesFactor package, providing features beyond the core BayesFactor functionality. Currently in the package are:Sequential Bayes factor plots for visualization of how the Bayes factor changes as data ... [Read more...]

### On making a Bayesian omelet

February 7, 2015 |

My colleagues Eric-Jan Wagenmakers and Jeff Rouder and I have a new manuscript in which we respond to Hoijtink, van Kooten, and Hulsker's in press manuscript Why Bayesian Psychologists Should Change the Way they Use the Bayes Factor. They suggest a method for "calibrating" Bayes factor using error rates. We ... [Read more...]

### BayesFactor version 0.9.10 released to CRAN

February 3, 2015 |

If you're running Solaris (yes, all zero of you) you'll have to wait for version 0.9.10-1, due to a small issue preventing the Solaris package from building on CRAN. The rest of you can pick up the updated version on CRAN today.See below the fold for c... [Read more...]

### Multiple Comparisons with BayesFactor, Part 1

January 17, 2015 |

On of the most frequently asked questions about the BayesFactor package is how to do multiple comparisons; that is, given that some effect exists across factor levels or means, how can we test whether two specific effects are unequal. In the next two posts, I'll explain how this can be ... [Read more...]

### New BayesFactor version 0.9.9 released to CRAN

October 22, 2014 |

Today I submitted a new release of BayesFactor, version 0.9.9, to CRAN. Among the new features are support for contingency table analyses, via the function contingencyTableBF, and analysis of a single proportion, via the function proportionBF. Other fe... [Read more...]

### Embedding RData files in Rmarkdown files for more reproducible analyses

September 12, 2014 |

For those of us interested in reproducible analysis, Rmarkdown is a great way of communicating our code to other researchers. Rstudio, in particular, makes it very easy to create attractive HTML document containing text, code, and figures, which can then be sent to colleagues or put on the internet for ... [Read more...]

### BayesFactor version 0.9.8 released to CRAN

August 31, 2014 |

BayesFactor version 0.9.8 has been released on CRAN! This is a both a bug fix and feature update. From the NEWS: Fixed bugs in model enumeration code Fixed bug leading to wrong computation of number of covariate when interactions between cont... [Read more...]

### BayesFactor update: 0.9.7.

February 24, 2014 |

BayesFactor version 0.9.7 has been released to CRAN. It does have a few bug fixes, so update soon. A list of changes can be found in the NEWS file. [Read more...]
1 2