Publications by FelixS

R-package: Wilcox’ Robust Statistics updated (WRS v0.20)

08.01.2013

Rand Wilcox constantly updates the functions accompanying his books on robust statistics. Recently, they have been updated to version 20. The functions are available in the WRS package for R – for installation simply type install.packages("WRS", repos="http://R-Forge.R-project.org") In version 0.20, a number of functions dealing with ANCOVA hav...

1515 sym

Optimizing parameters for an oscillator – Video

10.01.2013

Here’s a video how the modFit function from the FME package optimizes parameters for an oscillation. A Nelder-Mead-optimizer (R function optim) finds the best fitting parameters for an undampened oscillator. Minimum was found after 72 iterations, true parameter eta was -.05: Evolution of parameters in optimization process from Felix Schönbrod...

1497 sym

Improved evolution of correlations

21.01.2013

Update June 2013: A systematic analysis of the topic has been published:Schönbrodt, F. D., & Perugini, M. (2013). At what sample size do correlations stabilize? Journal of Research in Personality, 47, 609-612. doi:10.1016/j.jrp.2013.05.009 Check also the supplementary website, where you can find the PDF of the paper. As an update of this post: h...

2367 sym R (842 sym/1 pcs) 1 tbl

Installation of WRS package (Wilcox’ Robust Statistics)

22.04.2013

Some users had trouble installing the WRS package from R-Forge. Here’s a method that should work automatically and fail-safe: ?View Code RSPLUS# first: install dependent packages install.packages(c("MASS", "akima", "robustbase")) # second: install suggested packages install.packages(c("cobs", "robust", "mgcv", "scatterplot3d", "quantreg", "rrc...

756 sym R (376 sym/1 pcs) 1 tbl

At what sample size do correlations stabilize?

06.06.2013

Maybe you have encountered this situation: you run a large-scale study over the internet, and out of curiosity, you frequently check the correlation between two variables. My experience with this practice is usually frustrating, as in small sample sizes (and we will see what “small” means in this context) correlations go up and down, change ...

5230 sym 6 img

Finally! Tracking CRAN packages downloads

11.06.2013

[Update June 12: Data.tables functions have been improved (thanks to a comment by Matthew Dowle); for a similar approach see also Tal Galili’s post] The guys from RStudio now provide CRAN download logs (see also this blog post). Great work! I always asked myself, how many people actually download my packages. Now I finally can get an answer (�...

1798 sym R (2689 sym/3 pcs) 6 img 3 tbl

Exploring the robustness of Bayes Factors: A convenient plotting function

23.08.2013

One critique frequently heard about Bayesian statistics is the subjectivity of the assumed prior distribution. If one is cherry-picking a prior, of course the posterior can be tweaked, especially when only few data points are at hand. For example, see the Scholarpedia article on Bayesian statistics: In the uncommon situation that the data are ext...

6954 sym 4 img

New robust statistical functions in WRS package – Guest post by Rand Wilcox

16.09.2013

Today a new version (0.23.1) of the WRS package (Wilcox’ Robust Statistics) has been released. This package is the companion to his rather exhaustive book on robust statistics, “Introduction to Robust Estimation and Hypothesis Testing” (Amazon Link de/us). For a fail-safe installation of the package, follow this instruction. As a guest pos...

9701 sym 2 img

A short taxonomy of Bayes factors

21.01.2014

I am starting to familiarize myself with Bayesian statistics. In this post I’ll show some insights I had concerning Bayes factors (BF). What are Bayes factors? Bayes factors provide a numerical value that quantifies how well a hypothesis predicts the empirical data relative to a competing hypothesis. For example, if the BF is 4, this indicates:...

5276 sym 4 img

Interactive exploration of a prior’s impact

21.02.2014

The probably most frequent criticism of Bayesian statistics sounds something like “It’s all subjective – with the ‘right’ prior, you can get any result you want.”. In order to approach this criticism it has been suggested to do a sensitivity analysis (or robustness analysis), that demonstrates how the choice of priors affects the conc...

4313 sym 2 img