A book: on Bayes’ theorem 2011/08/02Posted by Alex in : Uncategorized , 2 comments
Considering the widespread effectiveness of Bayesian inference in physics and astronomy, genetics, imaging and robotics, Internet communication, finance and commerce, it is surprising that it has remained controversial for so long… McGrayne explains [users'] reticence [to admit to using Bayes] in her impressively researched history of Bayes’ theorem, The Theory That Would Not Die. The statistical method runs counter to the conviction that science requires objectivity and precision, she writes. Bayes’ theorem “is a measure of belief. And it says that we can learn even from missing and inadequate data, from approximations, and from ignorance.”
The reviews on Amazon are mixed, and venom seems present in some of them…
Thanks to Román for the good find!
RStudio 2011/04/25Posted by Leontine Alkema in : Uncategorized , 6 comments
RStudio is add-on software for R that gives it an improved (more user-friendly) interface and some very useful additional features (e.g. color coding of code, options to manipulate graphs with the Manipulate package), definitely worth trying out for anyone relatively new to R as well as routine users!
More info here:
Don’t bully the cat… 2011/04/10Posted by Adrian in : Uncategorized , 2 comments
Saw this today. Now I know where we can get guinea pigs for our next study…
p-values 2011/04/09Posted by Leontine Alkema in : Uncategorized , 13 comments
Class of 2011 2011/04/07Posted by Alex in : Uncategorized , 3 comments
It’s farewell to another cohort of graduands. The statistics committee organised a group photograph—out under the blazing tropical sun. What were they thinking? Here are the photos, courtesy of Hu Fan.
Fare ye well and haste ye back, graduands!
An easy way to publish mathematical research 2011/02/09Posted by Alex in : Uncategorized , 3 comments
- Step 1: send your paper to the Journal of Universal Rejection
- Step 2: send your paper to Rejecta Mathematica: caveat emptor
Unfortunately, although JUR guarantees rejection of your paper, RMce doesn’t guarantee acceptance of all previously rejected articles. But I bet the odds are good!
A “penalty for peeking” 2011/01/05Posted by Alex in : Uncategorized , 11 comments
(Nothing lewd follows.)
Just stumbled upon a fascinating short article by Rothman (1990) in the first volume of Epidemiology 1:43–6. The title of the paper says it all: no adjustments are needed for multiple comparisons. An exerpt from the end:
Suppose the drug C differs considerably in its effect from drug B. Will this difference be less worthy of attention when, sometime in the future, information on drug D comes along as part of the same research programme? Should an investigator estimate on the first day of data analysis how many contrasts ultimately will come along before making adjustments for multiple comparisons? Where do the boundaries of a specific study lie…?
What I’ve taken to doing when I have multiple nil hypothesis significance tests to perform is to write in the figure/table caption or methods the expected number of spurious positive findings conditional on the incredibly pessimistic premise that all nil hypotheses really are true (which is probably impossible for observational studies). Maybe I should cease even this?
This paper should be compulsory reading for everyone interested in statistics (and able to meet the prerequisites).
A super makefile for LaTeX 2010/12/29Posted by Alex in : Uncategorized , add a comment
Chris Monson’s makefile is the best makefile I’ve ever used for LaTeX (the blog software won’t allow me to upload it citing “security concerns”—it’s a plain text file!). It’s just so easy. Check out the webpage describing why.
Of course, it really will only be useful to non-windows LaTeX users.Uncategorized , 1 comment so far
It’s actually quite an interesting study, but methinks the reviewers perhaps went easy on the eight year olds. There are more than two figures (expressly forbidden by the journal), spelling doesn’t seem to abide by the OED (e.g. “duh duh duuuuhhh”: duh is in, but not duuuuhhh), the introduction starts with “Once upon a time” despite there being no historical aspect to the work, and one author appears to be made up (a certain “P S Blackawton” whose affiliation is Blackawton Primary School). It reminds me of those letters to national newspapers by “Bobby, 7″ and his friends.
The article has attracted quite a bit of attention in the press. More so than any of mine, so perhaps my words are tinged with jealousy…
A warning about arima() in R 2010/12/22Posted by Alex in : Uncategorized , add a comment
Just spent a bit of time trying to work out why arima() and lm() were giving different estimates on some dengue data, and on solving the problem, thought I’d share what I found via simulated data.
set.seed(666) #for luck
n=10000 #large sample size
y=c(1,2,3,4) #initial values
for(i in 5:n)
Calling arima() gives the following coefficients:
- ar1 0.29 [should be 0.3, ok]
- ar2 0.19 [should be 0.2, ok]
- ar3 0.09 [should be 0.1, ok]
- ar4 -0.09 [should be -0.1, ok]
- intercept 1.0 [should be 0.5, wrong!]
while lm() gives
- ar1 0.29
- ar2 0.19
- ar3 0.09
- ar4 -0.09
- intercept 0.53 [ok!]
An explanation can be found via the website of Shumway and Stoffer: what R provides in arima() is the mean of the stationary distribution, not the “intercept” that you’d expect having learned basic regression. I wonder how many people have been caught out by this?
PS Just noticed in the original version I wrote anova in place of arima. Doh!